|
GDAL
|
Public Member Functions | |
| GDALColorReliefDataset (GDALDatasetH hSrcDS, GDALRasterBandH hSrcBand, const char *pszColorFilename, ColorSelectionMode eColorSelectionMode, int bAlpha) | |
| CPLErr | GetGeoTransform (double *padfGeoTransform) |
| Fetch the affine transformation coefficients. | |
| const char * | GetProjectionRef () |
| Fetch the projection definition string for this dataset. | |
Public Member Functions inherited from GDALDataset | |
| virtual | ~GDALDataset () |
| Destroy an open GDALDataset. | |
| int | GetRasterXSize (void) |
| Fetch raster width in pixels. | |
| int | GetRasterYSize (void) |
| Fetch raster height in pixels. | |
| int | GetRasterCount (void) |
| Fetch the number of raster bands on this dataset. | |
| GDALRasterBand * | GetRasterBand (int) |
| Fetch a band object for a dataset. | |
| virtual void | FlushCache (void) |
| Flush all write cached data to disk. | |
| virtual CPLErr | SetProjection (const char *) |
| Set the projection reference string for this dataset. | |
| virtual CPLErr | SetGeoTransform (double *) |
| Set the affine transformation coefficients. | |
| virtual CPLErr | AddBand (GDALDataType eType, char **papszOptions=NULL) |
| Add a band to a dataset. | |
| virtual void * | GetInternalHandle (const char *) |
| Fetch a format specific internally meaningful handle. | |
| virtual GDALDriver * | GetDriver (void) |
| Fetch the driver to which this dataset relates. | |
| virtual char ** | GetFileList (void) |
| Fetch files forming dataset. | |
| virtual int | GetGCPCount () |
| Get number of GCPs. | |
| virtual const char * | GetGCPProjection () |
| Get output projection for GCPs. | |
| virtual const GDAL_GCP * | GetGCPs () |
| Fetch GCPs. | |
| virtual CPLErr | SetGCPs (int nGCPCount, const GDAL_GCP *pasGCPList, const char *pszGCPProjection) |
| Assign GCPs. | |
| virtual CPLErr | AdviseRead (int nXOff, int nYOff, int nXSize, int nYSize, int nBufXSize, int nBufYSize, GDALDataType eDT, int nBandCount, int *panBandList, char **papszOptions) |
| Advise driver of upcoming read requests. | |
| virtual CPLErr | CreateMaskBand (int nFlags) |
| Adds a mask band to the dataset. | |
| virtual GDALAsyncReader * | BeginAsyncReader (int nXOff, int nYOff, int nXSize, int nYSize, void *pBuf, int nBufXSize, int nBufYSize, GDALDataType eBufType, int nBandCount, int *panBandMap, int nPixelSpace, int nLineSpace, int nBandSpace, char **papszOptions) |
| Sets up an asynchronous data request. | |
| virtual void | EndAsyncReader (GDALAsyncReader *) |
| End asynchronous request. | |
| CPLErr | RasterIO (GDALRWFlag, int, int, int, int, void *, int, int, GDALDataType, int, int *, int, int, int) |
| Read/write a region of image data from multiple bands. | |
| int | Reference () |
| Add one to dataset reference count. | |
| int | Dereference () |
| Subtract one from dataset reference count. | |
| GDALAccess | GetAccess () |
| int | GetShared () |
| Returns shared flag. | |
| void | MarkAsShared () |
| Mark this dataset as available for sharing. | |
| CPLErr | BuildOverviews (const char *, int, int *, int, int *, GDALProgressFunc, void *) |
| Build raster overview(s) | |
| void | ReportError (CPLErr eErrClass, int err_no, const char *fmt,...) CPL_PRINT_FUNC_FORMAT(4 |
| Emits an error related to a dataset. | |
Public Member Functions inherited from GDALMajorObject | |
| int | GetMOFlags () |
| void | SetMOFlags (int nFlags) |
| virtual const char * | GetDescription () const |
| Fetch object description. | |
| virtual void | SetDescription (const char *) |
| Set object description. | |
| virtual char ** | GetMetadata (const char *pszDomain="") |
| Fetch metadata. | |
| virtual CPLErr | SetMetadata (char **papszMetadata, const char *pszDomain="") |
| Set metadata. | |
| virtual const char * | GetMetadataItem (const char *pszName, const char *pszDomain="") |
| Fetch single metadata item. | |
| virtual CPLErr | SetMetadataItem (const char *pszName, const char *pszValue, const char *pszDomain="") |
| Set single metadata item. | |
Friends | |
| class | GDALColorReliefRasterBand |
Additional Inherited Members | |
Static Public Member Functions inherited from GDALDataset | |
| static GDALDataset ** | GetOpenDatasets (int *pnDatasetCount) |
| Fetch all open GDAL dataset handles. | |
Protected Member Functions inherited from GDALDataset | |
| void | RasterInitialize (int, int) |
| void | SetBand (int, GDALRasterBand *) |
| virtual CPLErr | IBuildOverviews (const char *, int, int *, int, int *, GDALProgressFunc, void *) |
| virtual CPLErr | IRasterIO (GDALRWFlag, int, int, int, int, void *, int, int, GDALDataType, int, int *, int, int, int) |
| CPLErr | BlockBasedRasterIO (GDALRWFlag, int, int, int, int, void *, int, int, GDALDataType, int, int *, int, int, int) |
| void | BlockBasedFlushCache () |
| virtual int | CloseDependentDatasets () |
| Drop references to any other datasets referenced by this dataset. | |
Protected Attributes inherited from GDALDataset | |
| GDALDriver * | poDriver |
| GDALAccess | eAccess |
| int | nRasterXSize |
| int | nRasterYSize |
| int | nBands |
| GDALRasterBand ** | papoBands |
| int | bForceCachedIO |
| int | nRefCount |
| int | bShared |
| GDALDefaultOverviews | oOvManager |
|
virtual |
Fetch the affine transformation coefficients.
Fetches the coefficients for transforming between pixel/line (P,L) raster space, and projection coordinates (Xp,Yp) space.
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.
NOTE: GetGeoTransform() isn't expressive enough to handle the variety of OGC Grid Coverages pixel/line to projection transformation schemes. Eventually this method will be depreciated in favour of a more general scheme.
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 GDALDataset.
References GDALGetGeoTransform().
|
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 GDALDataset.
References GDALGetProjectionRef().
1.8.1.2.