[OSM-talk] Boundary rendering bug
Daniel Sabo
danielsabo at gmail.com
Thu Feb 10 02:08:31 GMT 2011
It's not really a bug, if you have the following setup:
Member way:
boundary = administrative
Relation:
boundary = administrative
admin_level = 6
What you're telling mapnik is that there are two boundaries, one is admin_level 6, the other is admin_level undefined. The admin 6 one will render at z11 or closer, the undefined one renders at z9 to z11.
To map the boundary as a relation you should have:
Member way:
no boundary tags (that includes the boundary name)
Relation:
boundary = administrative
admin_level = 6
name = Something
Boundary relations are just specialized multipolygons once they reach the renderer so all the rules here apply: http://wiki.openstreetmap.org/wiki/Relation:multipolygon#Usage
- Daniel
On Feb 9, 2011, at 11:27 AM, Toby Murray wrote:
> Well like I said, leaving the admin_level=6 on the ways is indeed
> tagging for the renderer. However isn't there still a mapnik bug here
> no matter how you look at it? Shouldn't an admin_level=6 boundary be
> rendered at the same zoom level whether it is mapped as a relation or
> as a way?
>
> Toby
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
More information about the talk
mailing list