Closed petrasovaa closed 1 year ago
Currently, the overwrite = TRUE in write_RAST doesn't work when SpatRaster is used. This PR should fix that.
overwrite = TRUE
write_RAST
SpatRaster
There are some inconsistencies between write_RAST and write_VECT API regarding overwriting:
write_VECT
write_VECT(x, vname, ..., flags="overwrite") write_RAST(x, vname, ... , flags=NULL, overwrite=FALSE, verbose=TRUE)
so ideally this should be standardized.
Currently, the
overwrite = TRUE
inwrite_RAST
doesn't work whenSpatRaster
is used. This PR should fix that.There are some inconsistencies between
write_RAST
andwrite_VECT
API regarding overwriting:so ideally this should be standardized.