SAGA 9.6.1 | Tool Library Documentation

Convert Points to Line(s)


Description

The tool allows one to convert points into lines. Several attributes can be specified to control the construction of the lines:

  1. an attribute that specifies the order of the points along each line
  2. an attribute with a line identifier that is used to separate lines
  3. an attribute with height information that is used as vertex Z value (output shapes layer will be of type XYZ)
  4. an attribute with measure information that is used as vertex M value (output shapes layer will be of type XYZM)
If no attributes are specified, a single line is constructed from the points in the saved sequence.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputPointsshapes, inputPOINTS--
OutputLinesshapes, outputLINES--
OptionsOrder by...table fieldORDER--
Separate by...table fieldSEPARATE--
Elevationtable fieldELEVATION--
Measuretable fieldMEASURE--
Maximum Distancefloating point numberMAXDISTMaximum distance allowed to connect two consecutive points. Ignored if set to zero (default).Minimum: 0.000000 Default: 0.000000

Command Line


Usage: saga_cmd shapes_lines 1 [-POINTS ] [-LINES ] [-ORDER ] [-SEPARATE ] [-ELEVATION ] [-MEASURE ] [-MAXDIST ]
  -POINTS:    	Points
	shapes, input
  -LINES:     	Lines
	shapes, output
  -ORDER:     	Order by...
	table field
  -SEPARATE:  	Separate by...
	table field
  -ELEVATION: 	Elevation
	table field
  -MEASURE:   	Measure
	table field
  -MAXDIST:	Maximum Distance
	floating point number
	Minimum: 0.000000
	Default: 0.000000