GeoEco.DataManagement.ArcGISRasters.ArcGISRaster.Move
- classmethod ArcGISRaster.Move(sourceRaster, destinationRaster, overwriteExisting=False)
Moves an ArcGIS raster.
Requires: ArcGIS Pro 3.2.0 or later or ArcGIS Server equivalent to ArcGIS Pro 3.2.0 or later.
- Parameters:
sourceRaster (
str) – Raster to move. Minimum length꞉ 1. Must exist.destinationRaster (
str) – New path for the raster. If this is a file system path, missing directories in the path will be created if they do not exist. Minimum length꞉ 1. Must be different than sourceRaster.overwriteExisting (
bool, optional) – If True, the destination raster will be overwritten, if it exists. If False, aValueErrorwill be raised if the destination raster exists.