Learn R Programming

geometr (version 0.2.10)

gc_sp: Transform a spatial object to class Spatial

Description

Transform a spatial object to class Spatial

Usage

gc_sp(input, ...)

# S4 method for 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

Run this code
# NOT RUN {
gc_sp(input = gtGeoms$point)

gc_sp(input = gtGeoms$line)

gc_sp(input = gtGeoms$polygon)
# }

Run the code above in your browser using DataLab