20 #include "qgis_core.h"
41 QString
name()
const {
return mName; }
46 QString
scope()
const {
return mScope; }
51 QString
remarks()
const {
return mRemarks; }
61 QString
code()
const {
return mCode; }
64 SIP_PYOBJECT __repr__();
67 if ( !sipCpp->code().isEmpty() )
68 id = QStringLiteral(
"%1 (%2:%3)" ).arg( sipCpp->name(), sipCpp->authority(), sipCpp->code() );
71 QString
str = QStringLiteral(
"<QgsDatumEnsembleMember: %1>" ).arg(
id );
72 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
107 QString
name()
const {
return mName; }
122 QString
code()
const {
return mCode; }
127 QString
scope()
const {
return mScope; }
137 QList< QgsDatumEnsembleMember >
members()
const {
return mMembers; }
140 SIP_PYOBJECT __repr__();
143 if ( !sipCpp->isValid() )
145 str = QStringLiteral(
"<QgsDatumEnsemble: invalid>" );
150 if ( !sipCpp->code().isEmpty() )
151 id = QStringLiteral(
"%1 (%2:%3)" ).arg( sipCpp->name(), sipCpp->authority(), sipCpp->code() );
154 str = QStringLiteral(
"<QgsDatumEnsemble: %1>" ).arg(
id );
156 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
164 double mAccuracy = 0;
169 QList< QgsDatumEnsembleMember > mMembers;
This class represents a coordinate reference system (CRS).
Contains information about a member of a datum ensemble.
QString authority() const
Authority name, e.g.
QString scope() const
Returns the scope of operation, from EPSG registry database.
QString remarks() const
Remarks for operation, from EPSG registry database.
QString name() const
Returns the name of the member.
QString code() const
Authority code, e.g.
Contains information about a datum ensemble.
QString code() const
Identification code, e.g.
QString authority() const
Authority name, e.g.
QString scope() const
Scope of ensemble, from EPSG registry database.
bool isValid() const
Returns true if the datum ensemble is a valid object, or false if it is a null/invalid object.
QList< QgsDatumEnsembleMember > members() const
Contains a list of members of the ensemble.
QString name() const
Display name of datum ensemble.
QString remarks() const
Remarks for ensemble, from EPSG registry database.
double accuracy() const
Positional accuracy (in meters).