[GRASS-dev] v.in.lidar return filter

Newcomb, Doug doug_newcomb at fws.gov
Tue Sep 23 05:05:04 PDT 2014


I don't think it was intentional to drop first and only returns, but if it
is the first and only return the filter for First and Last Return would
both match.
Putting another if statement in front along the lines of  if(n_returns ==
1) set case LAS_FIRST should fix it.

Doug


On Mon, Sep 22, 2014 at 6:54 PM, Anna Petrášová <kratochanna at gmail.com>
wrote:

> Hi,
>
> I want to import first return points with v.in.lidar, but I get only
> points where the pulse had more then one return. So it gives me trees but
> not ground or buildings. I looked in the code and there is an 'if' which
> skips points with only 1 return:
>
> http://trac.osgeo.org/grass/browser/grass/trunk/vector/v.in.lidar/main.c#L672
>
> So the behavior looks intentional but what's the reason?
>
> Thanks,
>
> Anna
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>



-- 
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/grass-dev/attachments/20140923/ab850b2e/attachment.html>


More information about the grass-dev mailing list