This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Conditional restrictions for accessing specific streets based on odd-even weekdays and car’s license plate numbers.

6
1

We have an odd-even scheme for reducing air pollution in Iran. Based on this traffic plan, there is a restriction for accessing certain street based on car's plate numbers. For example only cars which their last digit is Even (0,2,4,6,8) can enter street "X" only on Even days of the week (Saturdays, Mondays, Wednesdays). How can I add this Conditional Restriction on OSM maps?

asked 09 Jul '16, 12:05

Adib%20Yz's gravatar image

Adib Yz
291101219
accept rate: 0%

edited 10 Jul '16, 09:02

Do you have any success?

(19 Mar '18, 14:14) cybercoder

One Answer:

0

There is nothing stopping anybody from defining an license plate number based access value (which then in turn can be used in a conditional restriction).

But anybody doing so will have to drum up support for it in the current routing applications (I believe OsmAnd partially supports conditional restrictions, so they would be a good start).

answered 20 Mar '18, 13:06

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Source code available on GitHub .