OK, I just realized there is a problem with the code I just presented. I think this is how it should be: geoTransform[0] = geoT[0] + xOffset * geoT[1] + yOffset * geoT[2]; geoTransform[1] = geoT[1]; geoTransform[2] = geoT[2]; geoTransform[3] = xOffset * geoT[4] + yOffset * geoT[5]; geoTransform[4] = geoT[4]; geoTransform[5] = geoT[5];
(I use geoTransform to set m_srcGT) But the same problem still exists. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GDALSuggestedWarpOutput-returns-negative-infinity-in-padfGeoTransformOut-tp5342514p5368187.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev