Class: QgsProjUtils

Utility functions for working with the proj library.

Added in version 3.8.

class qgis.core.QgsProjUtils[source]

Bases: object

static epsgRegistryDate() QDate[source]

Returns the EPSG registry database release date used by the proj library.

Added in version 3.20.

Return type:

QDate

static epsgRegistryVersion() str[source]

Returns the EPSG registry database version used by the proj library (e.g. “v9.8.6”).

Added in version 3.20.

Return type:

str

static esriDatabaseDate() QDate[source]

Returns the ESRI projection engine database release date used by the proj library.

Added in version 3.20.

Return type:

QDate

static esriDatabaseVersion() str[source]

Returns the ESRI projection engine database version used by the proj library (e.g. “ArcMap 10.8.0”).

Added in version 3.20.

Return type:

str

static ignfDatabaseDate() QDate[source]

Returns the IGNF database release date used by the proj library.

Added in version 3.20.

Return type:

QDate

static ignfDatabaseVersion() str[source]

Returns the IGNF database version used by the proj library (e.g. “3.1.0”).

Added in version 3.20.

Return type:

str

static projVersionMajor() int[source]

Returns the proj library major version number.

Return type:

int

static projVersionMinor() int[source]

Returns the proj library minor version number.

Added in version 3.20.

Return type:

int

static searchPaths() List[str][source]

Returns the current list of Proj file search paths.

Note

Only available on builds based on Proj >= 6.0. Builds based on earlier Proj versions will always return an empty list.

Return type:

List[str]