Subgroup: other
Class: QgsDatumTransform¶
-
class
qgis.core.
QgsDatumTransform
¶ Bases:
sip.wrapper
Contains methods and classes relating the datum transformations.
See also
See also
New in version 3.0: Methods
datumTransformInfo
Returns detailed information about the specified datumTransformId
.datumTransformToProj
Returns a proj string representing the specified datumTransformId
datum transform ID.datumTransformations
Returns a list of datum transformations which are available for the given source
anddestination
CRS.projStringToDatumTransformId
Returns the datum transform ID corresponding to a specified proj string
.Attributes
-
class
TransformInfo
¶ Bases:
sip.wrapper
QgsDatumTransform.TransformInfo(QgsDatumTransform.TransformInfo)
-
datumTransformId
¶
-
deprecated
¶
-
destinationCrsAuthId
¶
-
destinationCrsDescription
¶
-
epsgCode
¶
-
preferred
¶
-
remarks
¶
-
scope
¶
-
sourceCrsAuthId
¶
-
sourceCrsDescription
¶
-
-
class
TransformPair
(sourceTransformId: int = -1, destinationTransformId: int = -1)¶ Bases:
sip.wrapper
Constructor for a TransformPair with the specified
sourceTransformId
anddestinationTransformId
transforms.QgsDatumTransform.TransformPair(QgsDatumTransform.TransformPair)
-
destinationTransformId
¶
-
sourceTransformId
¶
-
-
datumTransformInfo
(datumTransformId: int) → QgsDatumTransform.TransformInfo¶ Returns detailed information about the specified
datumTransformId
. IfdatumTransformId
was not a valid transform ID, a TransformInfo with TransformInfo.datumTransformId of -1 will be returned.See also
See also
-
datumTransformToProj
(datumTransformId: int) → str¶ Returns a proj string representing the specified
datumTransformId
datum transform ID.See also
See also
See also
-
datumTransformations
(source: QgsCoordinateReferenceSystem, destination: QgsCoordinateReferenceSystem) → object¶ Returns a list of datum transformations which are available for the given
source
anddestination
CRS.See also
See also
-
projStringToDatumTransformId
(string: str) → int¶ Returns the datum transform ID corresponding to a specified proj
string
. Returns -1 if matching datum ID was not found.See also
-
class