SAGA 9.6.1 | Tool Library Documentation

Export Point Cloud to Text File


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

 NameTypeIdentifierDescriptionConstraints
InputPoint Cloudpoint cloud, inputPOINTSThe 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 ] [-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