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
Convert something to WGS84 (latitude and longitude):
ogr2ogr -t_srs WGS84 WGS84_Whatever.shp Whatever.shp
ogr2ogr -f geojson Out.json In.shp
SamatsWiki: CheatSheet/Gdal (last edited 2012-08-19 00:19:24 by SamatJain)