mergePolygons: Merges polygons

View source: R/maps.R

mergePolygonsR Documentation

Merges polygons

Description

Merge SpatialPolygonsDataFrame, such as StratumPolygon

Usage

mergePolygons(shape, mergeCol)

Arguments

shape

SpatialPolygonsDataFrame stratadefinition to convert

mergeCol

name of column that should be used for merging, all polygons with the same value in this column will be merged into one.

Details

All columns must have the same value for all polygons that are to be merged. If columns are not consistent in this regard, an error is raised.

Value

SpatialPolygonsDataFrame with polygons merged


StoXProject/RstoxFDA documentation built on Jan. 13, 2024, 12:32 a.m.