The DESCRIPTION file: Sexpr[results=rd,stage=build]{tools:::Rd_package_DESCRIPTION("ShapePattern")} Sexpr[results=rd,stage=build]{tools:::Rd_package_indices("ShapePattern")} Perform ShrinkShape, a spatial decomposition by iterative shrinking of planar shapes (ploygons).
While shapefiles can contain multiple polygons, ShrinkShape (ssr) can only process a single shape at a time and thus shapefiles with multiple polygon features need to be split into independent shapefiles prior to processing them with ShrinkShape. This function splits a shapefile into multiple shapefiles by unique values in the GRIDCODE attribute.
When multiple shapes need to be processed with ShrinkShape, then having this batch utility process all files in a folder can be useful (e.g., if a shapefile with multiple unique polygons was initially split with shpsplitter). Processes all .shp files in the working directory.
Given a single- or multi-part polygon (imported from a shapefile), ssr decomposes the shape by iteratively shrinking it by a specified distance until it becomes extinct. At each iteration of shrinking, the area, perimeter, and number of parts forming the resultant polygon are stored. Graphic plots and maps along with a tabular result are returned. This version works fully within R and no longer requires RSAGA GIS installed, making it more streamlined and faster.
● Data Source:
CranContrib
● Keywords: manip
● Alias: ssr
●
1 images