Description Usage Arguments Details Value Author(s)
This function is a wrapper for the geometry()
function from the
sp and rgeos package.
1 | geometryDS(input_x)
|
input_x |
spatial dataframe |
See the geometry() function from sp and rgeos package for more details
If y is only geometry an object of length length(x). If returnList is FALSE, a vector with the (first) index of y for each geometry (point, grid cell centre, polygon or lines) in x. if returnList is TRUE, a list of length length(x), with list element i the vector of all indices of the geometries in y that correspond to the $i$-th geometry in x. If y has attribute data, attribute data are returned. returnList is FALSE, a data.frame with number of rows equal to length(x) is returned, if it is TRUE a list with length(x) elements is returned, with a list element the data.frame elements of all geometries in y that correspond to that element of x.
Bishop, T.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.