SplitSpatial: Split a Spatial*DataFrame object into a list of...

Description Usage Arguments Details Value Author(s) References Examples

View source: R/HKK.R

Description

Subregions of a Spatial*DataFrame are splitted into a list based on a field containing a identifier which must be a factor.

Usage

1
  SplitSpatial(sp.object, split.field)

Arguments

sp.object

A Spatial*DataFrame object to be splitted

split.field

A string describing the identifier field for the subregions

Details

No schema or CRS checking is performed as all the spatial information and geometries are coming from a common source.

Value

a list of Shape objects (from SpatialPolygonsDataFrame class)

Author(s)

Joona Lehtomaki sorvi-commits@lists.r-forge.r-project.org

References

See citation("sorvi")

Examples

1
#

Example output

sorvi - Tools for Finnish Open Data.
Copyright (C) 2010-2015 Leo Lahti, Juuso Parkkinen, Juuso Haapanen, Einari Happonen, Jussi Paananen, Joona Lehtomaki ym.

http://github.com/ropengov/sorvi 

 Hard sciences are successful because they deal with soft problems; 
 soft sciences are struggling because they deal with hard problems.
-                        Von Foerster

sorvi documentation built on May 2, 2019, 6:16 p.m.