GeoEco.DataManagement.ArcGISRasters.ArcGISRaster.MoveSilent

classmethod ArcGISRaster.MoveSilent(sourceRaster, destinationRaster, overwriteExisting=False)

Moves an ArcGIS raster and logs a debug message rather than an informational message.

This method does the same thing as the ArcGISRaster.Move() method, except it logs a debug message rather than an informational message. It is intended for use when the raster-move operation is not imporant enough to warrent notifying the user (for example, when an output raster is extracted from a temporary directory to the final location).

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, a ValueError will be raised if the destination raster exists.