[Gdal-dev] GDAL GCPsToGeoTransform Problem

Frank Warmerdam fwarmerdam at gmail.com
Thu Feb 17 09:12:26 EST 2005


On Thu, 17 Feb 2005 08:34:51 -0500, David Legault
<dlegault at vantpoint.com> wrote:
> then use the gdal.GCPsToGeoTransform( gcps, 1 ) function to retreive the
> calculated georeferencing data and I always get this
> 
> (-1.#IND, -1.#IND, 1.#INF, -1.#IND, -1.#IND, 1.#INF)
> 
> which tends to make me think there is something wrong with the calculation 
> routine or the input parameters are not good (or any other reason).
> 
> But if I choose 3 points in all those (any 3 not aligned) the function does 
> return some data (which I didn't check to see if it was correct or not)

David,

This does sound like a bug.  If you can file this in bugzilla I will hopefully
get to it eventually, though it may be a while.  

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list