[OSM-talk] Mulltipolygons and Mapnik
Jon Burgess
jburgess777 at googlemail.com
Sat May 31 20:26:53 BST 2008
On Sat, 2008-05-31 at 20:08 +0200, Cartinus wrote:
> I forgot to mention:
>
> A hole filled with something else IOW different tags on the outer and inner
> polygons only works in T at H/Osmarender
>
> http://tile.openstreetmap.nl/?zoom=17&lat=52.06243&lon=5.10283&layers=000000BF
> http://tile.openstreetmap.nl/?zoom=17&lat=52.06243&lon=5.10283&layers=00000B0F
> http://tile.openstreetmap.nl/?zoom=17&lat=52.06243&lon=5.10283&layers=B000000F
I'm not certain which polygons you are talking about here. If you are
talking about the ones to the NW, then those look like they are marked
with area=yes. Support for area=yes was only recently added to the
osm2pgsql code and the rendering styles have not been implemented yet.
Mapnik will render inner areas with different tags. It uses the area of
the polygons to figure out the render ordering. Smaller areas always
render on top of larger areas of the same layer. If the layer tags
differ then this will take precedence.
Jon
More information about the talk
mailing list