st_erase: Erase Overlapping area of a polygon

View source: R/st_erase.R

st_eraseR Documentation

Erase Overlapping area of a polygon

Description

Analogous to QGIS' clip tool. This function is taken from sf documentation. Layers should be of the same class and projection

Usage

st_erase(x, y)

Arguments

x

an sf layer. This is the layer that you would like to remove from.

y

An sf polygon layer. This area that will be removed from polygon x. Obviously only areas that are overlapping will be removed

Details

z = x - y – where z is the resulting polygon


ColinChisholm/pemgeneratr documentation built on March 14, 2023, 10:47 p.m.