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

[PATCH] advanced multipolygon name rendering issues #2902

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

[PATCH] advanced multipolygon name rendering issues #2902

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

Comments

@openstreetmap-trac
Copy link

Reporter: Irrfahrt
[Submitted to the original trac issue database at 8.00pm, Tuesday, 20th April 2010]

Osmarender (orp.pl) overwrites tags given to a multipolygon by copying all tags data from its outer ways to the multipolygon itself. Thereby it doesn't honor already assigned tag keys. Which results in a wrong nameing of the multipolygon and a bad placement of the name label. See unpatched.png - the name of the place is actually the name of the street.

The attached patch fixes this by not copying tags data from outer ways to an advanced multipolygon. In case of a simple multipolygon (only one outer way), it copies only that data from the outer way that isn't yet assigned to the multipolygon, without touching present tag data.
See patched.png - the place is now named right and the label is placed over the multipolygon's center.

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