Adding .RPDefs to an image service definition using the Add Data Wizard
When you add the raster dataset to an image service definition, a raster process definition (.RPDef) is created that encapsulates the definition of the raster dataset. The only information about a raster dataset that is not included in the .RPDef is the actual pixel values; instead, these are explicitly referenced. In the image server, whenever a raster dataset is used to create a requested image, the service provider obtains all details on how to access and process the pixels using the properties defined in the .RPDef. Metadata about the raster dataset sent to the client application is also included in the .RPDef.
Learn more about the raster process definition
These .RPDef files can be moved, removed from an image service, or added to another image service to manage the raster datasets contained in an image service definition. You can save time by adding the .RPDef files to an image service rather than adding the original raster dataset because the raster dataset does not have to be queried and an .RPDef file does not have to be written.
In some cases, an .RPDef file may be provided by the raster data vendor.
- Open an image service definition in ArcMap.
-
Click the Image Service drop-down menu on the Image Service Definition Editor toolbar and click Add Data.
The Add Data Wizard is displayed.
- Click Next.
-
Click Select Raster Type.
The Select Raster Type dialog box is displayed.
- Scroll down the list and double-click Raster Process Definition files.
-
Optionally, click File.
- The Input Folder option can be used to choose a folder containing multiple raster files.
- The Input File option can be used to choose a single raster file.
- Click the Input browse button and select the file or folder with the needed data.
-
Optionally, uncheck Recursively search subdirectories.
When checked, this option lets you search for rasters in folders contained within the selected folder.
-
Optionally, check Use this spatial reference for all input data.
If checked, click the browse button to choose a spatial reference for the input data.
- Click Next.
- Optionally, click Yes if you want to add more data to your image service definition and click Next.
- Optionally, uncheck Generate overviews if you do not want to optimize the image service definition.
- Optionally, uncheck Compile the service for publishing if you do not want to compile the image service definition.
- Click Next.
- Click Finish.