wkt: Mark character vectors as well-known text

Description Usage Arguments Value Examples

View source: R/wkt.R

Description

Mark character vectors as well-known text

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
wkt(x = character(), crs = wk_crs_auto())

parse_wkt(x, crs = wk_crs_auto())

as_wkt(x, ...)

## Default S3 method:
as_wkt(x, ...)

## S3 method for class 'character'
as_wkt(x, ..., crs = NULL)

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

Arguments

x

A character() vector containing well-known text.

crs

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

...

Unused

Value

A new_wk_wkt()

Examples

1
wkt("POINT (20 10)")

wk documentation built on March 16, 2021, 5:11 p.m.