1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/proj/qgsdatums.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsDatumEnsembleMember
{
%Docstring(signature="appended")
Contains information about a member of a datum ensemble.
.. note::
Only used in builds based on on PROJ 7.2 or later
.. versionadded:: 3.20
%End
%TypeHeaderCode
#include "qgsdatums.h"
%End
public:
QString name() const;
%Docstring
Returns the name of the member.
%End
QString scope() const;
%Docstring
Returns the scope of operation, from EPSG registry database.
%End
QString remarks() const;
%Docstring
Remarks for operation, from EPSG registry database.
%End
QString authority() const;
%Docstring
Authority name, e.g. EPSG.
%End
QString code() const;
%Docstring
Authority code, e.g. "8447" (for EPSG:8447).
%End
SIP_PYOBJECT __repr__();
%MethodCode
QString id;
if ( !sipCpp->code().isEmpty() )
id = QStringLiteral( "%1 (%2:%3)" ).arg( sipCpp->name(), sipCpp->authority(), sipCpp->code() );
else
id = sipCpp->name();
QString str = QStringLiteral( "<QgsDatumEnsembleMember: %1>" ).arg( id );
sipRes = PyUnicode_FromString( str.toUtf8().constData() );
%End
};
class QgsDatumEnsemble
{
%Docstring(signature="appended")
Contains information about a datum ensemble.
.. note::
Only used in builds based on on PROJ 7.2 or later
.. versionadded:: 3.20
%End
%TypeHeaderCode
#include "qgsdatums.h"
%End
public:
bool isValid() const;
%Docstring
Returns ``True`` if the datum ensemble is a valid object, or ``False``
if it is a null/invalid object.
%End
QString name() const;
%Docstring
Display name of datum ensemble.
%End
double accuracy() const;
%Docstring
Positional accuracy (in meters).
%End
QString authority() const;
%Docstring
Authority name, e.g. EPSG.
%End
QString code() const;
%Docstring
Identification code, e.g. "8447" (For EPSG:8447).
%End
QString scope() const;
%Docstring
Scope of ensemble, from EPSG registry database.
%End
QString remarks() const;
%Docstring
Remarks for ensemble, from EPSG registry database.
%End
QList< QgsDatumEnsembleMember > members() const;
%Docstring
Contains a list of members of the ensemble.
%End
SIP_PYOBJECT __repr__();
%MethodCode
QString str;
if ( !sipCpp->isValid() )
{
str = QStringLiteral( "<QgsDatumEnsemble: invalid>" );
}
else
{
QString id;
if ( !sipCpp->code().isEmpty() )
id = QStringLiteral( "%1 (%2:%3)" ).arg( sipCpp->name(), sipCpp->authority(), sipCpp->code() );
else
id = sipCpp->name();
str = QStringLiteral( "<QgsDatumEnsemble: %1>" ).arg( id );
}
sipRes = PyUnicode_FromString( str.toUtf8().constData() );
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/proj/qgsdatums.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|