This is an old revision of the document!


OpenStreetMaps

want to query tag #urbex, or find key abandon:

seach for gas-station example: https://overpass-turbo.eu/

<!--
This query looks for nodes, ways and relations 
with the given key/value combination.
Choose your region and hit the Run button above!
-->
{{key=amenity}}
{{value=fuel}}
<osm-script output="json">
  <union>
    <query type="node">
      <has-kv k="{{key}}" v="{{value}}"/>
      <bbox-query {{bbox}}/>
    </query>
    <query type="way">
      <has-kv k="{{key}}" v="{{value}}"/>
      <bbox-query {{bbox}}/>
    </query>
    <query type="relation">
      <has-kv k="{{key}}" v="{{value}}"/>
      <bbox-query {{bbox}}/>
    </query>
  </union>
  <print mode="body"/>
  <recurse type="down"/>
  <print mode="skeleton"/>
</osm-script>
  • project/mapy.1507079101.txt.gz
  • Last modified: 2017/10/04 01:05
  • by over23