Skip to content

Instantly share code, notes, and snippets.

@deanohyeah
Created April 29, 2013 23:48
Show Gist options
  • Save deanohyeah/5485697 to your computer and use it in GitHub Desktop.
Save deanohyeah/5485697 to your computer and use it in GitHub Desktop.
Convert to shape file to geojson
fix projection if needed
ogr2ogr -t_srs EPSG:4326 output.shp input.shp
convert to geojson
ogr2ogr -f GeoJSON output.shp input.shp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment