Tool Split Lines
The tool allows one to split lines into multiple lines. The lines can be split based on a user-defined line length or the given number of divisions of each input line.
- Author: Justus Spitzmüller, scilands GmbH © 2021
- Menu: Shapes|Lines
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Input Lines | shapes, input | INPUT | Input line shapefile. | - |
Output | Output Lines | shapes, output | OUTPUT | Output line shapefile. | - |
Options | Distribution | choice | DISTRIBUTION | Choose the method how to split the lines, either by a given line length or by the given number of divisions. | Available Choices: [0] by length [1] by number Default: 0 |
Length | floating point number | LENGTH | Output line length used to split the lines [map units]. | Minimum: 0.000000 Default: 5.000000 |
Caps | choice | CAPS_LENGTH | - | Available Choices: [0] start full length [1] start remaining length [2] even ends Default: 0 |
Number Of Splits | integer number | NUMBER | The number of divisions per line [-]. | Minimum: 0 Default: 5 |
Caps | choice | CAPS_NUMBER | - | Available Choices: [0] full segment [1] half segment Default: 0 |
Command-line
Usage: saga_cmd shapes_lines 11 [-INPUT <str>] [-OUTPUT <str>] [-DISTRIBUTION <str>] [-LENGTH <double>] [-CAPS_LENGTH <str>] [-NUMBER <num>] [-CAPS_NUMBER <str>]
-INPUT:<str> Input Lines
shapes, input
-OUTPUT:<str> Output Lines
shapes, output
-DISTRIBUTION:<str> Distribution
choice
Available Choices:
[0] by length
[1] by number
Default: 0
-LENGTH:<double> Length
floating point number
Minimum: 0.000000
Default: 5.000000
-CAPS_LENGTH:<str> Caps
choice
Available Choices:
[0] start full length
[1] start remaining length
[2] even ends
Default: 0
-NUMBER:<num> Number Of Splits
integer number
Minimum: 0
Default: 5
-CAPS_NUMBER:<str> Caps
choice
Available Choices:
[0] full segment
[1] half segment
Default: 0