hole_chop: Remove internal holes in polygons

Description Usage Arguments Value Examples

Description

Remove internal holes in a SpatialPolygons or SpatialPolygonsDataFrame object leaving topolgy intact

Usage

1
2
hole_chop(spdf)
spdf %>% hole_chop

Arguments

spdf

a SpatialPolygons or SpatialPolygonsDataFrame object

Value

a SpatialPolygons object with internal holes removed (IDs are the same as spdf)

Examples

1
2
data(RA)
RA.spdf %>% hole_chop %>% plot

chrisbrunsdon/caricRture documentation built on May 13, 2019, 6:52 p.m.