Opened 9 years ago

Closed 9 years ago

#2903 closed defect (duplicate)

[PATCH] advanced multipolygon name rendering issues

Reported by: Irrfahrt Owned by: osm@…
Priority: minor Milestone:
Component: osmarender Version:
Keywords: multipolygon Cc: openstreetmap@…

Description

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 e.g. a wrong nameing of the multipolygon and a bad placement of the name label (in zoom level 17). See unpatched.png - the name of the place is actually the name of the street.

The attached patch fixes this by not copying any tag 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.

Change History (1)

comment:1 Changed 9 years ago by Irrfahrt

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.