SAGA-GIS Tool Library Documentation (v8.2.1)

Tool Extract Closed Lines

The tool allows one to extract closed lines from the input shapefile. Closed lines are detected by examining the distance between the first and last line vertex.
The 'tolerance' parameter describes the maximum distance allowed between the first and last line vertex. The 'maximum length' parameter can be used to exclude long lines.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputLinesShapes, inputLINES_INThe input line shapefile.-
OutputClosed LinesShapes, outputLINES_OUTThe output line shapefile with the extracted lines.-
OptionsToleranceFloating pointTOLERANCEThe maximum distance between the first and last line vertex [map units].Minimum: 0.000000
Default: 0.001000
Maximum LengthFloating pointMAX_LENGTHThe maximum length of extracted lines [map units].Minimum: 0.000000
Default: 10000.000000

Command-line

Usage: saga_cmd shapes_lines 10 [-LINES_IN <str>] [-LINES_OUT <str>] [-TOLERANCE <double>] [-MAX_LENGTH <double>]
  -LINES_IN:<str>     	Lines
	Shapes, input
  -LINES_OUT:<str>    	Closed Lines
	Shapes, output
  -TOLERANCE:<double> 	Tolerance
	Floating point
	Minimum: 0.000000
	Default: 0.001000
  -MAX_LENGTH:<double>	Maximum Length
	Floating point
	Minimum: 0.000000
	Default: 10000.000000