QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
Contains utility functions for working with ellipsoids and querying the ellipsoid database. More...
#include <qgsellipsoidutils.h>
Classes | |
struct | EllipsoidDefinition |
Contains definition of an ellipsoid. More... | |
struct | EllipsoidParameters |
Contains parameters for an ellipsoid. More... | |
Static Public Member Functions | |
static QStringList | acronyms () |
Returns a list of all known ellipsoid acronyms from the internal ellipsoid database. More... | |
static QList< QgsCelestialBody > | celestialBodies () |
Returns a list of all known celestial bodies. More... | |
static QList< QgsEllipsoidUtils::EllipsoidDefinition > | definitions () |
Returns a list of the definitions for all known ellipsoids from the internal ellipsoid database. More... | |
static EllipsoidParameters | ellipsoidParameters (const QString &ellipsoid) |
Returns the parameters for the specified ellipsoid. More... | |
static void | invalidateCache (bool disableCache=false) |
Clears the internal cache used. More... | |
Contains utility functions for working with ellipsoids and querying the ellipsoid database.
Definition at line 33 of file qgsellipsoidutils.h.
|
static |
Returns a list of all known ellipsoid acronyms from the internal ellipsoid database.
Definition at line 329 of file qgsellipsoidutils.cpp.
|
static |
Returns a list of all known celestial bodies.
QgsNotSupportedException | on QGIS builds based on PROJ 8.0 or earlier. |
Definition at line 341 of file qgsellipsoidutils.cpp.
|
static |
Returns a list of the definitions for all known ellipsoids from the internal ellipsoid database.
Definition at line 241 of file qgsellipsoidutils.cpp.
|
static |
Returns the parameters for the specified ellipsoid.
Results are cached to allow for fast retrieval of parameters.
Definition at line 41 of file qgsellipsoidutils.cpp.
|
static |
Clears the internal cache used.
If disableCache is true
then the inbuilt cache will be completely disabled. This argument is for internal use only.
Definition at line 346 of file qgsellipsoidutils.cpp.