[gdal-dev] Re: GDALSuggestedWarpOutput returns negative infinity in padfGeoTransformOut

2010-08-03 Thread lancer611
Mistype in last post, geoTransform[3] = xOffset * geoT[4] + yOffset * geoT[5]; should be: geoTransform[3] = geoT[3] + xOffset * geoT[4] + yOffset * geoT[5]; -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GDALSuggestedWarpOutput-returns-negative-infinity-in-padfGeoTrans

[gdal-dev] Re: GDALSuggestedWarpOutput returns negative infinity in padfGeoTransformOut

2010-08-03 Thread lancer611
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

[gdal-dev] Re: GDALSuggestedWarpOutput returns negative infinity in padfGeoTransformOut

2010-08-03 Thread lancer611
Thanks for your response Manuel. m_dstGT is set to identity, but I'm not setting m_srcGT exactly to that of the input image because I am trying to split the image into parts. I think my problem is that I dont understand all of the parts of the geotransform matrix correctly. The input image has

[gdal-dev] Re: GDALSuggestedWarpOutput returns negative infinity in padfGeoTransformOut

2010-08-02 Thread lancer611
I am still struggling with this same problem. No one has any ideas? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GDALSuggestedWarpOutput-returns-negative-infinity-in-padfGeoTransformOut-tp5342514p5364223.html Sent from the GDAL - Dev mailing list archive at Nabble.com

[gdal-dev] Re: GDALSuggestedWarpOutput returns negative infinity in padfGeoTransformOut

2010-07-27 Thread lancer611
I am on 32 bit Windows XP Professional. The GDAL I am using the GDAL that comes with FWTools 2.4.7, which is version 1.7. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GDALSuggestedWarpOutput-returns-negative-infinity-in-padfGeoTransformOut-tp5342514p5343159.html Sent

[gdal-dev] Re: GDALSuggestedWarpOutput returns negative infinity in padfGeoTransformOut

2010-07-27 Thread lancer611
Oh I guess you need to know that GeoT is a class that acts as a wrapper for the geoTransform double[6] parameter. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GDALSuggestedWarpOutput-returns-negative-infinity-in-padfGeoTransformOut-tp5342514p5342539.html Sent from the

[gdal-dev] GDALSuggestedWarpOutput returns negative infinity in padfGeoTransformOut

2010-07-27 Thread lancer611
I am using a program called DS Tile that was written to take a geo referenced image and break it into tiles to be used as input for WorldWind. I am modifying it slightly to fit my needs. The problem comes when the tiling is about to begin, and a call to GDALSuggestedWarpOutput is made: GDALSugge