Tool Generate Shapes
The tool allows one to generate point, line or polygon shapes from a table with the following attribute fields:
- identifier
- x coordinate
- y coordinate
- optional: z coordinate (this will create a 3D shapefile)
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
 
- 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 the identifier. | - | 
 | X | Table field | FIELD_X | Field with the x coordinate. | - | 
 | Y | Table field | FIELD_Y | Field with the y coordinate. | - | 
 | Z (*) | Table field | FIELD_Z | Field with the z coordinate. | - | 
 | Shape Type | Choice | SHAPE_TYPE | Shape type to generate. | Available Choices: [0] Point(s) [1] Line(s) [2] Polygon(s) Default: 0 | 
| (*) optional | 
Command-line
Usage: saga_cmd shapes_tools 22 [-INPUT <str>] [-FIELD_ID <str>] [-FIELD_X <str>] [-FIELD_Y <str>] [-FIELD_Z <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
  -FIELD_Z:<str>   	Z
	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)