Skip to contents

Simplifies LineStrings, Polygons, and their Multi- counterparts.

Usage

simplify_geoms(x, epsilon)

simplify_vw_geoms(x, epsilon)

simplify_vw_preserve_geoms(x, epsilon)

Arguments

x

an object of class of rsgeo

epsilon

a tolerance parameter. Cannot be equal to or less than 0.

Details

Simplify functions use the Ramer–Douglas–Peucker algorithm. Functions with vw use the Visvalingam-Whyatt algorithm.

For more see geo docs.