Efficiently adding direction=* to highway=give_way/stop
Posted by species on 20 October 2015 in English. Last updated on 25 October 2015.I recently stumbled upon the https://wiki.openstreetmap.org/wiki/Tag:direction=forward/backward key. It can be used to denote from which side a https://wiki.openstreetmap.org/wiki/Tag:highway=give_way or stop is valid. Without that tag, a router would add a penalty also when crossing from the ‘wrong’ side, which would lead to wrongly calculated travel times.
As we have a lot of give_way- and stop-signs mapped in Graz (~1500), I was looking for an efficient way to add the direction=* info on it.
For adding “direction”, you need to know the direction of the underlying way. In the default JOSM map style this is only visible if you click on it. I was looking for a style that shows the way direction on default. I found none, so I wrote one. It is now available in JOSM via Settings → Map Paint Styles.
