[pdal] Migrating from libLAS
Newcomb, Doug
doug_newcomb at fws.gov
Wed Sep 2 05:15:42 PDT 2015
Does this mean that with the new version of r.in.lidar using pdal that the
file size that can be read in will be limited by the amount of memory on my
computer?
I currently use r.in.lidar with liblas and can process aggregated las
files with up to 4.2 billion points with memory usage limited by the amount
of map in memory parameter. ( The type of the analysis cell size and extent
also affect memory usage)
The current lidar data sets I have for eastern North Carolina have a point
density of 2 points / meter ( USGS QL2) , or about 6-10 billion points per
county. The next phase of data collection for North Carolina ( foothills)
will be delivered at 8 points per meter ( USGS QL 1) . The technology can
deliver up to 100 points per meter.
Would continuing to keep all the points for a file in memory lead to
smaller and smaller physical tile sizes as point densities increase?
I was hoping that the move to pdal would allow a move to las 1.4 format
with more points per file than 4.2 billion to reduce having to deal with
tile edge effects.
Or is it too early in the morning and my caffeine hasn't kicked in yet and
I'm not seeing something obvious?
Doug
On Tue, Sep 1, 2015 at 10:53 PM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
> Hi all,
>
> I'm porting GRASS GIS's r.in.lidar module [1] (which is using libLAS) to
> PDAL and I think I can write a migration guide. Do you think it should go
> to the docs? If yes, where? You can view the current state in my fork [2].
> Unfortunately, it is transitioning from libLAS's C API to PDAL C++ API
> since r.in.lidar is using the C API.
>
> I have several questions/TODOs in file [2] (feel free to review them).
> However, now I would like to ask about iterating over the points in the
> dataset. I do it in the way that I call execute on the reader and then I
> iterate over points in PointView. It seems to me that I'm going over the
> dataset two times, one reading and then my writing instead of just reading
> and writing at the same time as in case of libLAS API. It also seems that
> all points are loaded in the memory, should I then check some limitations
> or add some error handling?
>
> Thanks,
> Valcav
>
> PS: I'm also working on extending FAQs on that topic [3].
>
> [1]
> https://trac.osgeo.org/grass/browser/grass/trunk/vector/v.in.lidar/main.c
> [2]
> https://github.com/wenzeslaus/PDAL/blob/liblas-to-pdal-transition/doc/tutorial/liblas_to_pdal.rst
> [3]
> https://github.com/wenzeslaus/PDAL/blob/liblas-to-pdal-transition/doc/faq.rst
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pdal
>
--
Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb at fws.gov
---------------------------------------------------------------------------------------------------------
The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of the
Interior. Life is too short for undocumented, proprietary data formats.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20150902/9a58886b/attachment.html>
More information about the pdal
mailing list