Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gc_sp

Transform a spatial object to class Spatial


Description

Transform a spatial object to class Spatial

Usage

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

gc_sp(input = gtGeoms$point)

gc_sp(input = gtGeoms$line)

gc_sp(input = gtGeoms$polygon)

geometr

Generate and Modify Interoperable Geometric Shapes

v0.2.10
GPL-3
Authors
Steffen Ehrmann [aut, cre] (<https://orcid.org/0000-0002-2958-0796>), Dan Sunday [cph] (fast point-in-polygon algorithm.)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.