Integer Point Cloud Custom Attributes (LAS extra bytes) detected as floating point #54365
Closed
2 tasks done
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Point Clouds
Symbology
Related to vector layer symbology or renderers
Upstream
Needs changes in an upstream library (like Qt, Proj, GDAL, ...)
What is the bug or the crash?
A LAZ point cloud has
Int64
andUInt64
custom attributes (extra bytes), but QGIS interprets the values as floating point, which prevents them from being used asClassification
symbology, and instead must be symbolised usingAttribute by Ramp
.In some file versions exhibiting this behaviour the attribute is interpreted as an integer and appears in the
Symbology > Classification
menu but theClassify
button does nothing when clicked and the list of labels remains empty.Steps to reproduce the issue
Example file exhibiting this behaviour: example.zip. (Note that this is a sanitised clip from a larger file and so statistics may not match the file contents.)
Properties
Information
tabAttributes
table: attributes are typeDouble
Symbology
tabClassification
in first dropdownAttribute
dropdownAttr0
andAttr1
do not appearAttribute by Ramp
in first dropdownAttribute
dropdownAttr0
andAttr1
do appearAttr0
andAttr1
both have a data type icon1.2
for floating point rather than123
for integerFor comparison purposes, check the input LAS file with LAStools
lasinfo
,pdal info
orlaspy
and they all report that the data type is 64-bit signed integer. However, doing the same on the.copc.laz
file that QGIS generates indicates that the data type has changed todouble
, so it seems that the change in data type has likely happened somewhere in the COPC conversion process.Versions
QGIS 3.32.2 via OSGeo4W
Supported QGIS version
New profile
Additional context
The text was updated successfully, but these errors were encountered: