dicogis.utils.environment module

Helpers to retrieve information from execution environment like software versions.

dicogis.utils.environment.get_gdal_version()

Return GDAL version from gdal-config cmd or from environment variable GDAL_VERSION.

Returns:

version of GDAL

Return type:

str

dicogis.utils.environment.get_proj_version()
Get PROJ version, using GDAL, PyProj, installed proj binaries or environment

variable.

Returns:

PROJ’s version as Major.Minor.Micro or None if not found

Return type:

str | None