geometry_simplify: Simplify a path geometry with Douglas-Peucker

Description Usage Arguments See Also

Description

Simplify a path geometry with Douglas-Peucker

Usage

1
geometry_simplify(geom, tol_prop = 0.1, tol_dist = NULL)

Arguments

geom

A geometry data frame.

tol_prop,tol_dist

Either specify the proportion of points to keep, or a distance threshold.

See Also

compute_dp_distance() to add the distance as an explicit column so you can experimenting with different thresholds more easily.


rstudio/gggeom documentation built on May 28, 2019, 4:35 a.m.