New answers tagged

4

Well, it is more complicated than that. Can you read a CHM from ASCII file? Yes, but this is related to the raster package not to lidR. https://stackoverflow.com/questions/20177581/reading-an-asc-file-into-r Can you segment trees from a raster in lidR? Yes some algorithm are raster-based. This is not the case of li2012 you mentioned that is point-cloud based....


2

clipped[i] returns a list with one element. You meant clipped[[i]] with double brackets. Also clipped[i] within paste0() is meaningless. Actually your use case is already covered by the package. Assuming that your shapefile has an attribute PLOTID (replace with something else if needed) ctg <- readLAScatalog("folder/plot_a3.las", filter = "-...


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 ...


Top 50 recent answers are included