APpolyMerge: Merge polygons

Description Usage Arguments Value

View source: R/APpolyMerge.R

Description

Take a List of SpatialPolygonsDataFrame objects and merge them. This function automates the process of assigning new polygon IDs, which is usually the issue that prevents merging.

Usage

1
APpolyMerge(polyList, newID = FALSE)

Arguments

polyList

List. a List of SpatialPolygonsDataFrame objects

newID

logical. If TRUE, the polygon IDs in polyList will be replaced to prevent duplicate IDs.

Value

A merged SpatialPolygonsDataFrame


AndyPL22/APfun documentation built on Dec. 16, 2021, 9:56 p.m.