This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Lean to’s on camp sites

1

Wooden "lean to's" (or what in danish is commonly called "shelters") are becoming increasingly popular on basic camp sites in Denmark (Example camp site at the Watten Meer). In addition to the tents=yes, toilets=yes etc tags, what's the best way to say "here are lean to's", to make it easy to search for tourism=camp_sites with "lean to's"?

asked 23 May '18, 10:09

Hjart's gravatar image

Hjart
3.0k42656
accept rate: 18%


One Answer:

1

Add each individual lean-to as a node and tag it with amenity=shelter + shelter_type=lean_to.

Explicitly searching for camp sites with this type of shelter will be a challenge that has to be solved by the end-user application. This is how OSM's data model currently works.

answered 23 May '18, 10:16

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

1

If campsites are mapped as ways and the shelters are inside their perimeters, it should be easy enough. If campsites are mapped as nodes, a little harder.

Here's a quick overpass turbo query that searches for campsites that have a shelter within 25 meters:

http://overpass-turbo.eu/s/z2A

Looks like most of them are ways. I didn't restrict shelter_type.

A lot of these camp sites are tagged with a shelter= (or shelters=) giving a count of shelters. But this (shelter as a key) isn't documented in the wiki except as part of a bus stop.

(23 May '18, 23:35) jmapb

Source code available on GitHub .