2011/3/18 Jan Ka <[email protected]>:
> hello everyone,
> i have a little project which is all about rendering a map of berlin in my 
> own custom-style. i am using a python script that directs to an xml-style 
> sheet thus rendering a png image of my desired section. my data base is the 
> berlin.osm file from geofabrik.de
>
> i understand that the order in which mapnik renders different layers is 
> crucial and formatted my stylesheet accordingly. now i encountered a problem 
> that i just cannot solve.
>
> on a little island in the following link there is an area with landuse = 
> residential. i would show it by rendering the islet after the water around it 
> and the residential area above that.
>
> http://www.openstreetmap.org/?lat=52.56664&lon=13.2531&zoom=16&layers=M


there is a mapping error: the island is mapped as inner part of a
multipolygon where the river is outer, which is correct. But then you
declare the whole island as forest, and have the landuse=residential
overlapping this forest. IMHO you should create another relation for
the island itself, where the forest-tag is in the multipolygon
relation, and the residential on the inner way.

The main OSM mapnik server is using a database (postgres) for
rendering. This allows to calculate the area sizes and render from big
to small, so the problem indicated is not visible (although the
mapping is not correct, it still renders like it should).

cheers,
Martin
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to