sp2coords | R Documentation |
sp2coords function
Function to extract the coordinates matrix from a class Polygon, Polygons, SpatialPolygons, or SpatialPolygonsDataFrame object that containins a single polygon. Warning: Do not use this function if the inout spatial object contains more than coordinates matrix.
sp2coords(x)
x |
sp::Spatial* class object ultimately determined by a single coordinates matrix. |
Numerical matrix of coordinates with longitude and latitude columns, respectively; coordinates must be in decimal degrees format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.