31 #ifndef GDAL_GEOREF_PAM_DATASET_H_INCLUDED
32 #define GDAL_GEOREF_PAM_DATASET_H_INCLUDED
41 bool bGeoTransformValid;
42 double adfGeoTransform[6];
49 int m_nGeoTransformGeorefSrcIndex;
50 int m_nGCPGeorefSrcIndex;
51 int m_nProjectionGeorefSrcIndex;
52 int m_nRPCGeorefSrcIndex;
53 int m_nPixelIsPointGeorefSrcIndex;
55 int GetPAMGeorefSrcIndex()
const;
56 mutable bool m_bGotPAMGeorefSrcIndex;
57 mutable int m_nPAMGeorefSrcIndex;
65 GDALGeorefPamDataset();
66 ~GDALGeorefPamDataset()
override;
68 CPLErr TryLoadXML(
char **papszSiblingFiles =
nullptr)
override;
78 char **
GetMetadata(
const char *pszDomain =
"")
override;
80 const char *pszDomain =
"")
override;
82 const char *pszDomain =
"")
override;
84 const char *pszDomain =
"")
override;
PAM dataset.
Definition: gdal_pam.h:119
int GetGCPCount() override
Get number of GCPs.
Definition: gdalpamdataset.cpp:1455
CPLErr SetMetadata(char **papszMetadata, const char *pszDomain="") override
Set metadata.
Definition: gdalpamdataset.cpp:1518
const char * GetMetadataItem(const char *pszName, const char *pszDomain="") override
Fetch single metadata item.
Definition: gdalpamdataset.cpp:1556
const OGRSpatialReference * GetGCPSpatialRef() const override
Get output spatial reference system for GCPs.
Definition: gdalpamdataset.cpp:1468
const GDAL_GCP * GetGCPs() override
Fetch GCPs.
Definition: gdalpamdataset.cpp:1481
CPLErr GetGeoTransform(double *) override
Fetch the affine transformation coefficients.
Definition: gdalpamdataset.cpp:1399
CPLErr SetMetadataItem(const char *pszName, const char *pszValue, const char *pszDomain="") override
Set single metadata item.
Definition: gdalpamdataset.cpp:1536
char ** GetMetadata(const char *pszDomain="") override
Fetch metadata.
Definition: gdalpamdataset.cpp:1619
const OGRSpatialReference * GetSpatialRef() const override
Fetch the spatial reference for this dataset.
Definition: gdalpamdataset.cpp:1366
This class represents an OpenGIS Spatial Reference System, and contains methods for converting betwee...
Definition: ogr_spatialref.h:169
CPLErr
Error category.
Definition: cpl_error.h:53
#define CPL_DISALLOW_COPY_ASSIGN(ClassName)
Helper to remove the copy and assignment constructors so that the compiler will not generate the defa...
Definition: cpl_port.h:1042
Ground Control Point.
Definition: gdal.h:1075