Generate Shapes
- Author: Volker Wichmann (c) 2012, LASERDATA GmbH
- Menu: Shapes | Construction
Description
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
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 |
Command Line
Usage: saga_cmd shapes_tools 22 [-INPUT ] [-FIELD_ID ] [-FIELD_X ] [-FIELD_Y ] [-FIELD_Z ] [-SHAPE_TYPE ] [-OUTPUT ]
-INPUT: Input
table, input
-FIELD_ID: ID
table field
-FIELD_X: X
table field
-FIELD_Y: Y
table field
-FIELD_Z: Z
table field
-SHAPE_TYPE: Shape Type
choice
Available Choices:
[0] Point(s)
[1] Line(s)
[2] Polygon(s)
Default: 0
-OUTPUT: Output
shapes, output