[gdal-dev] ogr2og / forcing a +-180 system

Robb K. Wright robbkwright at gmail.com
Mon Nov 18 08:36:54 PST 2013


I need to use ogr2ogr (or any other command line) to convert a shapefile 
with longitudes spanning from -220 to -60, forcing it into a +-180 
scheme, so the -220 coordinate would come out as +140 and the -60 stays 
as -60.  I don't need to worry about the polys that actually cross the 
180 line.

Any thoughts?  I was thinking that running it through EPSG:4326 would 
reshape it (as it does in Esri-land), but no luck.

Robb





More information about the gdal-dev mailing list