Skip to contents

geos_version() returns version information for the GEOS library in use by GDAL. Requires GDAL >= 3.4.

Usage

geos_version()

Value

A list of length four containing:

  • name - a string formatted as "major.minor.patch"

  • major - major version as integer

  • minor - minor version as integer

  • patch - patch version as integer

List elements will be NA if GDAL < 3.4.

Examples

geos_version()
#> $name
#> [1] "3.10.2"
#> 
#> $major
#> [1] 3
#> 
#> $minor
#> [1] 10
#> 
#> $patch
#> [1] 2
#>