Module 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. 
- Author: O.Conrad (c) 2005
 
- Specification: grid
 
- Menu: Shapes|Conversion
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Lines | Shapes (input) | LINES | - | - | 
| Output | Polygons | Shapes (output) | POLYGONS | - | - | 
| Options | Create Single Multipart Polygon | Boolean | SINGLE | - | Default: 0 | 
 | Merge Line Parts to One Polygon | Boolean | MERGE | - | 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