Class QfCoordinateReferenceSystemUtils
ClassList > QfCoordinateReferenceSystemUtils
Inherits the following classes: QObject
Public Functions
| Type | Name |
|---|---|
| QfCoordinateReferenceSystemUtils (QObject * parent=nullptr) |
Public Static Functions
| Type | Name |
|---|---|
| Q_INVOKABLE bool | defaultCoordinateOrderForCrsIsXY (const QgsCoordinateReferenceSystem & crs) Returns whether the default coordinate order of a given crs is XY. |
| Q_INVOKABLE QgsCoordinateTransformContext | emptyTransformContext () |
| Q_INVOKABLE QgsCoordinateReferenceSystem | fromDescription (const QString & definition) Returns an CRS matching the provided definition . |
| Q_INVOKABLE QgsCoordinateReferenceSystem | invalidCrs () |
| Q_INVOKABLE QgsCoordinateReferenceSystem | wgs84Crs () Returns an EPGS:4326 WGS84 CRS. |
Public Functions Documentation
function QfCoordinateReferenceSystemUtils
explicit QfCoordinateReferenceSystemUtils::QfCoordinateReferenceSystemUtils (
QObject * parent=nullptr
)
Public Static Functions Documentation
function defaultCoordinateOrderForCrsIsXY
Returns whether the default coordinate order of a given crs is XY.
static Q_INVOKABLE bool QfCoordinateReferenceSystemUtils::defaultCoordinateOrderForCrsIsXY (
const QgsCoordinateReferenceSystem & crs
)
function emptyTransformContext
static inline Q_INVOKABLE QgsCoordinateTransformContext QfCoordinateReferenceSystemUtils::emptyTransformContext ()
Returns an empty transform context
Note:
This can be used in QML to avoid errors when a parent object pointer goes undefined
function fromDescription
Returns an CRS matching the provided definition .
static inline Q_INVOKABLE QgsCoordinateReferenceSystem QfCoordinateReferenceSystemUtils::fromDescription (
const QString & definition
)
function invalidCrs
static inline Q_INVOKABLE QgsCoordinateReferenceSystem QfCoordinateReferenceSystemUtils::invalidCrs ()
Returns an invalid CRS
Note:
This can be used in QML to avoid errors when a parent object pointer goes undefined
function wgs84Crs
Returns an EPGS:4326 WGS84 CRS.
static inline Q_INVOKABLE QgsCoordinateReferenceSystem QfCoordinateReferenceSystemUtils::wgs84Crs ()
The documentation for this class was generated from the following file src/core/utils/qfcoordinatereferencesystemutils.h