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

Hi,

I'm mapping a hospital close to me with quite a complex Shape. I've mapped all the different parts of it with building:part=yes and put it into a relation with the role=part. This relation (a) is of type=building. See: Relation a

Then I created a second relation (b) with the outline of all the parts but gave it the role=outer. Additionally I created a line that represents the hole of that building and gave it the role=inner. Here: Relation b

Eventually relation b becomes a part of relation a with the role=outline.

But it does not seem to work 100%. What am I missing here? I don't wanna mess around any more and thought I'd just ask. Google didn't rely help or I haven't found my exact problem.

(see my related post on reddit)

Thank you.

asked 18 Jun '21, 09:02

som-tam's gravatar image

som-tam
16112
accept rate: 0%


When a building is mapped with a multipolygon, the tags for the building as a whole go only onto the multipolygon relation, not on the outer way. So you should remove the building=hospital tag from w955078388. Apart from that, the mapping looks correct to me.

permanent link

answered 18 Jun '21, 10:53

Tordanik's gravatar image

Tordanik
12.0k15106147
accept rate: 35%

That's it. Thank you.

(18 Jun '21, 11:05) som-tam

Also no need to use relations to map building parts, you can just rely on the geometrical relationships

(18 Jun '21, 11:59) SK53 ♦

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:

×252
×236
×132
×13
×6

question asked: 18 Jun '21, 09:02

question was seen: 855 times

last updated: 18 Jun '21, 11:59

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