Convert Points to Line(s)
- Author: O.Conrad (c) 2008
- Menu: Shapes | Conversion
Description
The tool allows one to convert points into lines. Several attributes can be specified to control the construction of the lines:
- an attribute that specifies the order of the points along each line
- an attribute with a line identifier that is used to separate lines
- an attribute with height information that is used as vertex Z value (output shapes layer will be of type XYZ)
- 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
| Name | Type | Identifier | Description | Constraints |
Input | Points | shapes, input | POINTS | - | - |
Output | Lines | shapes, output | LINES | - | - |
Options | Order by... | table field | ORDER | - | - |
Separate by... | table field | SEPARATE | - | - |
Elevation | table field | ELEVATION | - | - |
Measure | table field | MEASURE | - | - |
Maximum Distance | floating point number | MAXDIST | Maximum 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