Module Generate Shapes
The module allows to generate point, line or polygon shapes from a table with x and y coordinates and an identifier. The table must be sorted in vertex order.
The identifier has different meanings:
* Point Shapes: The identifier is arbitrary
* Line Shapes: The identifier is unique for each line
* Polygon Shapes: The identifier is unique for each polygon; the first polygon vertex may but must not be duplicated in order to close the polygon
- Author: Volker Wichmann (c) 2012, LASERDATA GmbH
 
- Specification: interactive
 
- Menu: Shapes|Construction
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Input | Table (input) | INPUT | Table with coordinates. | - | 
| Output | Output | Shapes (output) | OUTPUT | Generated Shapefile. | - | 
| Options | ID | Table field | FIELD_ID | Field with identifier. | - | 
 | X | Table field | FIELD_X | Field with x-coordinate. | - | 
 | Y | Table field | FIELD_Y | Field with y-coordinate. | - | 
 | Shape Type | Choice | SHAPE_TYPE | Shape type to generate. | Available Choices: [0] Point(s) [1] Line(s) [2] Polygon(s) Default: 0 | 
Command-line
Usage: saga_cmd shapes_tools 22 [-INPUT <str>] [-FIELD_ID <str>] [-FIELD_X <str>] [-FIELD_Y <str>] [-SHAPE_TYPE <str>] [-OUTPUT <str>]
  -INPUT:<str>     	Input
	Table (input)
  -FIELD_ID:<str>  	ID
	Table field
  -FIELD_X:<str>   	X
	Table field
  -FIELD_Y:<str>   	Y
	Table field
  -SHAPE_TYPE:<str>	Shape Type
	Choice
	Available Choices:
	[0] Point(s)
	[1] Line(s)
	[2] Polygon(s)
	Default: 0
  -OUTPUT:<str>    	Output
	Shapes (output)