I'm struggling with the order of the Geotransform section in a vrt file. I would like to rotate an image, and computed the six parameters for the affine transformation. I can transform points exactly, using the following formula:

x2 = a.x1 + b.y1 + c
y2 = d.x1 + e.y1 + f

Can anyone tell me what the order is in the GeoTransform section of the VRT-file?

<GeoTransform> c a b f d e </GeoTransform>

results in an image somewhere in the neighbourhood, but mirrored and translated. What is the order of the parameters a-f?

Jan
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to