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