AddRPDefs

The AddRPDefs ISCommand is used to add a raster process definition (.RPDef) file to an image service definition.

The command line is:

ISCommand AddRPDefs --ISDef=<PathToISDef> --Folder=<PathToFolder> --Files=<PathToFile> --Recursive=[Yes|No]

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 to which you want to add the RPDef file.

User specified

Yes

Folder

Path and name of the folder containing the RPDef files.

User specified

If Folder=Yes, File=No.

If Folder=No, File= Yes

Files

One or more files.

User specified

If Folder=Yes, File=No.

If Folder=No, File= Yes

Recursive

Search folders recursively.

Yes, No

Yes

No

Example:

ISCommand AddRPDefs --ISDef=c:\Test2.ISDef\ImageService.ISDef --Folder=d:\rasters --Recursive=Yes