NOTICE: help.openstreetmap.org is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum

I have seen a couple of these multipolygon relations to create fairly simple shapes.

Is there any good reason for making a rectangular building by making the 4 walls separately then creating a relationship for them as a building?

I find it makes them harder to edit and don't see any benefit. Is there any problem with a node having more than one way go through it?

asked 27 Mar '14, 01:51

YoP's gravatar image

YoP
50671419
accept rate: 20%


There is no good reason for mapping a simple building as a multipolygon with separate ways for each wall. Ideally, you should talk to the mapper who did this, and if he doesn't come forth with any unexpectedly good explanation, these buildings should be turned into a single closed way each.

In general, multipolygons for areas without holes should only be used for very large areas, and no building comes even close to that.

permanent link

answered 27 Mar '14, 11:38

Tordanik's gravatar image

Tordanik
12.0k15106147
accept rate: 35%

Not even when an adjacent area runs right up a wall of the building (eg. a parking lot or another attached building)? Are you saying it's recommended to have overlapping ways rather than using multipolygons to share the way? If not, what's the recommended solution for such a scenario?

(27 Mar '14, 16:27) alester

Overlapping ways are a perfectly valid approach of modelling adjacent features. It's semantically equivalent to using a multipolygon and much easier for inexperienced users to work with.

(27 Mar '14, 16:35) Tordanik

Hi, well I think this question mixes two slightly different things:

  1. MPs in general

Multipolygones allow you to model more complex shapes as you would be able just with a single closed way. This includes esp. shapes with holes or shapes with 2 completely seperated bodys. Using MPs you can keep the semantics clear ("this is one single object") or don't need to fake the geometries (e.g. keeping a fine line that avoids a full closed hole in a doublebox shape).

  1. MPs for buildings

Buildings aren't different here, but the Simple 3D buildings schema enforces a relation (but not to glue all the walls together). Also some indoor mapping schemas might make use of this very fine grade of modelling (as you can tag walls seperately). AFAIK this wall based modelling isn't common sense yet.

permanent link

answered 27 Mar '14, 06:32

iii's gravatar image

iii
4.9k84082
accept rate: 10%

We are talking about a multipolygon relation, not a building relation, so neither Simple 3D Buildings nor indoor mapping should be relevant here.

(27 Mar '14, 11:30) Tordanik
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

question asked: 27 Mar '14, 01:51

question was seen: 5,325 times

last updated: 27 Mar '14, 16:35

NOTICE: help.openstreetmap.org is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum