SAGA 9.6.1 | Tool Library Documentation

Convert Lines to Polygons


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

 NameTypeIdentifierDescriptionConstraints
InputLinesshapes, inputLINES--
OutputPolygonsshapes, outputPOLYGONS--
OptionsRingsbooleanRINGSOnly convert closed rings, i.e. first and last line vertex must be identical.Default: 0
Create One Single Multipart PolygonbooleanSINGLE-Default: 0
Merge Connected Line PartsbooleanMERGETreat single polyline parts as one line if connected, i.e. parts share end/start vertices.Default: 0
Line Parts as Individual PolygonsbooleanSPLITIf 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