Convert Vertex Type (2D/3D)
| Author(s) | Volker Wichmann (c) 2013, LASERDATA GmbH |
| Library ID | shapes_tools |
| Tool ID | 23 |
| Version | 1.0 |
| Menu | Shapes | Conversion |
Description
The tool allows one to convert the vertex type of shapes from 'XY' (2D) to 'XYZ/M' (3D) and vice versa. The conversion from 3D to 2D is not lossless for lines and polygons, as only the Z/M value of one vertex can be retained (currently that of the last vertex).
Parameters
| | Name | Type | Identifier | Description | Constraints |
| Input | Input | shapes, input | INPUT | The shapefile to convert. | - |
| Output | Output | shapes, output | OUTPUT | The converted shapefile. | - |
| Options | Z | table field | FIELD_Z | Field with z-coordinate information. | - |
| M | table field | FIELD_M | Field with measure information. | - |
Command Line
Usage: saga_cmd shapes_tools 23 [-INPUT ] [-FIELD_Z ] [-FIELD_M ] [-OUTPUT ]
-INPUT: Input
shapes, input
-FIELD_Z: Z
table field
-FIELD_M: M
table field
-OUTPUT: Output
shapes, output