gc_sp: Transform a spatial object to class 'Spatial'

Description Usage Arguments Value See Also Examples

Description

Transform a spatial object to class Spatial

Usage

1
2
3
4
gc_sp(input, ...)

## S4 method for signature 'geom'
gc_sp(input = NULL)

Arguments

input

the object to transform to class Spatial.

...

other arguments.

Value

an object of class Spatial

See Also

Other spatial classes: gc_geom(), gc_raster(), gc_sf()

Examples

1
2
3
4
5
gc_sp(input = gtGeoms$point)

gc_sp(input = gtGeoms$line)

gc_sp(input = gtGeoms$polygon)

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