gadomski / las-rs

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

Support for WKT CRS (global encoding bit 4) not avaialble for point types 0-5 #66

Closed georgeboot closed 7 months ago

georgeboot commented 7 months ago

I believe support for WKT CRSes is missing. This is enabled for all new point types (6-10) and optional for the other point types (0-5).

In the current implementation, this bit is set only for the point types 6-10, but it should also be available for point types 0-5.

https://github.com/gadomski/las-rs/blob/bea51e5a28b2f15e1ffe8503d94c591d827deace/src/header/mod.rs#L537-L539

gadomski commented 7 months ago

Good catch, thanks! Fix in https://github.com/gadomski/las-rs/pull/67.