On Dec 2, 2010, at 1:57 PM, Black, Tim wrote:
> For a quick fix here, I’ve add an “else” block locally:
> if (m_pointCount != 0)
> {
> m_ofs.seekp(0, std::ios::end);
> }
> else
> {
> m_ofs.seekp(0, m_header.getDataOffset();
> }
>
I have created <http://trac.liblas.org/ticket/195> as record of this problem,
and it has been fixed in
<http://trac.liblas.org/changeset/16c33aa5bf9d1b371716930ef17b7e40688d3350>
with a test case added to the test suite to continually test this scenario. It
will be released as part of 1.6.0b3.
Thank you for the report, and I'm sorry if you had to burn a bunch of time
digging into it.
Howard_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel