PROBLEM

The Download Rasters tool fails to download

Last Published: February 14, 2023

Description

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 Results window displays the error message returned when the Download Rasters  tool fails to run.

Cause

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.

The image service REST page displaying 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 individually

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.
The raster attribute table displaying the list of OBJECTID, and the Download Rasters tool window displaying the tool's parameters.

Download raster images by batch

Downloading the raster images by batch depends on the limit stated on the REST page of the image service.

The image service REST page displaying the Max Download Image Count and Max Mosaic Image Count properties as a reference to limit raster download by batch.

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
The raster attribute table displaying highlighted 20 OBJECTID.

Article ID:000015708

Software:
  • Developer
  • ArcGIS Server
  • ArcMap 10 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic