Skip to content

Instantly share code, notes, and snippets.

@talllguy
Last active August 29, 2015 14:10
Show Gist options
  • Save talllguy/c4264e6cb8179b273591 to your computer and use it in GitHub Desktop.
Save talllguy/c4264e6cb8179b273591 to your computer and use it in GitHub Desktop.
simple windows command line to convert shape files in a directory to geojson
for /R %f in (*.shp) do ogr2ogr -f "GeoJSON" "%~dpnf.geojson" "%f" -t_srs EPSG:4326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment