Module Convert Vertex Type (2D/3D)
The module allows 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).
- Author: Volker Wichmann (c) 2013, LASERDATA GmbH
- Specification: interactive
- Menu: Shapes|Conversion
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. | - |
(*) optional |
Command-line
Usage: saga_cmd shapes_tools 23 -INPUT <str> [-FIELD_Z <str>] [-FIELD_M <str>] [-OUTPUT <str>]
-INPUT:<str> Input
Shapes (input)
-FIELD_Z:<str> Z
Table field
-FIELD_M:<str> M
Table field
-OUTPUT:<str> Output
Shapes (output)