Australia/Archive/WikiProject South Australia/POI
Jump to navigation
Jump to search
This page describes a historic artifact in the history of OpenStreetMap. It does not reflect the current situation, but instead documents the historical concepts, issues, or ideas.
Here are some recipes for seeing specific classes of POI.
They mainly use Overpass-XML which only has 5 minutes delay using http://overpass-turbo.eu/
Hotel/Motels
<osm-script output="xml" timeout="25">
<union>
<query type="way">
<has-kv k="tourism" v="motel"/>
<bbox-query {{bbox}}/>
</query>
<query type="node">
<has-kv k="tourism" v="motel"/>
<bbox-query {{bbox}}/>
</query>
<query type="way">
<has-kv k="tourism" v="hotel"/>
<bbox-query {{bbox}}/>
</query>
<query type="node">
<has-kv k="tourism" v="hotel"/>
<bbox-query {{bbox}}/>
</query>
</union>
<union>
<item/>
<recurse type="down"/>
</union>
<print mode="meta"/>
</osm-script>
Pubs, Restaurants & Bars
<osm-script output="xml" timeout="25">
<union>
<query type="way">
<has-kv k="amenity" v="pub"/>
<bbox-query {{bbox}}/>
</query>
<query type="node">
<has-kv k="amenity" v="pub"/>
<bbox-query {{bbox}}/>
</query>
<query type="way">
<has-kv k="amenity" v="cafe"/>
<bbox-query {{bbox}}/>
</query>
<query type="node">
<has-kv k="amenity" v="cafe"/>
<bbox-query {{bbox}}/>
</query>
<query type="way">
<has-kv k="amenity" v="restaurant"/>
<bbox-query {{bbox}}/>
</query>
<query type="node">
<has-kv k="amenity" v="restaurant"/>
<bbox-query {{bbox}}/>
</query>
<query type="way">
<has-kv k="amenity" v="bar"/>
<bbox-query {{bbox}}/>
</query>
<query type="node">
<has-kv k="amenity" v="bar"/>
<bbox-query {{bbox}}/>
</query>
</union>
<union>
<item/>
<recurse type="down"/>
</union>
<print mode="meta"/>
</osm-script>