Closed vincentBenet closed 2 days ago
I suspect this might be the Untwine version that's being used. I tested it in
https://github.com/laspy/laspy/issues/311
using the latest Untwine https://github.com/hobuinc/untwine/commit/255d30b0ca6aec8100405b382f66a42fc4e59e1c and it works as expected.
Nice @hobu ! If I understand correctly, you have runned QGIS with modified source code and having untwine version updated. By doing so, the shuffle is not present anymore when you drag'n drop the las file in QGIS layer panel ?
I did not test QGIS at all, just Untwine which is what QGIS uses to create the COPC file when you drag-n-drop data onto it. I suspect the version of QGIS you are using is using an older version of Untwine that may have had issues with extra byte dimensions. I hope one of the QGIS devs can report what Untwine version is currently used by QGIS 3.34.5 LTS.
Apparently the 3.34 branch is using a version of untwine that is a couple commits before v1.0.0 ... I wouldn't vouch for backporting latest untwine to the lts branch, especially after the changes in classFlags handling.
I'm closing this as it's both fixed upstream and pulled into latest qgis version 3.38
[Linked to Laspy issue: https://github.com/laspy/laspy/issues/311]
What is the bug or the crash?
Custom attributs are shuffle when LAZ file is open by QGIS. File are created using laspy package.
The shuffle seems to depends on the number of attributes, OS and QGIS version.
Steps to reproduce the issue
Open the file using QGIS with drag'n drop
Open a point attributs and see error with shuffle values
By opening theses values with laspy the order is correct:
Versions
QGIS 3.34.5 LTS laspy 2.5.3
Supported QGIS version
New profile
Additional context
LAS & LAZ files : files.zip