State codes may include provisions that allow local authorities to prohibit pedestrian crossing at locations outside crosswalks, but since municipal pedestrian ordinances are often not well known to drivers or pedestrians and can vary from place to place in a metropolitan area that contains many municipalities, obtaining compliance with local prohibitions of pedestrian crossings much more restrictive than statewide pedestrian regulations can be difficult.