On 27/06/15 10:40, Ture Pålsson wrote: > I recently taught my rendering hack about the ’layer’ tag, and > immediately encountered a set of new problems. For example, consider > this ditch: http://www.openstreetmap.org/way/243331898 . It has > layer=-1, probably to indicate that is passes under the road which it > crosses. However, it is entirely covered by a landuse=farmland with no > layer tag, which I take to mean an implicit layer=0. This means that > my renderer now renders the farmland over the ditch, completely hiding > the latter. Meanwhile, Mapnik obviously does what the tagger intended. > > Is this a tagging error, that I should fix by editing the data, or is > it something that my renderer should be able to cope with? > This is not a tagging error. You should have different sets of layers for different things. Usually areas are in a lower set of layers than lines, meaning that all areas are rendered below lines. This makes tunnels visible below a forest and similar things. And also your example is covered by this.
Michael
_______________________________________________ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk