SAGA-GIS Tool Library Documentation (v9.2.0)

Tool Export LAS/LAZ File

The tool allows one to export a point cloud as ASPRS LAS (or compressed LAZ) file using the "Point Data Abstraction Library" (PDAL).
The file extension of the output file determines whether the file is written compressed (*.laz) or uncompressed (*.las).
The number and type of attributes that can be exported depends on the chosen LAS file version and point data record format. Please have a look at the ASPRS LAS specification on how these formats are defined.

PDAL Version:2.5.0 (git-version: Release)


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputPoint Cloudpoint cloud, inputPOINTSThe point cloud to export.-
Optionsgps-time (*)table fieldT--
number of the return (*)table fieldr--
number of returns of given pulse (*)table fieldn--
intensity (*)table fieldi--
classification (*)table fieldc--
scanner channel (*)table fieldsCH--
red channel color (*)table fieldR--
green channel color (*)table fieldG--
blue channel color (*)table fieldB--
SAGA RGB color (*)table fieldC--
near infrared (*)table fieldNIR--
scan angle (*)table fielda--
direction of scan flag (*)table fieldd--
edge of flight line flag (*)table fielde--
user data (*)table fieldu--
point source ID (*)table fieldp--
Output Filefile pathFILEThe LAS/LAZ output file.-
File FormatchoiceFILE_FORMATChoose the file format to write. The format determines which attributes can be written and in which data depth.Available Choices:
[0] LAS 1.2
[1] LAS 1.4
Default: 1
Point Data Record FormatchoiceFORMATChoose the point data record format to write. The format determines which attributes can be written.Available Choices:
[0] 0
[1] 1
[2] 2
[3] 3
[4] 6
[5] 7
[6] 8
Default: 3
Input R,G,B (and NIR) Value RangechoiceRGB_RANGEColor depth of the R,G,B (and NIR) values in the input point cloud. 8 bit values will be scaled to 16 bit.Available Choices:
[0] 16 bit
[1] 8 bit
Default: 1
Offset Xfloating point numberOFF_X-Default: 0.000000
Offset Yfloating point numberOFF_Y-Default: 0.000000
Offset Zfloating point numberOFF_Z-Default: 0.000000
Scale Xfloating point numberSCALE_X-Default: 0.001000
Scale Yfloating point numberSCALE_Y-Default: 0.001000
Scale Zfloating point numberSCALE_Z-Default: 0.001000
(*) optional

Command-line

Usage: saga_cmd io_pdal 1 [-POINTS <str>] [-T <str>] [-r <str>] [-n <str>] [-i <str>] [-c <str>] [-sCH <str>] [-R <str>] [-G <str>] [-B <str>] [-C <str>] [-NIR <str>] [-a <str>] [-d <str>] [-e <str>] [-u <str>] [-p <str>] [-FILE <str>] [-FILE_FORMAT <str>] [-FORMAT <str>] [-RGB_RANGE <str>] [-OFF_X <double>] [-OFF_Y <double>] [-OFF_Z <double>] [-SCALE_X <double>] [-SCALE_Y <double>] [-SCALE_Z <double>]
  -POINTS:<str>     	Point Cloud
	point cloud, input
  -T:<str>          	gps-time
	table field
  -r:<str>          	number of the return
	table field
  -n:<str>          	number of returns of given pulse
	table field
  -i:<str>          	intensity
	table field
  -c:<str>          	classification
	table field
  -sCH:<str>        	scanner channel
	table field
  -R:<str>          	red channel color
	table field
  -G:<str>          	green channel color
	table field
  -B:<str>          	blue channel color
	table field
  -C:<str>          	SAGA RGB color
	table field
  -NIR:<str>        	near infrared
	table field
  -a:<str>          	scan angle
	table field
  -d:<str>          	direction of scan flag
	table field
  -e:<str>          	edge of flight line flag
	table field
  -u:<str>          	user data
	table field
  -p:<str>          	point source ID
	table field
  -FILE:<str>       	Output File
	file path
  -FILE_FORMAT:<str>	File Format
	choice
	Available Choices:
	[0] LAS 1.2
	[1] LAS 1.4
	Default: 1
  -FORMAT:<str>     	Point Data Record Format
	choice
	Available Choices:
	[0] 0
	[1] 1
	[2] 2
	[3] 3
	[4] 6
	[5] 7
	[6] 8
	Default: 3
  -RGB_RANGE:<str>  	Input R,G,B (and NIR) Value Range
	choice
	Available Choices:
	[0] 16 bit
	[1] 8 bit
	Default: 1
  -OFF_X:<double>   	Offset X
	floating point number
	Default: 0.000000
  -OFF_Y:<double>   	Offset Y
	floating point number
	Default: 0.000000
  -OFF_Z:<double>   	Offset Z
	floating point number
	Default: 0.000000
  -SCALE_X:<double> 	Scale X
	floating point number
	Default: 0.001000
  -SCALE_Y:<double> 	Scale Y
	floating point number
	Default: 0.001000
  -SCALE_Z:<double> 	Scale Z
	floating point number
	Default: 0.001000