Closed hugoledoux closed 4 years ago
The bug is in las-rs,
For LAZ files, laszip sets the most significant bit of the point format to 1 in the header to indicate compressed data, so for point format 1 the point format id becomes 1000_0001 (129) when it's a LAZ file.
The problem here is that in las-rs we return this compressed point format id in the public interface instead of returning the proper id and keeping the compressed fmt id internally only
Same file in LAS and LAZ gives different answers; LAS is correct, LAZ obviously wrong since format>10.
Not sure if this is a bug here or for https://github.com/tmontaigu/laz-rs?
=> 1 => 129