Tool NameSplit Lines
Tool ID11
Library IDshapes_lines
Version1.3
Author(s)Justus Spitzmüller, scilands GmbH (c) 2021

Description

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. Optionally, a point shapes layer with the points at which the lines were split can be created. This can be used, e.g., to create the midpoint of each polyline by dividing each line into two halves.

Parameters

NameTypeIdentifierDescriptionConstraints
Input
Input Linesshapes, inputINPUTInput line shapefile.
Output
Output Linesshapes, outputOUTPUTOutput line shapefile.
Inserted Pointsshapes, output, optionalINS_POINTSThe points at which the lines were split.
Options
DistributionchoiceDISTRIBUTIONChoose 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
Lengthfloating point numberLENGTHOutput line length used to split the lines [map units].Minimum: 0.000000
Default: 5.000000
CapschoiceCAPS_LENGTHAvailable Choices:
[0] start full length
[1] start remaining length
[2] even ends
Default: 0
Number Of Splitsinteger numberNUMBERThe number of divisions per line [-].Minimum: 0
Default: 5
CapschoiceCAPS_NUMBERAvailable Choices:
[0] full segment
[1] half segment
Default: 0