geoaxe (version 0.1.0)

to_wkt: To WKT

Description

To WKT

Usage

to_wkt(x)

Arguments

x
Input

Examples

Run this code
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]]

Run the code above in your browser using DataLab