New answers tagged

1

The Intensity int column has the ability to store all the treeID values. There is a slightly different format for copying rows to another and you can find the locations using str(las1). Additionally, some NA values were discovered from points not allocated, which I have remedied below as this initially failed to enable writing the .las successfully. Once ...


3

There is no select, mutate or any other dplyr verbs for LAS objects. LAS objects are not data.frame but... LAS objects. A las file contains a set of core attributes. To save extra attributes such as treeID you must add extra bytes attributes. segment_trees() does it automatically. You can verify that by looking into the header: library(lidR) LASfile <- ...


2

PDAL supports streaming, but not all filters support it. If you don't want to load all of the data into memory at once, you need to use streaming. filters.decimation can support streaming because it doesn't need to consider all of the points to complete its work. For example, the following would keep every tenth point in the file: pdal translate input.las ...


0

I am working with lidar data however my data is in .csv files so easy to manipulate in QGIS. I am able to filter each file and extract any points meeting height criteria which is the same as your problem. It is easy to test with one file and there are 2 stack exchange answers with the information required to automate the process for any number of data files. ...


Top 50 recent answers are included