Learn R Programming

gdalraster (version 1.11.1)

gdal_version: Get GDAL version

Description

gdal_version() returns runtime version information.

Usage

gdal_version()

Arguments

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

Run this code
gdal_version()

Run the code above in your browser using DataLab