SAGA-GIS Tool Library Documentation (v9.1.2)

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 pointOFF_X-Default: 0.000000
Offset YFloating pointOFF_Y-Default: 0.000000
Offset ZFloating pointOFF_Z-Default: 0.000000
Scale XFloating pointSCALE_X-Default: 0.001000
Scale YFloating pointSCALE_Y-Default: 0.001000
Scale ZFloating pointSCALE_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
	Default: 0.000000
  -OFF_Y:<double>   	Offset Y
	Floating point
	Default: 0.000000
  -OFF_Z:<double>   	Offset Z
	Floating point
	Default: 0.000000
  -SCALE_X:<double> 	Scale X
	Floating point
	Default: 0.001000
  -SCALE_Y:<double> 	Scale Y
	Floating point
	Default: 0.001000
  -SCALE_Z:<double> 	Scale Z
	Floating point
	Default: 0.001000