Problem: The Download Rasters tool fails to download
In ArcMap, when downloading raster from an image service using the Download Rasters tool, the tool fails with the following error message:
Error: Tool failed because there are no selection is defined and no feature/extent is defined.
The tool fails because the service has a limited number of rasters that can be downloaded at a time.This parameter is visible on the REST page of the image service as the Max Download Image Count and Max Mosaic Image Count properties.
Solution or Workaround
Download the rasters individually or by batch, depending on the download limit of rasters on the REST page of the image service.
Download raster images individuallyUse the following expression in the Expression (optional) text box of the Download Rasters tool to download the raster image individually:
"OBJECTID" = the number of OBJECTID
Note: The following image shows an example of downloading an individual raster image with the OBJECTID = 192. The value of OBJECTID may vary depending on the data in the image service.
Download raster images by batchDownloading the raster images by batch depends on the limit stated on the REST page of the image service.
For example, if the limit number is 20, the following expression downloads 20 raster images with the OBJECTID starts from 201 to 220:
"OBJECTID">200 AND "OBJECTID"<=220
- ArcGIS Help: Download Rasters
- ArcGIS Help: Downloading data from an image service
- ArcGIS Help: Fundamentals of ObjectID fields
- ArcGIS Pro Help: Download Rasters