[OSM-talk] Nested areas

Martijn van Oosterhout kleptog at gmail.com
Thu Jun 5 17:24:13 BST 2008


On Thu, Jun 5, 2008 at 2:07 PM, Dave Stubbs <osm.list at randomjunk.co.uk> wrote:
> Layer tags on areas are pure evil. The layer tag is there to indicate
> vertical separation, not to give a handy z-order hint to the renderer.
> So unless you do genuinely have two areas which are physically
> suspended one on top of the other then please don't add layer tags!
> Thankfully the mapnik maps will just ignore them.

Not entirely. On the NL list we had a building overlapping a water
area and mapnik was drawing them in the wrong order. Due to the
shapes, the building covered more area. Perhaps longterm we should
change the styles to always draw buildings over waterways, but for now
a layer tags fixes it nicely.

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the talk mailing list