QGIS API Documentation  3.3.0-Master (0be9de5)
Classes | Static Public Member Functions | List of all members
QgsDatumTransform Class Reference

Contains methods and classes relating the datum transformations. More...

#include <qgsdatumtransform.h>

Classes

struct  TransformInfo
 Contains datum transform information. More...
 
struct  TransformPair
 Contains datum transform information. More...
 

Static Public Member Functions

static QList< QgsDatumTransform::TransformPairdatumTransformations (const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination)
 Returns a list of datum transformations which are available for the given source and destination CRS. More...
 
static QgsDatumTransform::TransformInfo datumTransformInfo (int datumTransformId)
 Returns detailed information about the specified datumTransformId. More...
 
static QString datumTransformToProj (int datumTransformId)
 Returns a proj string representing the specified datumTransformId datum transform ID. More...
 
static int projStringToDatumTransformId (const QString &string)
 Returns the datum transform ID corresponding to a specified proj string. More...
 

Detailed Description

Contains methods and classes relating the datum transformations.

See also
QgsCoordinateTransformContext
QgsCoordinateTransform
Since
QGIS 3.0

Definition at line 35 of file qgsdatumtransform.h.

Member Function Documentation

◆ datumTransformations()

QList< QgsDatumTransform::TransformPair > QgsDatumTransform::datumTransformations ( const QgsCoordinateReferenceSystem source,
const QgsCoordinateReferenceSystem destination 
)
static

Returns a list of datum transformations which are available for the given source and destination CRS.

See also
datumTransformToProj()
datumTransformInfo()

Definition at line 23 of file qgsdatumtransform.cpp.

◆ datumTransformInfo()

QgsDatumTransform::TransformInfo QgsDatumTransform::datumTransformInfo ( int  datumTransformId)
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.

See also
datumTransformations()
datumTransformToProj()

Definition at line 220 of file qgsdatumtransform.cpp.

◆ datumTransformToProj()

QString QgsDatumTransform::datumTransformToProj ( int  datumTransformId)
static

Returns a proj string representing the specified datumTransformId datum transform ID.

See also
datumTransformations()
datumTransformInfo()
projStringToDatumTransformId()

Definition at line 112 of file qgsdatumtransform.cpp.

◆ projStringToDatumTransformId()

int QgsDatumTransform::projStringToDatumTransformId ( const QString &  string)
static

Returns the datum transform ID corresponding to a specified proj string.

Returns -1 if matching datum ID was not found.

See also
datumTransformToProj()

Definition at line 164 of file qgsdatumtransform.cpp.


The documentation for this class was generated from the following files: