SAGA-GIS Tool Library Documentation (v7.2.0)

Tool Convert Lines to Polygons

Converts lines to polygons. Line arcs are closed to polygons simply by connecting the last point with the first. Optionally parts of polylines can be merged into one polygon optionally.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputLinesShapes (input)LINES--
OutputPolygonsShapes (output)POLYGONS--
OptionsCreate Single Multipart PolygonBooleanSINGLE-Default: 0
Merge Line Parts to One PolygonBooleanMERGE-Default: 0

Command-line

Usage: saga_cmd shapes_polygons 3 [-POLYGONS <str>] [-LINES <str>] [-SINGLE <str>] [-MERGE <str>]
  -POLYGONS:<str>	Polygons
	Shapes (output)
  -LINES:<str>   	Lines
	Shapes (input)
  -SINGLE:<str>  	Create Single Multipart Polygon
	Boolean
	Default: 0
  -MERGE:<str>   	Merge Line Parts to One Polygon
	Boolean
	Default: 0