to_wkt: To WKT

Description Usage Arguments Examples

View source: R/to_wkt.R

Description

To WKT

Usage

1
to_wkt(x)

Arguments

x

Input

Examples

1
2
3
4
5
6
library("rgeos")
wkt <- "POLYGON((-180 -20, -140 55, 10 0, -140 -60, -180 -20))"
poly <- readWKT(wkt)
polys <- chop(x = poly)
to_wkt(polys)
to_wkt(polys)[[2]]

geoaxe documentation built on May 29, 2017, 7:50 p.m.