Skip to content

Fix bug where chunks containing exactly 10000 points are lost during indexing#607

Open
kallus wants to merge 1 commit into
potree:developfrom
kallus:bugfix-lost-chunk-10000-points
Open

Fix bug where chunks containing exactly 10000 points are lost during indexing#607
kallus wants to merge 1 commit into
potree:developfrom
kallus:bugfix-lost-chunk-10000-points

Conversation

@kallus

@kallus kallus commented Feb 1, 2023

Copy link
Copy Markdown

This is most likely the cause behind issue #597

Before this fix, the created octree.bin is 10000 * bits_per_point bytes smaller than it should be according to the point count and bits per point in the created metadata.json. Thus, the resulting potree point cloud contains 10000 points less than the input las file and than what it says in the metadata.json file.

When the indexer builds the hierarchy, this bug caused recursion to stop when encountering a chunk containing exactly 10000 points, neither recursing down into parts of the chunk nor writing the chunk out to the octree.bin file.

Unfortunately I can not publish the las input files that are affected by this bug.

@m-schuetz m-schuetz added the bug label May 16, 2023
petern-annotell added a commit to petern-annotell/PotreeConverter that referenced this pull request Apr 9, 2024
@FledgeXu

Copy link
Copy Markdown

Any progress? We meet the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants