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

[mapnik] leisure=common area inside landuse=residential related by a multipolygon: misrendering? #969

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

Comments

@openstreetmap-trac
Copy link

Reporter: a.t.chadwick[at]gmail.com
[Submitted to the original trac issue database at 10.07pm, Tuesday, 10th June 2008]

I recently tagged a new landuse=residential (20175534) completely encircling an existing leisure=common (24777545) and set up a new multipolygon relation (16272) between the two objects, setting them as outer and inner respectively. See the map URL below for a quick overview. If you're looking at histories, ignore the revision at 2008-06-11T10:34:26+01:00, that's just me being a muppet with Potlatch.

The current multipolygon recommendation in the wiki says:

They can also be tagged as appropriate for the content of the respective holes.
http://wiki.openstreetmap.org/index.php/Relations/Multipolygon

And that's what I've done. Osmarender copes with this reasonably, but the Mapnik layer renders the outer ring in "leisure=common" green, with a blank hole in the middle:

http://www.openstreetmap.org/?lat=51.70607&lon=-1.31916&zoom=16&layers=B00FT

I expected to see an outer ring of "residential grey" and an inner circle of "common green" because that is what the data said at the time.

I will update the wiki to reflect Mapnik's behaviour here, linking to this ticket.

(Note that I'm likely to change this example to be represented as a common inside a separate inner+outer multipolygon fairly soon - because it strikes me as cleaner data rather than because it might render better! A test case can be built from the histories of the 3 objects I mentioned using their state at or before 2008-06-08T20:50:04+01:00).

@openstreetmap-trac
Copy link
Author

Author: a.t.chadwick[at]gmail.com
[Added to the original trac issue at 10.54am, Wednesday, 11th June 2008]

To clarify, I'm uncertain whether this is a Mapnik bug. Certainly the behaviour is not what I expected, and is incosistent with the current wording of the Wiki page and with Osmarender.

If it's your opinion that this is a mistagging on my part, I'll amend the wiki with a don't-do-that-then and link here.

Setting as minor.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 10.56am, Wednesday, 11th June 2008]

See http://lists.openstreetmap.org/pipermail/talk/2008-May/026872.html for Jon's comments on this.

As you seem to realise, it is logically incorrect to tag in this was as it is the residential area that has the hold, and the park is a separate entity that happens to sit inside that hole.

@openstreetmap-trac
Copy link
Author

Author: a.t.chadwick[at]gmail.com
[Added to the original trac issue at 11.17am, Wednesday, 11th June 2008]

Wiki page updated. Thanks for the feedback.

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