Export Point Cloud to Text File
- Author: V. Wichmann, LASERDATA GmbH (c) 2011
- Menu: File | Shapes | Export
Description
Exports a point cloud to a text file. Once the tool is executed, a pop-up dialog allows one to specify the fields to be exported and their decimal precision.
Tool usage is different between SAGA GUI and SAGA CMD: With SAGA GUI you will get prompted to choose the fields to export and the decimal precisions to use once you execute the tool. With SAGA CMD you have to provide two strings with the -FIELDS and -PRECISIONS parameters. The first one must contain the field numbers, the latter the precisions (separated by semicolon). Field numbers start with 1, e.g. -FIELDS="1;2;3;5" -PRECISIONS="2;2;2;0".
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Point Cloud | point cloud, input | POINTS | The point cloud to export. | - |
Options | Text File | file path | FILE | The file to write the point cloud to. | - |
Write Header | boolean | WRITE_HEADER | Write column names. | Default: 0 |
Field Separator | choice | FIELDSEP | Field Separator | Available Choices:
[0] tabulator
[1] space
[2] comma
Default: 0 |
Fields | text | FIELDS | The numbers (starting from 1) of the fields to export, separated by semicolon, e.g. "1;2;3;5" | - |
Precisions | text | PRECISIONS | The decimal precision to use for each field, separated by semicolon, e.g. "2;2;2;0" | - |
Command Line
Usage: saga_cmd io_shapes 18 [-POINTS ] [-FILE ] [-WRITE_HEADER ] [-FIELDSEP ] [-FIELDS ] [-PRECISIONS ]
-POINTS: Point Cloud
point cloud, input
-FILE: Text File
file path
-WRITE_HEADER: Write Header
boolean
Default: 0
-FIELDSEP: Field Separator
choice
Available Choices:
[0] tabulator
[1] space
[2] comma
Default: 0
-FIELDS: Fields
text
-PRECISIONS: Precisions
text