Skip to content

Instantly share code, notes, and snippets.

@cronco
Created October 21, 2013 17:04
Show Gist options
  • Save cronco/7087273 to your computer and use it in GitHub Desktop.
Save cronco/7087273 to your computer and use it in GitHub Desktop.
Named highways in bbox overpass query
{{key=highway}}
{{keyw=name}}
{{value=Cluj-Napoca}}
{{type=way}}
<osm-script output="json">
<union>
<query type="{{type}}">
<has-kv k="{{key}}"/>
<has-kv k="{{keyw}}"/>
<bbox-query {{bbox}}/>
</query>
<item />
<recurse type="way-node"/>
</union>
<print mode="body"/>
</osm-script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment