Learn R Programming

rcrisp (version 0.3.1)

split_by: Split a geometry along a (multi)linestring.

Description

Split a geometry along a (multi)linestring.

Usage

split_by(geometry, line, boundary = FALSE)

Value

An object of class sf::sfc

Arguments

geometry

Geometry to split

line

Dividing (multi)linestring

boundary

Whether to return the split boundary instead of the regions