GDAL
|
Public Member Functions | |
virtual CPLErr | GetGeoTransform (double *) |
Fetch the affine transformation coefficients. | |
virtual const char * | GetProjectionRef () |
Fetch the projection definition string for this dataset. | |
virtual int | GetGCPCount () |
Get number of GCPs. | |
virtual const char * | GetGCPProjection () |
Get output projection for GCPs. | |
virtual const GDAL_GCP * | GetGCPs () |
Fetch GCPs. | |
Protected Attributes | |
int | bGeoTransformValid |
double | adfGeoTransform [6] |
char * | pszProjection |
int | nGCPCount |
GDAL_GCP * | pasGCPList |
int GDALGeorefPamDataset::GetGCPCount | ( | ) | [virtual] |
Get number of GCPs.
This method is the same as the C function GDALGetGCPCount().
Reimplemented from GDALPamDataset.
const char * GDALGeorefPamDataset::GetGCPProjection | ( | ) | [virtual] |
Get output projection for GCPs.
This method is the same as the C function GDALGetGCPProjection().
The projection string follows the normal rules from GetProjectionRef().
Reimplemented from GDALPamDataset.
const GDAL_GCP * GDALGeorefPamDataset::GetGCPs | ( | ) | [virtual] |
Fetch GCPs.
This method is the same as the C function GDALGetGCPs().
Reimplemented from GDALPamDataset.
CPLErr GDALGeorefPamDataset::GetGeoTransform | ( | double * | padfTransform | ) | [virtual] |
Fetch the affine transformation coefficients.
Fetches the coefficients for transforming between pixel/line (P,L) raster space, and projection coordinates (Xp,Yp) space.
Xp = padfTransform[0] + P*padfTransform[1] + L*padfTransform[2]; Yp = padfTransform[3] + P*padfTransform[4] + L*padfTransform[5];
In a north up image, padfTransform[1] is the pixel width, and padfTransform[5] is the pixel height. The upper left corner of the upper left pixel is at position (padfTransform[0],padfTransform[3]).
The default transform is (0,1,0,0,0,1) and should be returned even when a CE_Failure error is returned, such as for formats that don't support transformation to projection coordinates.
This method does the same thing as the C GDALGetGeoTransform() function.
padfTransform | an existing six double buffer into which the transformation will be placed. |
Reimplemented from GDALPamDataset.
const char * GDALGeorefPamDataset::GetProjectionRef | ( | void | ) | [virtual] |
Fetch the projection definition string for this dataset.
Same as the C function GDALGetProjectionRef().
The returned string defines the projection coordinate system of the image in OpenGIS WKT format. It should be suitable for use with the OGRSpatialReference class.
When a projection definition is not available an empty (but not NULL) string is returned.
Reimplemented from GDALPamDataset.