SAGA 9.4.2 | Tool Library Documentation

Line Simplification


Description

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 Linesshapes, output, optionalOUTPUTIf not set points will be removed from the input data set.-
OptionsTolerancefloating point numberTOLERANCEMaximum deviation allowed between original and simplified curve [map units].Minimum: 0.000000 Default: 1.000000

Command Line


Usage: saga_cmd shapes_lines 4 [-LINES ] [-OUTPUT ] [-TOLERANCE ]
  -LINES:       	Lines
	shapes, input
  -OUTPUT:      	Simplified Lines
	shapes, output, optional
  -TOLERANCE:	Tolerance
	floating point number
	Minimum: 0.000000
	Default: 1.000000