Skip to content
New issue

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

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

Already on GitHub? # to your account

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

Closed
2 tasks done
ptitjano opened this issue Dec 13, 2024 · 0 comments · Fixed by #60660
Closed
2 tasks done

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

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

Comments

@ptitjano
Copy link
Collaborator

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
ptitjano added a commit to ptitjano/QGIS that referenced this issue Feb 13, 2025
ptitjano added a commit to ptitjano/QGIS that referenced this issue Feb 14, 2025
ptitjano added a commit to ptitjano/QGIS that referenced this issue Feb 14, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Point Clouds
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant