R/update.R

setMethod("update", signature(object="SpatRaster"),
	function(object, names=FALSE, crs=FALSE, extent=FALSE) {
		opt <- spatOptions()
		ok <- object@ptr$update_meta(names, crs, extent, opt)
		messages(object, "update")
		invisible(object)
	}
)
rspatial/terra documentation built on Nov. 5, 2024, 5:13 p.m.