Convert Lines to Polygons
- Author: O.Conrad (c) 2005
- Menu: Shapes | Conversion
Description
Converts lines to polygons. Line arcs are closed to polygons simply by connecting the last point with the first. Optionally single parts of polylines can be merged into one polygon part if these share start/end vertices.
Parameters
Name | Type | Identifier | Description | Constraints | |
---|---|---|---|---|---|
Input | Lines | shapes, input | LINES | - | - |
Output | Polygons | shapes, output | POLYGONS | - | - |
Options | Rings | boolean | RINGS | Only convert closed rings, i.e. first and last line vertex must be identical. | Default: 0 |
Create One Single Multipart Polygon | boolean | SINGLE | - | Default: 0 | |
Merge Connected Line Parts | boolean | MERGE | Treat single polyline parts as one line if connected, i.e. parts share end/start vertices. | Default: 0 | |
Line Parts as Individual Polygons | boolean | SPLIT | If checked polyline parts become individual polygons. Applies only if single multipart polygon output is unchecked. | Default: 0 |
Command Line
Usage: saga_cmd shapes_polygons 3 [-LINES] [-POLYGONS ] [-RINGS ] [-SINGLE ] [-MERGE ] [-SPLIT ] -LINES: Lines shapes, input -POLYGONS: Polygons shapes, output -RINGS: Rings boolean Default: 0 -SINGLE: Create One Single Multipart Polygon boolean Default: 0 -MERGE: Merge Connected Line Parts boolean Default: 0 -SPLIT: Line Parts as Individual Polygons boolean Default: 0