[Liblas-devel] Updating header information when writing a .laz file

Howard Butler hobu.inc at gmail.com
Thu Oct 27 10:35:58 EDT 2011


On Oct 27, 2011, at 9:09 AM, Martin Isenburg wrote:

> hi.
> 
> not sure at which point in liblas the call "LASzipper::close()" is
> happening. but if you move the stream pointer to update the LAS header
> before that call then you will corrupt the LAZ output. the
> "LASzipper::close()" flushes the remaining compressor bytes and writes
> the chunking table. so if you move the stream pointer, make sure you
> move it back.

Peder,

If we can boil this down to a test case, we should put it in the test suite too. 

Howard



More information about the Liblas-devel mailing list