Extract Closed Lines
- Author: V. Wichmann (c) 2021
- Menu: Shapes | 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
Name | Type | Identifier | Description | Constraints | |
---|---|---|---|---|---|
Input | Lines | shapes, input | LINES_IN | The input line shapefile. | - |
Output | Closed Lines | shapes, output | LINES_OUT | The output line shapefile with the extracted lines. | - |
Options | Tolerance | floating point number | TOLERANCE | The maximum distance between the first and last line vertex [map units]. | Minimum: 0.000000 Default: 0.001000 |
Maximum Length | floating point number | MAX_LENGTH | The 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