[Gdal-dev] rotations in Get/SetGeoTransform
Frank Warmerdam
warmerdam at pobox.com
Fri Oct 1 14:38:07 EDT 2004
Stephane Routelous wrote:
> Hi Frank,
>
> thanks a lot for your answer. I didn't thought about that.
> But I have another question :
> what if I want to convert my image format with the GCPs to a gdal originaly
> supported format( ex : asciigrid ), or reverse ?
> How can I convert those GCPs into/from geotransform ?
> I checked the aaigriddataset.cpp file (as example), and there is no
> reference or conversion from GCPs.
Stephane,
You fundamentally cannot represent the geometry of your data in an ESRI
ascii grid. The GCPs will be discarded on an export to asciigrid.
You could run your dataset through gdalwarp, and the export the result
to asciigrid. That is rectify your data into a geometric form that can
be exported to asciigrid.
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