Check if WKT definition is a geographic coordinate system
Source:R/RcppExports.R
srs_is_geographic.Rd
srs_is_geographic()
will attempt to import the given WKT string as a
spatial reference system, and returns TRUE
if the root is a
GEOGCS node. This is a wrapper for OSRIsGeographic()
in the GDAL Spatial
Reference System C API.
Examples
srs_is_geographic(epsg_to_wkt(5070))
#> [1] FALSE
srs_is_geographic(srs_to_wkt("WGS84"))
#> [1] TRUE