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.
- Author: V. Wichmann (c) 2021
- Menu: Shapes|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 | TOLERANCE | The maximum distance between the first and last line vertex [map units]. | Minimum: 0.000000 Default: 0.001000 |
Maximum Length | Floating point | 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 <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