The code worked with old versions of R and lidR on my system, but doesn't with the new versions and functions.
running the code results in following error:
library(lidR) so_sample_las <- readLAS("so_sample_las.laz") tree.hulls <- lidR::delineate_crowns(so_sample_las, type="concave", attribute="treeID") #> Error in (function (cond) : #> error in evaluating the argument 'x' in selecting a method for function 'addAttrToGeom': Evaluation error: #> IllegalArgumentException: Invalid number of points in LinearRing found #> 3 - must be 0 or >= 4.
As the code seems to work on other systems, it doesn't at mine. What could be the problem?
Windows 10
R 4.1.1
lidR 4.0.1
all packages updated
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4