Description Usage Arguments Value See Also Examples
Get a specific layer of a spatial object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | getLayers(x, ...)
## S4 method for signature 'ANY'
getLayers(x)
## S4 method for signature 'geom'
getLayers(x)
## S4 method for signature 'Spatial'
getLayers(x)
## S4 method for signature 'sf'
getLayers(x)
## S4 method for signature 'Raster'
getLayers(x)
## S4 method for signature 'matrix'
getLayers(x)
|
x |
the object from which to get the layer. |
... |
other arguments. |
A list of the layers of x
. Each list-item hast the result of
getNames(x) as name.
Other getters:
getCRS()
,
getCols()
,
getExtent()
,
getFeatures()
,
getGroups()
,
getHistory()
,
getNames()
,
getPoints()
,
getRes()
,
getRows()
,
getType()
,
getWindow()
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.