[gdal-dev] Georeference without rotation of output image
Even Rouault
even.rouault at spatialys.com
Fri Aug 14 09:22:55 PDT 2015
> Instead of warping the image, you could compute a geotransformation matrix
> that would include rotational terms with GDALGCPsToGeoTransform()
>
> http://www.gdal.org/gdal_8h.html#ae44b32f08d61072dddbdd30ac8ca962b
>
> and set it to your geotiff with GDALSetGCPs()
>
> http://www.gdal.org/gdal_8h.html#acd47aa85ca5751fbe9ea09c1a2341ef8
>
Arg, sorry I meant with GDALSetGeoTransform() of course :
http://www.gdal.org/gdal_8h.html#ae93448112c1a7e69f2764c1aa3c6c8b5()
GDALSetGCPs() is to set the "raw" GCPs.
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list