Closed zzk112233 closed 1 year ago
Please report a minimal reproducible example
Here is example:
library("lidR")
lidR 4.0.1 using 6 threads. Help on <gis.stackexchange.com>. Bug report on <github.com/r-lidar/lidR>.
las <- readLAS("G:\LiDAR数据\近自然经营LiDAR数据\预处理数据\裁切\YW\新建文件夹\0.02 pre_ YW01CKK_2022_12.las")
summary(las)
Error in if (is.na(units)) "units" else units :
argument is of length zero
print(las)
Error in if (is.na(units)) "units" else units :
argument is of length zero
Can you share the file or a subset of the file that allow to reproduce.
Fixed but your CRS seems invalid
Dear author: When I use summary() or print () to check point cloud basic information, R always reports error : Error in if (is.na(units)) "units" else units : argument is of length zero. Can you tell me how to end this error? Looking forward to your reply! Thank you~