GeoEco.DataManagement.ArcGISRasters.ArcGISRaster.Copy

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

Copies 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 copy. Minimum length꞉ 1. Must exist.

  • destinationRaster (str) – Copy to create. 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.