<div dir="ltr"><div><div>Hi all,<br><br></div>in r66181 I've added a simple decimation to v.in.lidar. It reduces number of imported points by skipping or limiting number of imported points. Here are the new options:<br><br>skip<br>Do not import every n-th point. For example, 5 will import 80 percent of points. If not specified, all points are imported.<br><br>preserve   <br>Import only every n-th point. For example, 4 will import 25 percent of points. If not specified, all points are imported.<br><br>offset<br>Skip first n points. Skips the given number of points at the beginning.<br><br>limit<br>Import only n points. Imports only the given number of points.<br><br></div><div>Note that the skipping is happening after return, class, and region 
filters. It seems a bit slower since all these tests happen and then you
 skip the point anyway but on the other hand, you are selecting every 
n-th point from the class/return/region you actually care about.<br><br></div><div>With this kind of decimation, the points you get at the end depends on how the points are stored in the file.<br></div><div><br></div>Please let me know what you think.<br><div><br></div><div>Vaclav<br></div><div><br><a href="https://trac.osgeo.org/grass/changeset/66181">https://trac.osgeo.org/grass/changeset/66181</a><br><br></div><div>PS: The documentation will hopefully follow.<br></div></div>