PROBLEM
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, as shown in the following image.
Download the rasters individually or by batch, depending on the download limit of rasters on the REST page of the image service.
Use the following expression in the Expression (optional) text box of the Download Rasters tool to download the raster image individually:
"OBJECTID" = the OBJECTID number of the raster
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.
Downloading 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 that starts from 201 to 220:
"OBJECTID">200 AND "OBJECTID"<=220
Article ID: 000015708
Get help from ArcGIS experts
Download the Esri Support App