this post was submitted on 27 Aug 2024
18 points (95.0% liked)

OpenStreetMap community

4185 readers
128 users here now

Everything #OpenStreetMap related is welcome: software releases, showing of your work, questions about how to tag something, as long as it has to do with OpenStreetMap or OpenStreetMap-related software.

OpenStreetMap is a map of the world, created by people like you and free to use under an open license.

Join OpenStreetMap and start mapping: https://www.openstreetmap.org.

There are many communication channels about OSM, many organized around a certain country or region. Discover them on https://openstreetmap.community

https://mapcomplete.org is an easy-to-use website to view, edit and add points (such as shops, restaurants and others)

https://learnosm.org/en/ has a lot of information for beginners too.

founded 4 years ago
MODERATORS
 

I've got a patio for a restaurant tagged as leisure=outdoor_seating. That page says you can add operator=* as a string, but I'm wondering if I can add a Relation between the patio and the restaurant. This is really for semantic reasons, because if the restaurant changes its name or gets a new owner, it would be nice if the patio didn't then have out-of-date information.

I don't see a Relation type that's relevant. I don't want to just start doing my own thing, so does anyone know of a way to use a Relation here, and if not, is that something that can be proposed?

Thanks for all of the responses on my other questions, btw. This community has been very helpful.

top 1 comments
sorted by: hot top controversial new old
[–] infeeeee@lemm.ee 6 points 2 months ago* (last edited 2 months ago)

My general recommendation with relations: If you can do something without a relation, do it that way. A lot of people don't understand them and some editor software can't manage relations well, so there is a big chance that someone will mess it up accidentally in the future.

Maybe you can tag on the restaurant that outdoor seating is mapped as a separate element with outdoor_seating=separate. It's not used frequently, but separate means that something is mapped as a separate element.

If you still want to do a relation you can use a site relation. You can use that for any kind of POIs. I don't recommend this though for 2 members. Example. Overpass query for all site=restaurant: https://overpass-turbo.eu/s/1QjJ

If you afraid someone will forget to change the operator, the same editor can forget to update the relation as well, so I think you can't win this battle.