getLayers: Get a specific layer of a spatial object.

Description Usage Arguments Value See Also Examples

Description

Get a specific layer of a spatial object.

Usage

 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)

Arguments

x

the object from which to get the layer.

...

other arguments.

Value

A list of the layers of x. Each list-item hast the result of getNames(x) as name.

See Also

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

Examples

1

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