getFeatures: Get the table of feature attributes

Description Usage Arguments Details Value See Also Examples

Description

Get tabular information of the attributes of features.

Usage

 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)

Arguments

x

the object from which to derive the attribute table.

Details

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'.

Value

A tibble (or a list of tibbles per layer) of the feature attributes of x.

See Also

Other getters: getCRS(), getCols(), getExtent(), getGroups(), getHistory(), getLayers(), getNames(), getPoints(), getRes(), getRows(), getType(), getWindow()

Examples

1
2
3

geometr documentation built on Sept. 21, 2021, 1:07 a.m.