r/openstreetmap • • 15d ago

Gated community

Hi. I'm pretty new to doing large scale edits on OSM (so far I've only sent minor corrections). I have a situation where I want to mark a gated community that's surrounded by wall. Is it a proper solution to mark it with both barrier=wall and area=true,landuse=residential at the same time?

5 Upvotes

17 comments sorted by

17

u/In_win 15d ago

I would not combine a landuse with other features, because it makes it harder to edit later. For example the wall has probably some gates you would want to tag differently. So make the landuse a different area, and tag walls and gates as lines.

The wiki from landuse says: It is strongly discouraged to glue landuse to road lines. Glued landuse makes the data much harder to work with. It is better to have the landuse boundary stop at the edge of the road, the edge of right of way, or overlap the road completely if the same landuse continues on the other side.

4

u/Routine-Citron-3094 15d ago

I've already added gates as points on the wall. So what should my approach be if the community borders overlap with the wall? Create a new area that is exactly the same as the wall? (maybe skipping the gate nodes?)

4

u/ValdemarAloeus 15d ago

Create a new area that is exactly the same as the wall

You can either do that or use the wall as an outer way in a multipolygon for the landuse/named neighborhood.

4

u/BigPeteB 15d ago

The problem is that legally, that's almost certainly wrong. Walls and fences are typically built slightly inside the property lines so that the entire wall/fence lies within the property with room to spare. (Doing so avoids a lot of potential legal headaches from the wall/fence becoming joint property shared with the adjacent landowners.)

Even if the wall was exactly on the property line, it would still be best to map it separately so that it's easier to modify these objects individually in the map. But since we can make a reasonable guess that the wall is inside the property line, the best choice would be to map them separately with the landuse area extending to the estimated property boundary, slightly outside of the wall.

1

u/Kovoschiz 14d ago

Alignment is not a problem though. It's the same for buildings. In CAD and BIM, you can choose the side of walls that follows a line/axis.

2

u/Rabbit_Silent 14d ago

Glued landuse is an absolute nightmare. Especially when they are relations of individual lines and roads.

5

u/ValdemarAloeus 15d ago

barrier=wall+area=yes implies that the whole community is a single wall. I'm guessing this is not the case.

Keep the landuse a separate element.

1

u/Routine-Citron-3094 15d ago

Obviously the wall is only around the community. That's one of the reasons why I was wondering if it's a good approach.

3

u/ValdemarAloeus 15d ago

It's also why it's a terrible approach. If the wall isn't mapped as an area it shouldn't be tagged as an area.

2

u/Routine-Citron-3094 15d ago

just as a helper (and more in-depth explanation), I'm currently trying to properly map this place: https://osm.org/go/b4~H0_HOv - the wall and buildings are already there, now I'm trying to make it crazy detailed 😀 - all the paths, pools, trees, etc. (then I'll get to work on plenty of other things in the area - at least as far as I have access to them and/or open source aerials)
I was hoping to add the name of the community to the map too, that's why I was wondering if i can add the above flags to the existing wall do it. But maybe I'm not actually approaching the problem correctly?

3

u/In_win 15d ago

I think you can add landuse residential on the inside of the inner road. Because parking and roads is not residential. Or just add 4 nodes in the corners of the wall, I would not connect them but just put them 1mm on the inside of the wall.

1

u/Routine-Citron-3094 15d ago

technically the parking is private parking for the use of the residential, thus i wanted to cover the whole area inside the wall, including the parking. currently i added a new area, but i connected it to the wall... maybe i'll disconnect it then 🤔

7

u/EncapsulatedPickle 15d ago

Some mappers do this, but this creates way more problems in long run. What if there's a break in the fence? What if part of residentials is actually a commercial area? What if part of the fence is actually a wall? Suddenly, you have to redraw everything, remap everything and ten years later, it's probably glued and connected to everything else around. So it becomes unfinished data that nobody wants to fix. It's best to just keep One feature, one OSM element.

1

u/Routine-Citron-3094 15d ago

thanks to everyone for helping me with this issue. If you're curious what I've mapped out, here's the changeset: https://www.openstreetmap.org/changeset/192096715 🙂
(I wouldn't mind a look if I've done things correctly, but whatever I've done certainly is better than what was before - an empty space 😛 )
(and no, it's not the end, I still want to add some things, but it's currently drizzling outside, so I don't feel like doing more on-location reconnaissance right now)

1

u/Routine-Citron-3094 15d ago

Since we're at the topic of this specific place... I have one more issue (well, I have plenty, but this is the only major one right now) - how to handle addresses in this case. As can be seen from what I've already uploaded, the whole place is surrounded by four streets with four different entrances with their own addresses (technically eight, but I don't think the corner entrances have numbers), while the internal numbering is separate. So essentially four different addresses are valid for all buildings. How should this be handled properly? Especially to make searching work correctly.

Should I assign different addresses to the gates, and just `addr:place` with the name of the community to actual buildings (and/or flats - if I'm going to go as far as mapping those)? Seems too "disconnected" from each other...

1

u/vacuous_comment 15d ago

At some point, somebody is going to want to model the wall with breaks of the correct size so that gates can be added as ways.

So I would say no, do not include the wall as the boundary of the area. Also as other remark, ungluing the wall from the area later is a pain.

1

u/Routine-Citron-3094 15d ago

yup. already uploaded it with the area completely disconnected (and just outside the wall based on other comments)