gadomski / las-rs

Read and write ASPRS las files, Rust edition.
MIT License
73 stars 32 forks source link

Fix EVLR decoding for laz files #50

Closed froody closed 2 years ago

froody commented 2 years ago

offset_to_end_of_points() is wrong for compressed files because it deals with the uncompressed size. This change fixes EVLR decoding to handle laz files.

froody commented 2 years ago

I tried to fix the tests but got stuck on offset_to_end_of_points as there's no good way that I can see to implement it for compressed files.

gadomski commented 2 years ago

Ok, thanks for trying. If you're abandoning this PR, could you close this and open an issue describing the problem so we can track and possibly fix in the future? Thanks! 🙏

gadomski commented 2 years ago

NVM looks like we already have an issue for this: https://github.com/gadomski/las-rs/issues/39. No action required from your side.