simplify_rec: Douglas Pecker algorithm for line thinning

Description Usage Arguments

View source: R/simplify.R

Description

Implementation of the Douglas-Peucker algorithm for line thinning http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm

Usage

1
simplify_rec(x, y, tol = 0.01)

Arguments

x

vector of longitudes

y

vector of latitudes

tol

tolerance


heike/ggmapr documentation built on May 17, 2019, 3:23 p.m.