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

# Best practice on inner and outer.

 2 1 I have come across a few mapping areas which have problems with inner and outer tags, and I am not sure what is considered to be best practice. So here is a scenario, Imagine a residential area, within that area is a golf course, on the golf course there are a number bunkers ( sand ) and a few areas of woodland, also a lake and in the middle of the lake is an island which has a wood on it, and a pond and also more sand( bunkers ), I am not sure what the relationships on OSM are meant to be. Any help or guidance would be appreciated. Regards Gary asked 28 Jul '16, 14:18 Rossendale Gary 141●8●9●17 accept rate: 20%

 0 I think I'd only use a multipolygon relation for the lake with a hole for the situation you describe with the lake tags on the relation. answered 28 Jul '16, 14:42 EdLoach ♦ 19.5k●16●156●280 accept rate: 22% 1 can you point me to an example on OSM ? (28 Jul '16, 14:45) Rossendale Gary
 4 First, "inner" and "outer" are not tags. They are roles of relation members. Each member of a multipolygon relation gets such a role, either "outer" for the ways making up the outer boundary of the area, or "inner" for the inner boundary. So in your example the outermost area is the residential area. You create a multipolygon relation with the tags type=multipolygon and landuse=residential. The ways making up the boundaries of this area are untagged, but they get the roles "outer" and "inner" in the relation. Then you create another relation tagged type=multipolygon and leisure=golf_course. Its members are the ways you put in the residential area relation as "inner", but this time they are "outer". You add new "inner" ways to this relation for the holes in the golf course. And so on. So all the ways (except outermost and, possibly, innermost boundaries) do double duty as the inner boundary of the outer area and the outer boundary of the area nested inside of it. Arguably the sand bunkers of a golf course are part of the golf course. They are not in holes in the golf course. So the golf course should probably tagged over all it contains with no inner holes. But the golf course is not part of the residential area, so a hole in the residential area makes sense. It is somewhat unclear what to do in each situation. Use your judgement. answered 28 Jul '16, 14:50 Jochen Topf 5.2k●5●50●74 accept rate: 31%
 1 Hi Gary, Did you notice the existance of these pages ? https://wiki.openstreetmap.org/wiki/Multipolygon_Examples The complex ones could be the answer to your problem and question. answered 29 Jul '16, 09:07 Hendrikklaas 9.3k●207●238●387 accept rate: 5%

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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:

×9
×6

question asked: 28 Jul '16, 14:18

question was seen: 5,361 times

last updated: 29 Jul '16, 09:07

### Related questions

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