You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package provide options to simplify linestrings. The presimplify function does this before computing the topology (not really recommend to use!) and the toposimplify function does this after computing the topology (you probably want this).
Line simplification can be done using the Douglas-Pecker or Visvalingam-Whyatt algorithm. They both operate through an epsilon or tolerance parameter. Depending on the algorithm it represent distance (DP) or area (VW).
Therefor the required tolerance in each situation is hard to decide since it is implicitly depending on the projection as well (eg. meters or degrees).
Mapshaper provide the option to reduce the linestring by a percentage of points. It would be nice to have this possibility as well for the functions presimplify and toposimplify .
This package provide options to simplify linestrings. The
presimplify
function does this before computing the topology (not really recommend to use!) and thetoposimplify
function does this after computing the topology (you probably want this).Line simplification can be done using the Douglas-Pecker or Visvalingam-Whyatt algorithm. They both operate through an epsilon or tolerance parameter. Depending on the algorithm it represent distance (DP) or area (VW).
Therefor the required tolerance in each situation is hard to decide since it is implicitly depending on the projection as well (eg. meters or degrees).
Mapshaper provide the option to reduce the linestring by a percentage of points. It would be nice to have this possibility as well for the functions
presimplify
andtoposimplify
.A much better explanation of the differences of the epsilon parameter between the DP and VW algorithm is explained by @martinfleis here: #44 (comment) and here: http://martinfleischmann.net/line-simplification-algorithms/
The text was updated successfully, but these errors were encountered: