[gdal-dev] A strange thing with a png geospatial file and gdalwarp. Is it a bug?

Jean-Claude Repetto jrepetto at free.fr
Wed Sep 4 03:16:41 PDT 2013


Hello,

I confirm the problem.
I don't know how to fix the bug, nor if it really a bug in GDAL, but I 
can provide a workaround : use EPSG:3857 instead of EPSG:3785, which is 
obsolete.

gdalwarp -s_srs epsg:3857 -t_srs EPSG:4326 -of GTiff "Avenue de 
Mont-de-Marsan.png" test.tif

Upper Left  (  -0.6064394,  44.7016078) (  0d36'23.18"W, 44d42' 5.79"N)
Lower Left  (  -0.6064394,  44.6980730) (  0d36'23.18"W, 44d41'53.06"N)
Upper Right (  -0.5975973,  44.7016078) (  0d35'51.35"W, 44d42' 5.79"N)
Lower Right (  -0.5975973,  44.6980730) (  0d35'51.35"W, 44d41'53.06"N)
Center      (  -0.6020184,  44.6998404) (  0d36' 7.27"W, 44d41'59.43"N)

Jean-Claude



More information about the gdal-dev mailing list