<div dir="ltr"><div>Hi all,<br><br>in r66823 I've added a mask option to v.in.lidar. One can now import points only in areas specified by the 2D polygons (areas in GRASS) in the vector map. There is a flag -i to import point only outside of these areas. This adds nicely to the existing -r flag (import only in computational region) and spatial option (import only in rectangle specified in the option).<br><br>This new functionality overlaps with basic functionality of v.select. I
don't have a benchmark yet, but if nothing else, one saves some space by
not storing the points for the second time before the spatial
selection.<br><br></div><div>The import by areas can be combined with new additions to v.patch to merge two or more point clouds together.<br></div><div><br></div><div>Tested on some lidar and UAV LAS files, but I was not able to make an automated test yet.<br></div><div><br>Questions: Would raster map as mask make sense in an additional option? Should there be a flag to respect the raster mask? Should the vector map be accompanied by typical where and cats options (perhaps in a guisection Spatial) or would this make the interface too complicated?<br><br></div>I'm attaching also list of recent improvements related to the point cloud support if anybody would like to follow up on that.<br><div><br></div><div>Vaclav<br><br></div><div><br>v.in.lidar: import points only in selected areas<br><a href="https://trac.osgeo.org/grass/changeset/66823">https://trac.osgeo.org/grass/changeset/66823</a><br><a href="https://grass.osgeo.org/grass71/manuals/v.in.lidar.html">https://grass.osgeo.org/grass71/manuals/v.in.lidar.html</a><br><br>v.patch: flags to work without topology and with z<br><a href="https://trac.osgeo.org/grass/changeset/66822">https://trac.osgeo.org/grass/changeset/66822</a><br><br>v.in.lidar: decimation (skip, preserve, offset, limit)<br><a href="https://lists.osgeo.org/pipermail/grass-dev/2015-September/076275.html">https://lists.osgeo.org/pipermail/grass-dev/2015-September/076275.html</a><br><br>v.in.lidar: store return or class as category<br><a href="https://lists.osgeo.org/pipermail/grass-dev/2015-September/076490.html">https://lists.osgeo.org/pipermail/grass-dev/2015-September/076490.html</a><br><br>v.decimate: point cloud decimation of native vector maps<br><a href="https://lists.osgeo.org/pipermail/grass-dev/2015-September/076562.html">https://lists.osgeo.org/pipermail/grass-dev/2015-September/076562.html</a><br>(not yet enabled in the parent Makefile)<br><br>r.in.lidar: read multiple LAS files in one run<br><a href="https://lists.osgeo.org/pipermail/grass-dev/2015-October/077006.html">https://lists.osgeo.org/pipermail/grass-dev/2015-October/077006.html</a><br><br>r.in.lidar: height above ground<br><a href="https://lists.osgeo.org/pipermail/grass-dev/2015-September/076147.html">https://lists.osgeo.org/pipermail/grass-dev/2015-September/076147.html</a><br><a href="https://lists.osgeo.org/pipermail/grass-dev/2015-October/076759.html">https://lists.osgeo.org/pipermail/grass-dev/2015-October/076759.html</a><br><br>#2732: Read lidar data as vector points using PDAL<br><a href="https://trac.osgeo.org/grass/ticket/2732">https://trac.osgeo.org/grass/ticket/2732</a><br><br>#2472: v.in.lidar gives negative point count on large las files<br><a href="https://trac.osgeo.org/grass/ticket/2472#comment:4">https://trac.osgeo.org/grass/ticket/2472#comment:4</a><br><a href="https://trac.osgeo.org/grass/ticket/2472#comment:5">https://trac.osgeo.org/grass/ticket/2472#comment:5</a><br><br>Using layers and categories for something else than ID and class<br><a href="https://lists.osgeo.org/pipermail/grass-dev/2015-September/076552.html">https://lists.osgeo.org/pipermail/grass-dev/2015-September/076552.html</a></div></div>