Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to open LAS file with very small X/Y/Z scale #49317

Closed
1 of 2 tasks
saberraz opened this issue Jul 11, 2022 · 1 comment
Closed
1 of 2 tasks

Not possible to open LAS file with very small X/Y/Z scale #49317

saberraz opened this issue Jul 11, 2022 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Point Clouds Upstream Needs changes in an upstream library (like Qt, Proj, GDAL, ...)

Comments

@saberraz
Copy link
Contributor

saberraz commented Jul 11, 2022

What is the bug or the crash?

When I tried to open a las file in QGIS master (3.27), it fails to create COPC laz index. I get the following errors:

Exception: Unable to convert scaled value (2147483648) to int32 for dimension 'Y' when writing LAS/LAZ file.
Exception: Unable to convert scaled value (2147483648) to int32 for dimension 'Y' when writing LAS/LAZ file.
src/core/qgsmessagelog.cpp:29 : (logMessage) [256210ms] 2022-07-11T16:43:59 [1] Failed to calculate statistics of the point cloud my_file.las

Example file is available for debugging.

Steps to reproduce the issue

Open the example file (provided privately) and it fails to index.

Versions

3.26 and 3.27

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@saberraz saberraz added Bug Either a bug report, or a bug fix. Let's hope for the latter! Point Clouds labels Jul 11, 2022
@wonder-sk wonder-sk added the Upstream Needs changes in an upstream library (like Qt, Proj, GDAL, ...) label Jul 11, 2022
@wonder-sk
Copy link
Member

Created upstream ticket: hobuinc/untwine#126

@wonder-sk wonder-sk changed the title Not possible to open las file Not possible to open LAS file with very small X/Y/Z scale Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Point Clouds Upstream Needs changes in an upstream library (like Qt, Proj, GDAL, ...)
Projects
None yet
Development

No branches or pull requests

2 participants