Hello,
With LAS v1.2, the 2 "reserved" bytes in the header are now used for global encoding bits. If I open an LAS 1.2 file with global encoding of 1, this value will not be preserved if I write out the file. There is an issue in the Header::read() method in header.cpp. // 3. Reserved // This data must always contain Zeros. read_n(n2, m_ifs, sizeof(n2)); Should it also set the header right after the read? m_header->SetReserved(n2); Thanks, Ian Collins
_______________________________________________ Liblas-devel mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/liblas-devel
