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

I want to edit the perimeter of a University Residence which from one side is surrounded by a fence and the other half by a wall.

I am using the label landuse=residential for the area comprising the residence limits, and wanted to add the labels barrier=fence and barrier=wall in each segment of that landuse polygon.

When splitting the polygon in half to add the above said barrier labels, JOSM warns me that the polygon is not closed. Hence, I assume the way I tried to map this feature is not correct.

Could anyone tell me which is the best way to map this kind of feature combination? should I map the barriers separately from the landuse polygon, or is there a way to make them fit into the same geometry?

asked 18 Oct '14, 04:22

Llu%C3%ADs_BB's gravatar image

Lluís_BB
66124
accept rate: 0%

edited 18 Oct '14, 19:08

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

(10 Dec '16, 16:36) sleske

I would leave the boundary defining the landuse boundary as is. I would then draw the fence re-using the same nodes that make up the landuse boundary where convenient and give it a tag barrier=fence. Then draw the walled section in the same manner and give it a tag barrier=wall. So you end up with three items, the landuse boundary, the fence and the wall the last two of which follow a section of the boundary.
At a later stage if the boundary, fence or wall are altered the map editor won't need to sort out an unnecessary relation, but simply alter each entity as required because each will be able to be selected individually.

permanent link

answered 18 Oct '14, 05:35

nevw's gravatar image

nevw
9.8k2690178
accept rate: 9%

edited 18 Oct '14, 10:28

5

This in practice is easier and more maintainable than the multipolygon relation approach: I now only use the latter for very large areas or ones with one or more holes.

(18 Oct '14, 11:01) SK53 ♦
2

Thank you for your answer. I think I will stick with this methodology.

(18 Oct '14, 17:46) Lluís_BB

Sounds like you will want to use a relation to specify the area. Pretty easy with JOSM: Just select the ways forming the perimeter and hit the button icon for new relation. The tags you would have put on the area you put on the relation.

The slightly confusing part is that there is no simple area relation, so you will use the multipolygon relation type and all the ways will have a role of "outer"

See http://wiki.openstreetmap.org/wiki/Area#A_multipolygon_area

permanent link

answered 18 Oct '14, 05:04

n76's gravatar image

n76
10.8k1082172
accept rate: 17%

edited 18 Oct '14, 05:05

Thanks for your answer. It shed some light in the use of this kind of relations.

(18 Oct '14, 18:01) Lluís_BB

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:

×352
×193
×103
×55
×7

question asked: 18 Oct '14, 04:22

question was seen: 5,316 times

last updated: 10 Dec '16, 16:36

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