NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

At http://www.openstreetmap.org/?lat=46.84408&lon=11.69212&zoom=16&layers=M I have a scrub, where within there are some open areas with landuse=meadow (clearly visible in the data inspector).

The scrub (way 85074083) is outer on relation 1270018, with 7 ways being inner in this relation, but they don't show up on mapnik. I don't have problems putting holes in forests though.

On the other hand, http://www.openstreetmap.org/?lat=46.82837&lon=11.775642&zoom=18&layers=M shows a church inside a graveyard, but the graveyard is also over the church, even though I also made it a hole in the graveyard's releation. I don't see any difference (in tagging) to http://www.openstreetmap.org/?lat=46.843974&lon=11.725565&zoom=18&layers=M where it is rendered correctly. What am I doing wrong/what am I not seeing?

asked 13 Nov '10, 00:58

Alexander%20Roalter's gravatar image

Alexander Ro...
276151724
accept rate: 0%


You haven't tagged the relations correctly. For the scrub relation and the graveyard/church relation, they don't have any tags at all, though the ways that are part of them are tagged correctly. You have to tag the relations as type=multipolygon

Then the renderer will know it is a multipolygon relation, with separate outer and inner parts, and show it correctly. See the wiki page for details: Relation:multipolygon The second example graveyard/church relation is tagged as type=multipolygon, and as you say, it is rendered correctly.

permanent link

answered 13 Nov '10, 01:50

Vclaw's gravatar image

Vclaw
9.2k895141
accept rate: 22%

Thanks for the explanation. Apparently, in woods the renderer renders holes just fine, so I didn't see the need for the multipolygon there. Don't remember how I did that for the one graveyard where it was already ok...

It renders OK now, but here http://www.openstreetmap.org/?lat=46.84927&lon=11.69452&zoom=16&layers=M (in the center) the big area is tagged as wood=confierous,landuse=forest, but is not rendered as such... One other difference in the graveyards was the other one that worked was tagged cemetary. Once changed to grave_yard, making a hole doesn't work as expected anymore.

(13 Nov '10, 10:25) Alexander Ro...
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×236
×103
×9

question asked: 13 Nov '10, 00:58

question was seen: 4,644 times

last updated: 13 Nov '10, 10:42

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum