|
QGIS API Documentation 4.3.0-Master (0de80482b60)
|
Utility functions for working with QgsCoordinateReferenceSystem objects. More...
#include <qgscoordinatereferencesystemutils.h>
Static Public Member Functions | |
| static QString | axisDirectionToAbbreviatedString (Qgis::CrsAxisDirection axis) |
| Returns a translated abbreviation representing an axis direction. | |
| static QString | crsTypeToString (Qgis::CrsType type) |
| Returns a translated string representing a CRS type. | |
| static Qgis::CoordinateOrder | defaultCoordinateOrderForCrs (const QgsCoordinateReferenceSystem &crs) |
| Returns the default coordinate order to use for the specified crs. | |
| static QgsGeometry | topocentricHorizonGeometry (const QgsCoordinateReferenceSystem &topocentricCrs, const QgsCoordinateReferenceSystem &outputCrs, const QgsCoordinateTransformContext &transformContext, double degreeStep=1.0) |
| Builds the geometry of the visible horizon (in outputCrs) when topocentricCrs is a topocentric CRS. | |
| static QString | translateProjection (const QString &projection) |
| Returns a translated string for a projection method. | |
Utility functions for working with QgsCoordinateReferenceSystem objects.
Definition at line 34 of file qgscoordinatereferencesystemutils.h.
|
static |
Returns a translated abbreviation representing an axis direction.
Definition at line 98 of file qgscoordinatereferencesystemutils.cpp.
|
static |
Returns a translated string representing a CRS type.
Definition at line 187 of file qgscoordinatereferencesystemutils.cpp.
|
static |
Returns the default coordinate order to use for the specified crs.
Definition at line 31 of file qgscoordinatereferencesystemutils.cpp.
|
static |
Builds the geometry of the visible horizon (in outputCrs) when topocentricCrs is a topocentric CRS.
The horizon is built up from points spaced at degreeStep degree intervals around the horizon.
Returns null geometry if topocentricCrs is not a topocentric CRS or if the transform fails.
Definition at line 508 of file qgscoordinatereferencesystemutils.cpp.
|
static |
Returns a translated string for a projection method.
Returns an empty string for unhandled methods.
Definition at line 221 of file qgscoordinatereferencesystemutils.cpp.