crs_wkt2 {crsmeta} | R Documentation |
Obtain the 'WKT2' string from an object, if it has one. Supported inputs include sp and sf.
crs_wkt2(x, ...)
crs_wkt(x, ...)
x |
object with 'WKT2' string |
... |
ignored |
The functions crs_wkt()
and crs_wkt2()
are aliased, they do the same
thing.
character string (or NA
)
For WKT2 only, PROJ6 and beyond
crs_epsg()
crs_proj()
crs_wkt()
crs_input()
crs_wkt2(sfx) # NA
crs_wkt2(sfx$geom) # NA
crs_wkt2(sfx_new)
crs_wkt2(sfx_new$geom)