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

Untwine fails to convert a txt pointcloud to a COPC #59887

Open
2 tasks done
ptitjano opened this issue Dec 13, 2024 · 0 comments
Open
2 tasks done

Untwine fails to convert a txt pointcloud to a COPC #59887

ptitjano opened this issue Dec 13, 2024 · 0 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Point Clouds

Comments

@ptitjano
Copy link
Contributor

ptitjano commented Dec 13, 2024

What is the bug or the crash?

When trying to load a simple pointcloud from a txt file, untwine fails to convert it to a copc file with the following error

Untwine Error: Unable to convert scaled value (4738500000) to int32 for dimension 'X' when writing LAS/LAZ file.
src/providers/pdal/qgspdalindexingtask.cpp:122 : (runUntwine) [19009ms] [thread:0x55e3fe82a150] Untwine error: Untwine exited with code: 65280
src/core/qgsmessagelog.cpp:40 : (logMessage) [2ms] 2024-12-13T19:06:06 Messages[2] Couche cloud3 : Untwine error: Untwine exited with code: 65280

This can be easily reproduced with this sample:

X Y Z Red Green Blue
473850.0 637.0 67.8 0 246 8

cloud3.txt

I tried with untwine from master and it works. The issue has been fixed by this commit: hobuinc/untwine@0c3207d

Would it be possible to update untwine to fix this issue?

cc @uclaros @wonder-sk

Steps to reproduce the issue

  1. Start QGIS
  2. Try to open file from pointcloud source
  3. error

Versions

QGIS 3.41 master and QGIS 3.40

Supported QGIS version

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

New profile

Additional context

No response

@ptitjano ptitjano added Bug Either a bug report, or a bug fix. Let's hope for the latter! Point Clouds labels Dec 13, 2024
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
Projects
None yet
Development

No branches or pull requests

1 participant