ESRI banner

SelectRaster

The SelectRaster ISCommand is used for selecting the raster datasets in an image service definition.

The command line is:

ISCommand SelectRaster --ISDef=<PathToISDef> --SelectQuery=<Query to select the rasters>

The table below defines the variables that are required to use this script. Most variables are defined within the script. You can either make an edit to the script or enter the variable at the command line as shown below.

 

Variable

Description/Options

Default

Required

ISDef

Path and name of the image service definition file.

User specified

Yes

SelectQuery

The query. Examples include:

RasterId=''06102415314312900072"
RasterType='SO'

Enter "ALL" to select all records in the image service definition.

If no query is specified, the selection will be cleared, if there is one.

User specified

Yes

Example:

ISCommand SelectRaster --ISDef=c:\test.ISDef --SelectQuery=MaxPS>10.0