Skip to main content

gdal_version_info

Parses the GDAL version string into a tuple of integers representing the major, minor, and subminor version numbers.

def gdal_version_info() - > tuple

Parses the GDAL library version string into a tuple of integers for programmatic version comparison.

Returns

TypeDescription
tupleA tuple containing the major, minor, and optional subminor version numbers as integers.