Closed Jean-Romain closed 1 month ago
Reproducible with simple raster and a buffer (v 0.10.0
). Buffer removal applied to the raster does not account for the shape of the data and is always based on a rectangle.
library(lasR)
f <- system.file("extdata", "Topography.las", package = "lasR")
ans <- exec(reader_las_circles(273500, 5274500, 20) + rasterize(2, "z_mean"), on = f)
terra::plot(ans)
ans <- exec(reader_las_circles(273500, 5274500, 20) + rasterize(2, "z_mean"), on = f, buffer = 50)
terra::plot(ans)
Created on 2024-07-24 with reprex v2.1.0
Fixed
Created on 2024-07-24 with reprex v2.1.0
Originally posted by @wiesehahn in https://github.com/r-lidar/lasR/issues/79#issuecomment-2247195682