SAGA-GIS Tool Library Documentation (v9.1.2)

Tool Line Simplification

Line simplification implementing the Ramer-Douglas-Peucker algorithm.

Refererences:
- Ramer, U. (1972): An iterative procedure for the polygonal approximation of plane curves. Computer Graphics and Image Processing, 1(3), 244-256
- Douglas, D., Peucker, T. (1973): Algorithms for the reduction of the number of points required to represent a digitized line or its caricature. The Canadian Cartographer 10(2), 112-122

- Polyline Reduction source code at mappinghacks.com

Parameters

 NameTypeIdentifierDescriptionConstraints
InputLinesShapes, inputLINESLine or polygon shapefile to simplify.-
OutputSimplified Lines (*)Shapes, output, optionalOUTPUTIf not set points will be removed from the input data set.-
OptionsToleranceFloating pointTOLERANCEMaximum deviation allowed between original and simplified curve [map units].Minimum: 0.000000
Default: 1.000000
(*) optional

Command-line

Usage: saga_cmd shapes_lines 4 [-LINES <str>] [-OUTPUT <str>] [-TOLERANCE <double>]
  -LINES:<str>       	Lines
	Shapes, input
  -OUTPUT:<str>      	Simplified Lines
	Shapes, output, optional
  -TOLERANCE:<double>	Tolerance
	Floating point
	Minimum: 0.000000
	Default: 1.000000