BuildCellSizeRanges
The BuildCellSizeRanges ISCommand is used to calculate the cell size ranges of an image service definition. You can override the parameters and the values by specifying them as options in the command line.
The command line is:
ISCommand BuildCellSizeRanges --ISDef=<PathToISDef> --WhereClause=<Query> --OverviewMaxFactor=<number> --OnlyMaxPixelSize=[True|False] --DebugMode=[True|False]
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 defined |
Yes |
WhereClause |
Defines the selection set to be used building the boundary. |
User defined |
No |
OverviewMaxFactor |
Controls the factor by which the maximum pixel size of the top-most service overview is multiplied to ensure visibility of the image service when viewed at small scales. |
50 |
No |
OnlyMaxPixelSize |
Allows only maximum pixel size values to be recomputed. This option is used internally while defining service overviews and must remain disabled during regular use of this command. |
False |
No |
DebugMode |
Allows generation of intermediate files in the 'BuildCellSizeRanges' sub-folder inside the ISDef folder. This property is used while troubleshooting the computation of cell-size ranges of the image service. |
False |
No |
Example:
ISCommand BuildCellSizeRanges --ISDef=c:\Test2.ISDef\ImageService.ISDef --OnlyMaxPixelSize=False