PointCloud - Converting LAZ to COPC.LAZ : CRS information is lost in COPC.LAZ file #59662
Open
2 tasks done
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Point Clouds
Projections/Transformations
Related to coordinate reference systems or coordinate transformation
Regression
Something which used to work, but doesn't anymore
What is the bug or the crash?
Hi,
I have some pointcloud tiles in LAZ format.
LAZ files contain CRS information.
When I drag and drop the LAZ file into QGis, LAZ file is automaticaly transform in COPC.LAZ
Because my LAZ files contain CRS information, QGis don't ask for CRS when importing it (my files are in EPSG:3948 and my QGis project too)
In this case : everything's OK
I decide to delete the pointcloud entity in Qgis and I now drag and drop the copc.laz file created by Qgis in the preceding step
This entity as no CRS associated and Qgis ask me for one
So, I think that the CRS information is lost during the conversion LAZ to COPC, and I don't expect this.
Here is my original LAZ pointcloud file for testing :
2034000_7275500_LIDAR2021.zip
Steps to reproduce the issue
I investigate a little bit more.
I remove the pointcloud entity from Qgis
I use the processing Tool 'Create COPC'
As entry, I set the original LAZ file (2034000_7275500_LIDAR2021.laz on my local hard drive)
I get the transform file 2034000_7275500_LIDAR2021.copc.laz
Then I drag and drop the copc.laz file into QGis with the same result : CRS is lost
I decided to transform my laz file with PDAL (as a command line), completely independant from QGis
The command line is simple : pdal translate D:\TMP\LIDAR2025\DATA_LNC\2034000_7275500_LIDAR2021.laz D:\TMP\LIDAR2025\DATA_LNC\2034000_7275500_LIDAR2021_PDAL.copc.laz
When I drag and drop the copc.laz file obtained with PDAL, there is no loss of CRS
So, I assume that Qgis processing don't read ? don't use ? don't write ? the CRS information in copc.laz files
I hope this will help to improve pointcloud processing in QGis
Versions
Version de QGIS
3.40.1-Bratislava
Révision du code
989853a
Libraries
Version de Qt
5.15.13
Version de Python
3.12.7
Version de GDAL/OGR
3.9.3
Version de Proj
9.5.0
Version de la base de données du registre EPSG
v11.016 (2024-08-31)
Version de GEOS
3.13.0-CAPI-1.19.0
Version de SQLite
3.46.1
Version de PDAL
2.8.1
Version du client PostgreSQL
16.2
Version de SpatiaLite
5.1.0
Version de QWT
6.3.0
Version de QScintilla2
2.14.1
Version de l'OS
Windows 10 Version 2009
Extensions Python actives
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: