SAGA 9.6.1 | Tool Library Documentation

Extract Closed Lines


Description

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 point numberTOLERANCEThe maximum distance between the first and last line vertex [map units].Minimum: 0.000000 Default: 0.001000
Maximum Lengthfloating point numberMAX_LENGTHThe maximum length of extracted lines [map units].Minimum: 0.000000 Default: 10000.000000

Command Line


Usage: saga_cmd shapes_lines 10 [-LINES_IN ] [-LINES_OUT ] [-TOLERANCE ] [-MAX_LENGTH ]
  -LINES_IN:     	Lines
	shapes, input
  -LINES_OUT:    	Closed Lines
	shapes, output
  -TOLERANCE: 	Tolerance
	floating point number
	Minimum: 0.000000
	Default: 0.001000
  -MAX_LENGTH:	Maximum Length
	floating point number
	Minimum: 0.000000
	Default: 10000.000000