[GRASS-dev] [GRASS-user] r.to.vect stats

Martin Landa landa.martin at gmail.com
Fri May 5 07:03:17 PDT 2017


Hi,

2017-05-05 15:23 GMT+02:00 Vaclav Petras <wenzeslaus at gmail.com>:
> Before it gave expected result for points with Z, e.g. in full NC loc:
>
> r.vect.stats in=elev_lid792_bepts out=ground
>
> Now it gives error (likely due to column=options['column']), but more

right, it needs to be fixed (checking if input is 2D or 3D).

> importantly, other binning modules (r.in.lidar, r.in.xyz) have mean as
> default, so we need to be careful not to be inconsistent and produce
> expected results. Can this have no default? Or perhaps the "use" paradigm as

Mean value of cats if input is 2D is misleading in any case.

> with other modules such as v.to.rast is appropriate here (use=attr|cat|z),
> then again we have the issue of default value versus no value for default,
> but at least it is general enough to accommodate both XYZ point clouds and
> points with attributes.

Would make sense to me. Thanks for staring this module. I was
surprised that such tool did not exists in GRASS. Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the grass-dev mailing list