[OSM-talk] Indiscrimate layering

OJ W ojwlists at googlemail.com
Sun Dec 21 12:16:55 GMT 2008

Doesn't layer=-1 mean that something should be 'below' the landuse
polygons when rendering?  So if you have a river at level=-1 on a
landuse=farm, then you will never see the river because it's under the
(default layer=0) ground.

In fact, I'm surprised the robot didn't automatically add a tunnel=yes
to the rivers that were tagged layer=-1...  (which would probably be
valid for those cases where a stream just goes through a pipe to get
under the road - that could hardly be described as 'a bridge')

On Sat, Dec 20, 2008 at 8:32 PM, "Marc Schütz" <schuetzm at gmx.net> wrote:
>> I also tag many waterways around here as layer=-1, because that's what
>> they
>> are... thank god they aren't layer=0 or the place would be under water!
> I know that many people assume that layer=0 means ground level, but this assumption is unnecessary. Indeed, the wiki (AFAICS) doesn't state it either, merely that data consumers should assume layer=0 if no layer tag is present.
> This of course also means it's perfectly okay to tag a river with layer=-1, so as to not require a layer tag on bridges.
> Regarding the claim about layer on bridges being tagging for the renderer:
> I disagree. The layer tag is a "workaround" for deficiencies in our data model (which only provides for two dimensions), the same way as area=yes is a workaround for there not being a polygon primitive. And being redundant (i.e. derivable from another tag, which it unquestionably is in many cases) does not make it tagging for the renderer. Contrarily it keeps the information of vertical order in one tag instead of spreading it over several (layer, bridge, tunnel, power=line etc.) And noone would call highway=track tagging for the renderer because it is redundant if there already is a tracktype=grade2.
> Regards, Marc
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk

More information about the talk mailing list