<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 5, 2017 at 3:55 AM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id="gmail-:17o" class="gmail-a3s gmail-aXjCH gmail-m15bd79aee13b2e79">BTW, meanwhile I changed in r71022 default<br>
method from 'mean' (module was calculating mean value of categories)<br>
to 'n' (number of points in cell).</div></blockquote></div><br></div><div class="gmail_extra">Before it gave expected result for points with Z, e.g. in full NC loc:<br></div><div class="gmail_extra"><br>r.vect.stats in=elev_lid792_bepts out=ground<br><br></div><div class="gmail_extra">Now it gives error (likely due to column=options['column']), but more importantly, other binning modules (r.in.lidar, <a href="http://r.in.xyz">r.in.xyz</a>) 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 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.<br></div></div>