[Tagging] Tunnels and bridges
Martin Vonwald (imagic)
imagic.osm at gmail.com
Fri Feb 1 14:11:27 GMT 2013
Am 01.02.2013 um 15:01 schrieb Janko Mihelić <janjko at gmail.com>:
> I think that's harder than you think. What if you have the next example:
> How does the renderer preprocesor know if the middle line is inside the bridge area? It has to make some difficult calculations for that. And the blue line is outside, although it shares two nodes with the bridge. (I know it would rarely happen, but it will happen.)
If I'm not mistaken it could work like this:
If a way with bridge=yes is connected to a way with man_made=bridge follow the way with bridge=yes and all connected ways until you reach a way without bridge=yes. All those ways belong to the bridge marked with man_made=bridge.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tagging