gdal_version: Get GDAL version

View source: R/RcppExports.R

gdal_versionR Documentation

Get GDAL version

Description

gdal_version() returns runtime version information.

Usage

gdal_version()

Value

Character vector of length four containing:

  • "–version" - one line version message, e.g., “GDAL 3.6.3, released 2023/03/12”

  • "GDAL_VERSION_NUM" - formatted as a string, e.g., “3060300” for GDAL 3.6.3.0

  • "GDAL_RELEASE_DATE" - formatted as a string, e.g., “20230312”

  • "GDAL_RELEASE_NAME" - e.g., “3.6.3”

Examples

gdal_version()

gdalraster documentation built on April 4, 2025, 4:38 a.m.