APpolyMerge {APfun}R Documentation

Merge polygons

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

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


[Package APfun version 0.1.6 Index]