On 14/07/10 18:09, Howard Butler wrote:
On Jul 14, 2010, at 11:39 AM, Mateusz Loskot wrote:
Boost also provides many other interesting possibilities, but for
now, I will try to limit the requirements to header-only
libraries.
What's the state of the large files and streams issue?
Mostly untouched at this point<http://trac.liblas.org/ticket/147>.
This is only a problem when *seeking* to the end of the file to
determine how many points are in it, and even then only in the case
where we're updating an existing file's header, not writing into a
new file. This all only happens in the case where the file is
greater than 4gb on Windows/OSX/Linux.
I think the most reasonable option is to just believe what the header
says in that case, and if the user updating a header on an existing
file is not keeping track of the point count, it's their own fault.
LAS 1.3 files can have waveform data after the point data, so this
strategy of seeking to the end of the file and subtracting the header
to determine the number of points isn't going to be valid anymore.
We're going to need to believe the header's point count and size
information to get the count.
I think this strategy will do best indeed.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel