Closed jmmonnet closed 3 years ago
To tell the truth I put this limit to be very sure to do no segfault. But I can remove the limitation that sometime annoy me too.
There we go. I removed this limitation. Let me now if it works as expected.
By the way I did not tag you in this discussion because your package is on the irstea's gitlab and did not know your name here. Please take note of what I wrote there. In practice it should not affect you but who knows... If you are using code like las@proj4string
or lasctg@polygons[[1]]@area
or writeRDS(las)
please stop now and use dedicated functions
Thank you for the information regarding the upcoming changes in lidR and the fix in grid_canopy. And thank you very much for lidR. It has made my research so much easier...
Hi,
grid_canopy returns an error when the point extent (las argument) is larger than the target extent (res argument supplied as rasterLayer).
If the point cloud is cropped beforeward then the output is ok. The function
grid_terrain
runs without problem in any case.Here is some code to reproduce this error: