QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
Contains methods and classes relating the datum transformations. More...
#include <qgsdatumtransform.h>
Classes | |
struct | GridDetails |
Contains information about a projection transformation grid file. More... | |
struct | TransformDetails |
Contains information about a coordinate transformation operation. More... | |
struct | TransformInfo |
Contains datum transform information. More... | |
struct | TransformPair |
Contains datum transform information. More... | |
Static Public Member Functions | |
static Q_DECL_DEPRECATED QList< QgsDatumTransform::TransformPair > | datumTransformations (const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination) |
Returns a list of datum transformations which are available for the given source and destination CRS. More... | |
static Q_DECL_DEPRECATED QgsDatumTransform::TransformInfo | datumTransformInfo (int datumTransformId) |
Returns detailed information about the specified datumTransformId. More... | |
static Q_DECL_DEPRECATED QString | datumTransformToProj (int datumTransformId) |
Returns a proj string representing the specified datumTransformId datum transform ID. More... | |
static QList< QgsDatumTransform::TransformDetails > | operations (const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination) |
Returns a list of coordinate operations available for transforming coordinates from the source to destination CRS. More... | |
static Q_DECL_DEPRECATED int | projStringToDatumTransformId (const QString &string) |
Returns the datum transform ID corresponding to a specified proj string. More... | |
Contains methods and classes relating the datum transformations.
Definition at line 43 of file qgsdatumtransform.h.
|
static |
Returns a list of datum transformations which are available for the given source and destination CRS.
Definition at line 66 of file qgsdatumtransform.cpp.
|
static |
Returns detailed information about the specified datumTransformId.
If datumTransformId was not a valid transform ID, a TransformInfo with TransformInfo::datumTransformId of -1 will be returned.
Definition at line 263 of file qgsdatumtransform.cpp.
|
static |
Returns a proj string representing the specified datumTransformId datum transform ID.
Definition at line 155 of file qgsdatumtransform.cpp.
|
static |
Returns a list of coordinate operations available for transforming coordinates from the source to destination CRS.
This list is sorted in order of preference, with the most preferable operation listed first.
Not all operations may be available for use. Check QgsDatumTransform::TransformDetails::isAvailable first. Operations may require grid transformation files which are not available on the local install.
Definition at line 28 of file qgsdatumtransform.cpp.
|
static |
Returns the datum transform ID corresponding to a specified proj string.
Returns -1 if matching datum ID was not found.
Definition at line 207 of file qgsdatumtransform.cpp.