PDAL run pipeline to convert LAZ to CSV (keeping only X, Y, Z)
pdal pipeline see https://pdal.io/en/2.7.2/pipeline.html
Run the following command:
pdal pipeline pipeline.json
Tool 'pdal' is installed with QGIS in the bin directory, example on Windows: C:\Program Files\QGIS 3.34.2\bin\
With the following laz file:
With the following pipeline.json:
{
"pipeline":[
{
"type":"readers.las",
"filename":"LHD_FXX_1189_6161_PTS_O_LAMB93_IGN69.copc.laz"
},
{
"type":"writers.text",
"format": "csv",
"filename":"output.csv",
"keep_unspecified":"false",
"order":"X,Y,Z",
"delimiter":","
}
]
}
Result outputcsv in EPSG:2154 coordinates:
"X","Y","Z"
1189875.410,6160250.060,2479.990
1189875.040,6160250.560,2481.980
1189876.150,6160250.050,2479.260
1189875.230,6160251.550,2482.000
...