Skip to main content
3 events
when toggle format what by license comment
Aug 11, 2023 at 12:58 answer added Spacedman timeline score: 1
Aug 10, 2023 at 19:22 comment added Adam C I found a solution that works for me: l2 <- terra::densify(l,interval =min(res(r))/2, flat=TRUE); p <- as.points(l2); extract2 <- terra::extract(r, p,xy=TRUE); The interval is set at half the resolution of the raster. It doesn't catch every single crossed pixel but will catch most. I found this to be a good compromise.
Aug 10, 2023 at 18:06 history asked Adam C CC BY-SA 4.0