wk (version 0.9.1)

wkt: Mark character vectors as well-known text

Description

Mark character vectors as well-known text

Usage

wkt(x = character(), crs = wk_crs_auto(), geodesic = FALSE)

parse_wkt(x, crs = wk_crs_auto(), geodesic = FALSE)

as_wkt(x, ...)

# S3 method for default as_wkt(x, ...)

# S3 method for character as_wkt(x, ..., crs = NULL, geodesic = FALSE)

# S3 method for wk_wkt as_wkt(x, ...)

Value

A new_wk_wkt()

Arguments

x

A character() vector containing well-known text.

crs

A value to be propagated as the CRS for this vector.

geodesic

TRUE if edges must be interpolated as geodesics when coordinates are spherical, FALSE otherwise.

...

Unused

Examples

Run this code
wkt("POINT (20 10)")

Run the code above in your browser using DataLab