-
Notifications
You must be signed in to change notification settings - Fork 9
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
Cannot read E57 file #12
Labels
bug
Something isn't working
Comments
I tried to reproduce a file with the same content using the Rust library itself. It fails with the same error, but I am not sure if its really the same issue. Here is the Rust test case:
|
cry-inc
added a commit
that referenced
this issue
Oct 7, 2024
cry-inc
added a commit
that referenced
this issue
Oct 7, 2024
cry-inc
added a commit
that referenced
this issue
Oct 7, 2024
…nerate for elements with a zero bit size. The old broken code only considered number of bits read from the file while ignoring the bits that were already in the byte stream buffer.
Both code snippets above triggered the same bug in the reader. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the C++ code used to create a reproduction case using the libe57format library (latest version 3.2.0):
It fails with the error "Invalid E57 content: Found unknown packet ID when trying to read packet header" when trying to read the very last point in the file.
CloudCompare and other applications can read this file without errors. The libe57format library can be also used to read all points from that file without issues.
The text was updated successfully, but these errors were encountered: