Mark character vectors as well-known text
wkt(x = character(), crs = wk_crs_auto(), geodesic = FALSE)
parse_wkt(x, crs = wk_crs_auto(), geodesic = FALSE)
as_wkt(x, ...)
# Default S3 method
as_wkt(x, ...)
# S3 method for class 'character'
as_wkt(x, ..., crs = NULL, geodesic = FALSE)
# S3 method for class 'wk_wkt'
as_wkt(x, ...)
A character()
vector containing well-known text.
A value to be propagated as the CRS for this vector.
TRUE
if edges must be interpolated as geodesics when
coordinates are spherical, FALSE
otherwise.
Unused
wkt("POINT (20 10)")
#> <wk_wkt[1]>
#> [1] POINT (20 10)