sp_df: Store Spatial* objects in a data frame

Description Usage Arguments Value Examples

View source: R/sp_df.r

Description

Store Spatial* objects in a data frame

Usage

1
sp_df(x, ...)

Arguments

x

Spatial object

...

arguments passed to methods

Value

nested table with Geometry column

Examples

1
2
3
4
5
6
## Not run: 
library(maptools)
data(wrld_simpl)
spdf <- sp_df(wrld_simpl)

## End(Not run)

r-gris/sp.df documentation built on May 26, 2019, 1:34 p.m.