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

Add variable pricing to toll booth

1

I would like to add variable pricing, where my source would be Malaysia Highway Authority. Is it possible to add fee:car=2.10 on top of fee=yes? Furthermore, is this the standard way of adding toll booth amount data?

asked 26 Nov '17, 05:46

MotionLogistics's gravatar image

MotionLogistics
26113
accept rate: 0%


One Answer:

1

fee is only used to tag if (fee=yes, fee=no) and when (fee=<interval>) there is a charge. The charge amount is specified via the charge key.

These tages aren't widely in use so there is no "standard way" currently. You can check taginfo for typical values of the charge key. You can see that many of them are just plain text values which cannot be parsed by a machine. Taginfo can also show similar keys which reveals that some people also started to use charge:motorcar, charge:bus to tag fees for specific types of transportation.

answered 30 Nov '17, 08:32

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Source code available on GitHub .