powered by
Obtain the 'WKT2' string from an object, if it has one. Supported inputs include sp and sf.
crs_wkt2(x, ...)crs_wkt(x, ...)
crs_wkt(x, ...)
object with 'WKT2' string
ignored
character string (or NA)
NA
For WKT2 only, PROJ6 and beyond
The functions crs_wkt() and crs_wkt2() are aliased, they do the same thing.
crs_wkt()
crs_wkt2()
WKT2 specification
crs_epsg() crs_proj() crs_wkt() crs_input()
crs_epsg()
crs_proj()
crs_input()
# NOT RUN { crs_wkt2(sfx) # NA crs_wkt2(sfx$geom) # NA crs_wkt2(sfx_new) crs_wkt2(sfx_new$geom) # }
Run the code above in your browser using DataLab