<div dir="ltr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Forget routing in caves. There's no GPS. And those who get lost without routing apps will get lost in a cave anyway.<br>
</blockquote>
+1<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-14 12:32 GMT-03:00 Friedrich Volkmann <span dir="ltr"><<a href="mailto:bsd@volki.at" target="_blank">bsd@volki.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 14.08.2014 13:18, Dan S wrote:<br>
<br>
>>> I think that it is an obvious idea, but wiki claimed that "At the moment<br>
>>> there just a<br>
>>> tag to map the entrance to a cave." despite fact that existing tags fit well.<br>
>><br>
>> No, they do not fit. Caves are complex three-dimenional structures. In most<br>
>> caves there are no paths. You go or climb or rope down whereever you feel like.<br>
><br>
> This is the same as with a pedestrian square - there's no specific<br>
> route in the square and you go wherever you feel. However it's useful<br>
> to make them part of the OSM database, both for showing their<br>
> existence and to help with various routing applications.<br>
<br>
</div>Pedestrian squares are 2-dimensional. Caves are 3-dimensional. Many cave<br>
rooms overlap themselves a couple of times in the z-axis.<br>
<br>
Forget routing in caves. There's no GPS. And those who get lost without<br>
routing apps will get lost in a cave anyway.<br>
<div class=""><br>
> I'm afraid layer=-1 does not express that a feature is underground. It<br>
> expresses that a feature is lower than all features at layer=0+, but<br>
> there's no guaranteed relationship with ground level.<br>
<br>
</div>In central Europe it is, but habits may vary around the word. Much chaos<br>
these days...<br>
<br>
In my opinion, there is some misconception by people who are used to image<br>
editing software such as Photoshop, Adobe illustrator, Gimp, Corel Draw,<br>
Inkscape, etc., as well as CAD software. In all of these applications,<br>
layers stand for rendering order. In OSM we need to think in physical layers.<br>
<br>
Caves are just an example. There are many more underground objects which are<br>
not tunnels. E.g. I used to go to school over a landfill for 8 years without<br>
knowing, because it was covered with soil and grass. The only way for<br>
renderers to know is by eveluating the layer tag. Of course you could set<br>
some additional tag like underground=yes, but having two concurrent tags for<br>
the same thing is just a mess. You'll soon get a lot of inconsistencies.<br>
<div class=""><br>
> There are quite<br>
> a few objects with the implicit layer=0 but which are not at ground<br>
> level (e.g. tunnel=culvert items: <<a href="http://overpass-turbo.eu/s/4zE" target="_blank">http://overpass-turbo.eu/s/4zE</a>>).<br>
<br>
</div>Therefore we need to tag them all with layer<0. There was a proposal for<br>
implicit default layer=1 for bridges and -1 for tunnels, but unfortunately<br>
it was voted down, so we are damned to set it manually every time.<br>
<div class="im HOEnZb"><br>
--<br>
Friedrich K. Volkmann <a href="http://www.volki.at/" target="_blank">http://www.volki.at/</a><br>
Adr.: Davidgasse 76-80/14/10, 1100 Wien, Austria<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Tagging mailing list<br>
<a href="mailto:Tagging@openstreetmap.org">Tagging@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/tagging" target="_blank">https://lists.openstreetmap.org/listinfo/tagging</a><br>
</div></div></blockquote></div><br></div>