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>

Note: If the values of the command line parameters contain white spaces, the values must be specified within double quotes.

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 used to select the rasters.

 

For string values, make sure it is mentioned within the single quotes in addition to the double quotes used for the whole expression.

 

Example:

 

SelectQuery="RasterId='06102415314312900072'"
SelectQuery="RasterType='SO'"

 

Numeric values can be entered without single quotes.

 

Example:

SelectQuery="MaxPS>10.0"
SelectQuery="MaxPS<10.0"

 

Enter "ALL" to select all raster process definition files.

SelectQuery="ALL"

String

Yes

Example:

ISCommand SelectRaster --ISDef=c:\Test1.ISDef\imageservice.isdef --SelectQuery="MaxPS>10.0"