[Gdal-dev] gdalwarp/gcps and ERROR 1: Failed to compute polynomial equations of desired order

Frank Warmerdam warmerdam at pobox.com
Tue Sep 14 16:02:59 EDT 2004


Ethan Alpert wrote:
> 
> That -gcp -gcp was just a cut and paste error.
> 
> Here's gdalinfo from mosaic_raw.tif
> 
> -bash-2.05b$ gdalinfo mosaic_raw.tif 
> Driver: GTiff/GeoTIFF
> Size is 859, 2172
> Coordinate System is `'
> GCP Projection = 
> GCP[  0]: Id=1, Info=
>           (0,0) -> (56.7469,29.4295,0)
> GCP[  1]: Id=2, Info=
>           (859,0) -> (56.9821,29.4211,0)
> GCP[  2]: Id=3, Info=
>           (859,2171) -> (56.9677,28.9774,0)
> GCP[  3]: Id=4, Info=
>           (0,2171) -> (56.7382,28.9917,0)
> GCP[  4]: Id=5, Info=
>           (0,1363) -> (56.7391,29.1199,0)
> GCP[  5]: Id=6, Info=
>           (859,1363) -> (56.9706,29.1071,0)

Ethan,

I think you will need to be more specific about what you mean by the output
being really screwy.  Also, if I am to reproduce the problem, a "vrt"
of the mosaic_raw.tif would be helpful.

eg.
   gdal_translate -of VRT mosaic_raw.tif mosaic_raw.vrt

This ensures I capture the GCPs accurately without screwing it up in
data entry.  I'll just substitute a chunk of image data of the same
size in place of yours.

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