⇤ ← Revision 1 as of 2012-08-19 00:12:06
Size: 175
Comment: Using gdal to convert shapefile projections
|
← Revision 2 as of 2012-08-19 00:19:24 ⇥
Size: 253
Comment: Converting to GeoJSON
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
=== Convert to GeoJSON === {{{ ogr2ogr -f geojson Out.json In.shp }}} |
ESRI Shapefiles
Convert projection
Convert something to WGS84 (latitude and longitude):
ogr2ogr -t_srs WGS84 WGS84_Whatever.shp Whatever.shp
Convert to GeoJSON
ogr2ogr -f geojson Out.json In.shp