Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Mapnik doesn´t render hole in multipolygon forests #1113

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Mapnik doesn´t render hole in multipolygon forests #1113

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: vrabcak
[Submitted to the original trac issue database at 11.06am, Wednesday, 13th August 2008]

Compare mapnik and osmarender view at following link:
http://www.openstreetmap.org/?lat=49.6852&lon=16.0083&zoom=14&layers=B00FTF

It is obvious that Mapnik doesnt render hole in multipolygon forest. The same problem is also in other areas with multipolygon relations on forests.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 3.06pm, Wednesday, 13th August 2008]

There is a substantial difference of opinion on the correct was to use a multipolygon relation which may be partly to blame here. Jon is the expert, so I'll push this over to him.

@openstreetmap-trac
Copy link
Author

Author: vrabcak
[Added to the original trac issue at 3.11pm, Wednesday, 13th August 2008]

Replying to [comment:1 tom[at]compton.nu]:

There is a substantial difference of opinion on the correct was to use a multipolygon relation which may be partly to blame here. Jon is the expert, so I'll push this over to him.

I dont think that this is the issue, because multipolygon buildings are rendered correctly.

@openstreetmap-trac
Copy link
Author

Author: jburgess[at]uklinux.net
[Added to the original trac issue at 6.26pm, Wednesday, 13th August 2008]

It fails to render correctly because the inner rings are clockwise. The current Wiki definition of multipolygons says this should be acceptable but this does not work with mapnik. I'll look at fixing up the ring direction during the osm2pgsql conversion process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant