Closed Pakillo closed 4 years ago
Try to speed up masking a raster:
Parallelise (using cluster)
Fasterise the sf/sp to raster (if necessary) and use overlay rather than mask? (overlay(x, y, fun = function(x, y) {ifelse(is.na(y), NA, x)})
Try to speed up masking a raster:
Parallelise (using cluster)
Fasterise the sf/sp to raster (if necessary) and use overlay rather than mask? (overlay(x, y, fun = function(x, y) {ifelse(is.na(y), NA, x)})