Ticket #3879 (new defect)
Multipolygons tagged with name only render yellow
|Reported by:||Augustus Kling||Owned by:||mapnik-team@…|
|Keywords:||multipolygon, name-only, yellow, yellowish, orange||Cc:||augustus.kling@…|
I tried to name parts of a forest and found that Mapnik renders the named parts with a solid yellow background instead of the green forest texture.
The situation is as follows:
- There is a big forest (multipolygon 556678 version 7, name="Buchenberger Wald", landuse=forest)
- There is a named part of it (multipolygon 1630390 version 2, name="Hochbergstelle)
- There is another named part of it (multipolygon 1630391 version 1, name="Schwände")
- There is a named area (way 12002714752 version 1, name="Schönbuchen", area=yes)
The big forest Buchenberger Wald renders correctly where it does not intersect one of its named parts. Where it intersects with the shown named part Hochbergstelle its background renders yellowish. The yellow color only appears if the name of the part is tagged using a multipolygon AND Mapnik decides to show the name of the part. The part Schwände does not cause the yellowish color because Mapnik decides not to show the label.
The named part Schönbuchen that does not use a multipolygon for its definition but overlapping ways instead, renders as expected.
Necessary change to rendering:
Multipolygons that don't have a style (for example only specify names but no landuse), should be rendered with a transparent background instead of a yellowish background.