Skip to content

Instantly share code, notes, and snippets.

@samuelleach
Created June 12, 2015 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samuelleach/95765c95ed64a12b2784 to your computer and use it in GitHub Desktop.
Save samuelleach/95765c95ed64a12b2784 to your computer and use it in GitHub Desktop.
Example use of OSM overpass API for extracting an OSM way to geojson
# With help from http://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide#Query_by_element_id
sudo pip install overpass
overpass --timeout 500 'way(272386359)' test.geojson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment