Chesterton is applying for a federal grant that would pay for significant safety upgrades at two downtown railroad crossings.