Class: QgsProjUtils

class qgis.core.QgsProjUtils

Bases: sip.wrapper

Utility functions for working with the proj library.

New in version 3.8:

Methods

epsgRegistryDate

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

epsgRegistryVersion

Returns the EPSG registry database version used by the proj library (e.g.

esriDatabaseDate

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

esriDatabaseVersion

Returns the ESRI projection engine database version used by the proj library (e.g.

ignfDatabaseDate

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

ignfDatabaseVersion

Returns the IGNF database version used by the proj library (e.g.

projVersionMajor

Returns the proj library major version number.

projVersionMinor

Returns the proj library minor version number.

searchPaths

Returns the current list of Proj file search paths.

epsgRegistryDate() QDate

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

New in version 3.20.

Return type

QDate

epsgRegistryVersion() str

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

New in version 3.20.

Return type

str

esriDatabaseDate() QDate

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

New in version 3.20.

Return type

QDate

esriDatabaseVersion() str

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

New in version 3.20.

Return type

str

ignfDatabaseDate() QDate

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

New in version 3.20.

Return type

QDate

ignfDatabaseVersion() str

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

New in version 3.20.

Return type

str

projVersionMajor() int

Returns the proj library major version number.

Return type

int

projVersionMinor() int

Returns the proj library minor version number.

New in version 3.20.

Return type

int

searchPaths() List[str]

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]