monoGIS Class Reference

Dataset. Method 

Fetch the affine transformation coefficients

public GeoTransform ();

Return Value

Affine transformation parameters

Remarks

Fetches the coefficients for transforming between pixel/line (X,Y) raster space, and projection coordinates (Xp,Yp) space.
Xp = T[0] + T[1]*X + T[2]*Y
Yp = T[3] + T[4]*X + T[5]*Y
In a north up image, T[1] is the pixel width, and T[5] is the pixel height. The upper left corner of the upper left pixel is at position (T[0],T[3]).

See Also

Dataset Class | Gdal Namespace