[Gdal-dev] GetGeoTransform/png bug?

Kor de Jong k.dejong at geo.uu.nl
Thu Apr 14 04:04:17 EDT 2005


Hi list,

I am using GetGeoTransform, and according to the documentation "The default 
transform is (0,1,0,0,0,1) and should be returned even when a CE_Failure 
error is returned, such as for formats that don't support transformation to 
projection coordinates.". When my application loads a png file 
GetGeoTransform returns CE_Failure but the transform coefficients are not set 
to (0,1,0,0,0,1). I guess this is a bug in the png driver? As another 
example, the GIF driver does return (0,1,0,0,0,1).

I use GDAL 1.2.6.0, released 2005/03/13.

Best regards,
Kor de Jong






More information about the Gdal-dev mailing list