Replies: 2 comments 2 replies
-
This is my script, thank you for the help!: library(lidR)
library(treetop)
library(raster)
library(rgdal)
# Check memory limit
memory.limit()
# Change memory limit
memory.limit(size = 56000)
chm_disk<- raster("C:/Users/ezxph2/OneDrive - The University of Nottingham/MRes/dissertation/Data/LiDAR/chm_clean2.tif")
chm_memory <- readAll(chm_disk) #put chm onto memory
ttops <- locate_trees(chm_memory, lmf(3))
st_crs(ttops)#identify crs
st_crs(chm_memory)
ttops <- st_transform(ttops, st_crs(chm_memory)) #ensure coordinate reference system are the same
crowns <- silva2016(chm_memory, ttops)() |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am attempting to use the silva2016 package:
however this error comes up:
However both coordinate systems are the same.
Beta Was this translation helpful? Give feedback.
All reactions