Last active
August 29, 2015 13:56
-
-
Save eric-pommereau/9018948 to your computer and use it in GitHub Desktop.
OSM overpass -> getting french "arrondissement" for Paris (see BBox)
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
<!-- You can use this command line : | |
wget -O target.osm --post-file=request.osm "http://overpass-api.de/api/interpreter" | |
where request.osm file contains sample bellow | |
You can use overpass turbo to design your request | |
--> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!--This has been generated by the overpass-turbo wizard. The original search was:“boundary=administrative”--> | |
<osm-script timeout="25"> | |
<!-- gather results --> | |
<union> | |
<query type="way"> | |
<has-kv k="boundary" v="administrative"/> | |
<has-kv k="admin_level" v="9"/> | |
<has-kv k="type" v="boundary"/> | |
<bbox-query s="48.81500930594393" w="2.206878662109375" n="48.90851070858356" e="2.4835968017578125"/> | |
</query> | |
</union> | |
<!-- print results --> | |
<print mode="body"/> | |
<recurse type="down"/> | |
<print mode="skeleton" order="quadtile"/> | |
</osm-script> | |
<!-- next step is transformation with Talend to produce SHP file --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment