[Liblas-devel] How to use a cached reader (c++)

Helimap Postmaster postmaster at helimap.ch
Mon Mar 14 07:54:41 PDT 2016


Hello!

I am currently developing an application which would benefit from using a
buffer when reading a las file.

The C++ API has a CreateCached method in the ReaderFactory, but I can't
seem to discover which is the intended way to use it, there's no reference
anywhere on the documentation, and actually no other method calls it.

Is it as simple as

liblas::ReaderFactory readerFactory;
boost::uint32_t cache_size = 1000;
liblas::Reader reader(lasFStream, cache_size);


Cheers

Pol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/liblas-devel/attachments/20160314/5503429f/attachment.html>


More information about the Liblas-devel mailing list