[gdal-dev] ogr2ogr: issues going from polar2geographic

Robb Wright robbkwright at gmail.com
Fri Jul 8 12:05:05 PDT 2016


I'm having problems going from a Stereographic North Pole to 4326. 
Contiguous polys across the 180 line in polar are splitting and wrapping 
across the 4326 space, instead of just splitting at the 180.  The data 
doesn't go south of ~50 degrees latitude.

ogr2ogr --config CHECK_WITH_INVERT_PROJ=YES "ESRI Shapefile" 
output_wgs84.shp masie_ice_r00_v01_2016187_4km.shp -s_srs "+proj=stere 
+lat_0=90 +lat_ts=60 +lon_0=-80 +k=1 +x_0=0 +y_0=0 +datum=WGS84 +units=m 
+no_defs" -t_srs EPSG:4326

I've tried it with/without wrapdateline, with/without 
CHECK_WITH_INVERT_PROJ but all output looks the same.
The proj4 came from gdalsrsinfo on the source file.

Source shapefile: 
ftp://sidads.colorado.edu/DATASETS/NOAA/G02186/latest/4km/maise_ice_r00_4km.zip

Using GDAL 2.1.0, released 2016/04/25 from the built GISInternals site.

If anyone has thoughts on how to go from a polar to anything else, it 
would be appreciated.

Robb



More information about the gdal-dev mailing list