self_union {bcmaps}R Documentation

Union a SpatialPolygons* object with itself to remove overlaps, while retaining attributes

Description

[Defunct]

This function is defunct as of bcmaps 2.0.0. Use raster::union() for SpatialPolygonsDataFrames, or sf::st_union() with sf objects instead.

Usage

self_union(x)

Arguments

x

A SpatialPolygons or SpatialPolygonsDataFrame object

Value

A SpatialPolygons or SpatialPolygonsDataFrame object


[Package bcmaps version 2.2.0 Index]