Description Usage Arguments Details Value Note Author(s) References See Also
Several independent Spatatial*DataFrame objects held in a list can be merged into one object as long as all are of the same class. CRS projections will be performed if target CRS is provided. If CRS is not provided, the CRS of the first object will be used. If even one object is missing a CRS, no projections are performed and there is no guarantee that merge will produce desired outcome.
1 | MergeSpatial(sp.list, CRS = NA, FID = NA)
|
sp.list |
A list of Spatial*DataFrame objects to be merged |
CRS |
A proj4string definign target CRS for the target Spatial*DataFrame object |
FID |
A string that names the column used as FID |
All schemas must match, a schema is checked on the basis of column names. An optional FID string can be give to name for a field (column) in table schema that will be used as FIDs. It's up to the user to check that FID values are unique.
a list of Shape objects (from SpatialPolygonsDataFrame class)
Not tested (at all)
Joona Lehtomaki sorvi-commits@lists.r-forge.r-project.org
See citation("sorvi")
spChFIDs, spRbind
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.