Class: QgsEllipsoidUtils

class qgis.core.QgsEllipsoidUtils

Bases: sip.wrapper

Contains utility functions for working with ellipsoids and querying the ellipsoid database.

Methods

acronyms

Returns a list of all known ellipsoid acronyms from the internal ellipsoid database.

definitions

Returns a list of the definitions for all known ellipsoids from the internal ellipsoid database.

ellipsoidParameters

Returns the parameters for the specified ellipsoid.

class EllipsoidDefinition

Bases: sip.wrapper

QgsEllipsoidUtils.EllipsoidDefinition(QgsEllipsoidUtils.EllipsoidDefinition)

acronym
description
parameters
class EllipsoidParameters

Bases: sip.wrapper

QgsEllipsoidUtils.EllipsoidParameters(QgsEllipsoidUtils.EllipsoidParameters)

crs
inverseFlattening
semiMajor
semiMinor
useCustomParameters
valid
acronyms() → List[str]

Returns a list of all known ellipsoid acronyms from the internal ellipsoid database.

See also

definitions()

Return type

List[str]

definitions() → List[QgsEllipsoidUtils.EllipsoidDefinition]

Returns a list of the definitions for all known ellipsoids from the internal ellipsoid database.

See also

acronyms()

Return type

List[QgsEllipsoidUtils.EllipsoidDefinition]

ellipsoidParameters(ellipsoid: str)QgsEllipsoidUtils.EllipsoidParameters

Returns the parameters for the specified ellipsoid. Results are cached to allow for fast retrieval of parameters.

Parameters

ellipsoid (str) –

Return type

QgsEllipsoidUtils.EllipsoidParameters