I pulled the latest 71 trunk ( 60278) , applied the patch, and the
intensity option appears to work.

Doug



On Fri, May 16, 2014 at 6:02 PM, Markus Neteler <nete...@osgeo.org> wrote:

> (back to an older topic)
>
> On Tue, Oct 8, 2013 at 8:37 PM, Markus Neteler wrote:
> > On Tue, Oct 8, 2013 at 4:31 PM, Markus Metz  wrote:
> >> Markus Neteler wrote:
>
> [ wish for r.in.lidar: ]
> ...
> >>>     filter   Only import points of selected return type
> >>>               If not specified, all points are imported
> >>>              options: first,last,mid
> >>>
> >>> which would be great for r.in.lidar as well to avoid that I need to
> >>> split the file with las2las beforehand.
> >>
> >> Why would you want to do filtering? The r.in.lidar methods min, max,
> >> mean, median, percentile are not sufficient?
>
> For some LAS files not.
>
> > I omitted to mention the sometimes existing classification of returns
> > and had in mind to be able to restrict the import to e.g. ground
> > points only, or the like. Then apply the methods min, max, etc only to
> > the selected subset of LiDAR points.
>
> I have implemented that now in
> http://trac.osgeo.org/grass/changeset/60247/grass/trunk/raster/r.in.lidar
>
> (hope I got it right over from v.in.lidar)
>
> Concerning Doug's intensity wish which also became mine yesterday:
> Attached a patch to import intensity values rather than z values (flag -i).
> Using -i all statistics are applied to intensity.
>
> The code is a bit simple ("ugly") since the variable names further on
> in the code remain related to "z" rather than e.g. become a generic
> "value". Not sure if all related variables should be renamed, hence I
> didn't commit that to SVN.
> Please try from svn + attached patch.
>
> markusN
>



-- 
Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newc...@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.
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to