It is illegal to park:

There are a number of locations where it is illegal for drivers to park their vehicles. Drivers may not park within 15 feet of a fire hydrant or within 50 feet of a railroad crossing.