SAGA-GIS Tool Library Documentation (v9.2.0)

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.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputInput Linesshapes, inputINPUTInput line shapefile.-
OutputOutput Linesshapes, outputOUTPUTOutput line shapefile.-
OptionsDistributionchoiceDISTRIBUTIONChoose 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_LENGTH-Available 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_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