Closed natedailey7 closed 1 year ago
R_OUTPUT_FILES <- "R_Outputs"
opt_output_files(ctg) <- R_OUTPUT_FILES
Your path is not templated. So it processes the first LAS file, writes it in R_ouput.tif
then the second LAS file also in R_output.tif
and erases the first raster. Use the name of the LAS files to name your rasters
R_OUTPUT_FILES <- "{ORIGINALFILENAME}_chm"
opt_output_files(ctg) <- R_OUTPUT_FILES
I could have answered on stack exchange if you provided a reproducible code :wink: :
AMAZING!! Worked perfectly -- Thank you so much 😄
When I use
rasterize_terrain()
to create a DTM based on a LAScatalog, only the last tile is shown in my output. The same happens when I usenormalize_height()
. This is a continuation of a GIS Stack Exchange post here.I uploaded my data (2 las files) along with my script to Google Drive here.
Let me know if you have any ideas or suggestions -- thank you.