[OSM-talk] How to tag lanes, not ways, was: Deprecating the use of Tag:highway=stop in favour of Key:stop

John Smith deltafoxtrot256 at gmail.com
Sat Aug 29 11:51:23 BST 2009


I've had some more time to think about this, things should stay more
or less how they are now, the only extension OSM DB wise would be an
additional table storing lane information for ways.

Also the existing API would only need a small extension to cope with
this as well.

<way id=....>
<nd ref=.../>
<tag .../>
<tag .../>
<lane id=... direction=forward from-outside=2>
<nd ref=...>
<tag k='maxspeed' v='110' />
</lane>
<lane id=.... direction=backward from-outside=1>
<nd ref=....>
<tag k='maxspeed' v='130' />
</lane>
</way>

This way nodes can apply to a way or just a specific lane, the same
with tags, at least from an infrastructure point of view, all it needs
then is editors to support it as well and renderers and so on.

I'm not saying this is the best answer to the problem, but it's the
best one I've been able to come up with so far.




More information about the talk mailing list