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();
56 bool m_bGotPAMGeorefSrcIndex;
57 int m_nPAMGeorefSrcIndex;
65 GDALGeorefPamDataset();
66 ~GDALGeorefPamDataset()
override;
68 CPLErr TryLoadXML(
char **papszSiblingFiles =
nullptr)
override;
72 const char *_GetProjectionRef(
void)
override;
74 return GetSpatialRefFromOldGetProjectionRef();
78 const char *_GetGCPProjection()
override;
80 return GetGCPSpatialRefFromOldGetGCPProjection();
84 char **
GetMetadata(
const char * pszDomain =
"" )
override;
86 const char * pszDomain =
"" )
override;
88 const char * pszDomain =
"" )
override;
90 const char * pszValue,
91 const char * pszDomain =
"" )
override;
PAM dataset.
Definition: gdal_pam.h:115
int GetGCPCount() override
Get number of GCPs.
Definition: gdalpamdataset.cpp:1218
CPLErr SetMetadata(char **papszMetadata, const char *pszDomain="") override
Set metadata.
Definition: gdalpamdataset.cpp:1289
const char * GetMetadataItem(const char *pszName, const char *pszDomain="") override
Fetch single metadata item.
Definition: gdalpamdataset.cpp:1328
const OGRSpatialReference * GetGCPSpatialRef() const override
Get output spatial reference system for GCPs.
Definition: gdalpamdataset.cpp:1231
const GDAL_GCP * GetGCPs() override
Fetch GCPs.
Definition: gdalpamdataset.cpp:1244
CPLErr GetGeoTransform(double *) override
Fetch the affine transformation coefficients.
Definition: gdalpamdataset.cpp:1182
CPLErr SetMetadataItem(const char *pszName, const char *pszValue, const char *pszDomain="") override
Set single metadata item.
Definition: gdalpamdataset.cpp:1308
char ** GetMetadata(const char *pszDomain="") override
Fetch metadata.
Definition: gdalpamdataset.cpp:1392
const OGRSpatialReference * GetSpatialRef() const override
Fetch the spatial reference for this dataset.
Definition: gdalpamdataset.cpp:1149
This class represents an OpenGIS Spatial Reference System, and contains methods for converting betwee...
Definition: ogr_spatialref.h:157
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:997
Ground Control Point.
Definition: gdal.h:564