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

I have entered the outline of a building and saved it. However, there is an open area in the middle of the building (think of it as a courtyard). Is there some way I can make a hole in the middle of the building where this courtyard is?

asked 16 Apr '15, 11:47

Roger%20Cornwell's gravatar image

Roger Cornwell
accept rate: 0%

edited 16 Apr '15, 20:53

aseerel4c26's gravatar image

aseerel4c26 ♦


Thanks folks. I was using ID but following your suggestions I edited it with Potlatch 2 and now I have my courtyard. See if you're interested.

(16 Apr '15, 12:36) Roger Cornwell

You need to use a multipolygon relation containing two ways: the one you have with role=outer and the courtyard with role=inner. It is best to put the building tag on the relation.

I know this is possible in both Potlatch 2 and Josm editors, but am not sure how easy it is in iD.

permanent link

answered 16 Apr '15, 12:13

SK53's gravatar image

SK53 ♦
accept rate: 22%

It is very easy (hear the pundits screaming "NO" in the background :-)). Instead of a simple closed way or polygon you need to create a so called multi-polygon. This tends to be one of the most hated constructs in OSM, but in reality they are quite useful and the bad rep is mainly because they are often used unnecessarily.

Essentially you need to greate a relation of type multipolygon, add the outer polygon of your building as an "outer" element and the hole(s) as "inner" element(s). How exactly to do this depends on the editor you are using which you haven't indicated.

permanent link

answered 16 Apr '15, 12:15

SimonPoole's gravatar image

SimonPoole ♦
accept rate: 18%

edited 16 Apr '15, 12:35

You need to create a multipolygon. See this question or that one for tutorial.

permanent link

answered 16 Apr '15, 12:18

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
accept rate: 19%

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 16 Apr '15, 11:47

question was seen: 4,052 times

last updated: 16 Apr '15, 20:53

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