Description Usage Arguments Examples
To WKT
1
to_wkt(x)
x
Input
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]]
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.