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

Extended Multipolygon Handling in Mapnik #2220

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

Extended Multipolygon Handling in Mapnik #2220

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

Comments

@openstreetmap-trac
Copy link

Reporter: GPS-Marco
[Submitted to the original trac issue database at 6.36am, Tuesday, 25th August 2009]

Hi all,

there is a school in Rome named "Liceo Classico Eugenio Montale" using 2 buildings. I put amenity=school on the 2 buildings and an extended mutipolygon relation with both buildings as outer members. The tag with the name of the school is on the relation since the school is one and the tag applies to both buildings. I guess it is the right way to map the situation.

Well the shool name is displayed in mapnik far from any reasonable position. I assume a reasonable position may be: on the largest of the two building areas, on the first building in the relation, in the middle of the 2 buildings. Instead the name is displayed on a side: it apperas to be a mapnik bug.

[http://www.openstreetmap.org/?lat=41.872361&lon=12.42535&zoom=18&layers=B000FTF]

Ciao, Marco.

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 10.51am, Monday, 31st August 2009]

Extended multipolygons with multiple outer rings are not fully supported yet, which is probably why it picks such a far away spot for the name.

Also, it makes more sense to tag the school grounds as amenity=school and name=* and the 2 buildings each as simple building=yes polygons.

@openstreetmap-trac
Copy link
Author

Author: Mikado
[Added to the original trac issue at 2.31pm, Sunday, 29th November 2009]

Not related to the subject, but I've heard that amenity=school and such should be used for marking and tagging entire school's territory, while buildings should be drawn separately. This would solve your particular case.

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 2.43pm, Friday, 11th June 2010]

Mikado is right. That's the current recommendation. There are few examples of this tagging at http://osm.org/go/TdV4TYrg

The way your example now appears on the map is as 2 school grounds without buildings.

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