Description Usage Arguments Details Value See Also Examples
Get tabular information of the attributes of features.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | getFeatures(x)
## S4 method for signature 'ANY'
getFeatures(x)
## S4 method for signature 'geom'
getFeatures(x)
## S4 method for signature 'Spatial'
getFeatures(x)
## S4 method for signature 'sf'
getFeatures(x)
## S4 method for signature 'Raster'
getFeatures(x)
## S4 method for signature 'matrix'
getFeatures(x)
|
x |
the object from which to derive the attribute table. |
This table contains at least the column 'fid'. In case x
has
any typ other than 'grid', it contains also the column 'gid' and in case it
has type 'grid', it also contains the column 'values'.
A tibble (or a list of tibbles per layer) of the feature attributes
of x
.
Other getters:
getCRS()
,
getCols()
,
getExtent()
,
getGroups()
,
getHistory()
,
getLayers()
,
getNames()
,
getPoints()
,
getRes()
,
getRows()
,
getType()
,
getWindow()
1 2 3 | getFeatures(x = gtGeoms$polygon)
getFeatures(x = gtRasters)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.