hobuinc / laz-perf

Alternative LAZ implementation for C++ and JavaScript
Apache License 2.0
74 stars 44 forks source link

Uncompressed / LAS output is broken #143

Open rafaelspring opened 1 year ago

rafaelspring commented 1 year ago

... due to a bug in writers.cpp

This line https://github.com/hobuinc/laz-perf/blob/9048d0dc394465c07a95d0495178d976b733af6f/cpp/lazperf/writers.cpp#L178

Needs to move one down past the closing } so it applies to both compressed and uncompressed output.

Right now when writing LAS files (by setting chunk size == 0 in the config) the point count in the header is always 0.