SAGA-GIS Tool Library Documentation (v7.0.0)

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".

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPoint CloudPoint Cloud (input)POINTSThe point cloud to export.-
OptionsText FileFile pathFILEThe file to write the point cloud to.-
Write HeaderBooleanWRITE_HEADERWrite column names.Default: 0
Field SeparatorChoiceFIELDSEPField SeparatorAvailable Choices:
[0] tabulator
[1] space
[2] comma
Default: 0
FieldsTextFIELDSThe numbers (starting from 1) of the fields to export, separated by semicolon, e.g. "1;2;3;5"-
PrecisionsTextPRECISIONSThe 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