RE: [gdal-dev] Help understanding GDALApplyGeoTransform and GDALInvGeoTransform

2009-07-31 Thread Belaid MOA
org > To: gdal-dev@lists.osgeo.org > Subject: Re: [gdal-dev] Help understanding GDALApplyGeoTransform and > GDALInvGeoTransform > Date: Fri, 31 Jul 2009 20:20:46 +0200 > CC: bcassan...@weather.com > > Bill, > > that's weird. Your code looks correct and

Re: [gdal-dev] Help understanding GDALApplyGeoTransform and GDALInvGeoTransform

2009-07-31 Thread Even Rouault
Bill, that's weird. Your code looks correct and I've just compiled it and I get the following results : lat-lon -127, 51 7.24754e-13, 4.12115e-13 The new_x, new_y values are almost 0 as expected (the small difference is due to numerical imprecision when computing the inverse geotransform). I