Created
March 8, 2012 13:29
-
-
Save y0n3l/2000981 to your computer and use it in GitHub Desktop.
OSM extract for motorways in Alpes-Maritimes using Overpass API. Can be used from http://overpass.osm.rambler.ru/query_form.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Can be used at http://overpass.osm.rambler.ru/query_form.html to download the corresponding .osm file --> | |
<!-- Alpes-Maritimes relation is 7385. An area based on a relation has the id of the relation plus 3,600,000,000. --> | |
<area-query ref="3600007385" /> | |
<!-- Get all ways from the resulting nodes --> | |
<recurse type="node-way"/> | |
<union> | |
<!-- Get only ways tagged with 'motorway' --> | |
<query type="way"> | |
<item/> | |
<has-kv k="highway" v="motorway"/> | |
</query> | |
<!-- And get their nodes too --> | |
<recurse type="way-node"/> | |
</union> | |
<print/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment