Tool Export Point Cloud to Text File
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".
- Author: V. Wichmann, LASERDATA GmbH (c) 2011
- Menu: File|Shapes|Export
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 <str>] [-FILE <str>] [-WRITE_HEADER <str>] [-FIELDSEP <str>] [-FIELDS <str>] [-PRECISIONS <str>]
-POINTS:<str> Point Cloud
Point Cloud (input)
-FILE:<str> Text File
File path
-WRITE_HEADER:<str> Write Header
Boolean
Default: 0
-FIELDSEP:<str> Field Separator
Choice
Available Choices:
[0] tabulator
[1] space
[2] comma
Default: 0
-FIELDS:<str> Fields
Text
-PRECISIONS:<str> Precisions
Text