View source: R/cdtExtractData_Geom.R
extractGeomPolys | R Documentation |
Geom polygons extraction.
extractGeomPolys(gridObj, shpf, attr_name, attr_values)
gridObj |
sp SpatialPixels |
shpf |
sp SpatialPolygonsDataFrame (from shapefile) |
attr_name |
attribute name, 'GID_1' |
attr_values |
vector of the polygons to extract, c('RWA.1_1', 'RWA.5_1') |
A named list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.