QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
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. | |
static QList< QgsCelestialBody > | celestialBodies () |
Returns a list of all known celestial bodies. | |
static QList< QgsEllipsoidUtils::EllipsoidDefinition > | definitions () |
Returns a list of the definitions for all known ellipsoids from the internal ellipsoid database. | |
static EllipsoidParameters | ellipsoidParameters (const QString &ellipsoid) |
Returns the parameters for the specified ellipsoid. | |
static void | invalidateCache (bool disableCache=false) |
Clears the internal cache used. | |
Contains utility functions for working with ellipsoids and querying the ellipsoid database.
Definition at line 32 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.