Description Usage Arguments Value See Also Examples
sp_convert
turns objects from the sp
package -
specifically, SpatialPolygons and SpatialPolygonDataFrames - into WKT POLYGONs
or MULTIPOLYGONs
1 | sp_convert(x, group = TRUE)
|
x |
a list of SP/SPDF objects (or a single object) |
group |
whether or not to group coordinates together in the case that an object
in |
either a character vector of WKT objects - one per sp object - if group
is TRUE,
or a list of vectors if group
is FALSE.
bounding_wkt
, for turning bounding boxes within sp
objects
into WKT objects.
1 2 3 4 5 6 |
[1] "POLYGON((2 2,1 4,4 5,4 3,2 2))"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.