Topologize Polylines
- Author: Copyright (c) 2018-2022 by Johan Van de Wauw
- Menu: Shapes | Lines | Topology
Description
The topology module will convert a shapefile containing lines to a topological network of lines: the direction of every line (i.e., the point order) is used to create a network from and to nodes.
- It will convert start and endpoints of every line to nodes
- a new line shape is created with three attributes
- the start_id and end_id will refer to the node_id, the length is the original length
- the shape is either the original shape, or a simplified straight line between the nodes if _SIMPLIFY_ is selected
- if the original shapefile contains multiparts (e.g., e in the example above) each part will be exported as a separate line
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Input Lines | shapes, input | INPUTLINES | - | - |
Target grid (for grid system) | grid, input, optional | SYSTEM | - | - |
Output | Output Lines | shapes, output | OUTPUTLINES | - | - |
Output Nodes | shapes, output, optional | OUTPUTPOINTS | - | - |
Options | Tolerance Distance | floating point number | TOLERANCE | - | Default: 0.010000 |
Grid system | grid system | SYSTEM_GRIDSYSTEM | - | - |
Simplify | boolean | SIMPLIFY | - | Default: 0 |
Command Line
Usage: saga_cmd shapes_lines 16 [-INPUTLINES ] [-OUTPUTLINES ] [-OUTPUTPOINTS ] [-TOLERANCE ] [-SYSTEM ] [-SIMPLIFY ]
-INPUTLINES: Input Lines
shapes, input
-OUTPUTLINES: Output Lines
shapes, output
-OUTPUTPOINTS: Output Nodes
shapes, output, optional
-TOLERANCE: Tolerance Distance
floating point number
Default: 0.010000
-SYSTEM: Target grid (for grid system)
grid, input, optional
-SIMPLIFY: Simplify
boolean
Default: 0