Processing templates are used to generate on-the-fly information layers. When you create a function chain, it's often built from a specific dataset; however, you can also use a raster variable in place of that dataset so it can be applied to similar datasets. When you use that variable, the function chain is now referred to as a processing template. Vegetation indices, elevation products (such as slope, aspect, and hillshade), and image classification results are just a few of the kinds of information layers you can derive using raster functions. You can add processing templates to a mosaic dataset or any supported raster dataset, including multidimensional data, allowing you to display your imagery as information layers. This is similar to publishing an image service with processing templates.
Add an existing template to a dataset
- In the Catalog pane, locate the raster dataset or mosaic dataset to which you will add processing templates.
- Right-click the dataset and click Manage Processing Templates. This will open the Manage Processing Templates pane.
- To add an existing template to your dataset, click the Import button and browse to an existing processing template on disk, which has an .rft.xml extension.
Create a template
- In the Catalog pane, right-click the raster dataset or mosaic dataset and click Manage Processing Templates. This will open the Manage Processing Templates pane.
- To create a template, click Create New Template from Options . This will open the Processing Templates Editor. Create a template and click Save to add it to your dataset.
Generate a thumbnail for a template
- Add the raster dataset or mosaic dataset to a map.
- In the map, zoom in to an area from which you would like to generate the thumbnail.
- In the Catalog pane, right-click the dataset and click Manage Processing Templates. This will open the Manage Processing Templates pane.
- In Options , click Generate Thumbnails. This will generate thumbnails for all your templates, based on the current map extent.
Manage templates
The Templates section contains all the templates associated with the dataset. This includes the Default Template, which will be at the top of the list. You can move templates up and down in this section by dragging them. This ordering will be the same in the Processing Templates gallery on the Data tab.
There are many more options that can be performed in the Manage Processing Templates pane:
- Change the default processing template by selecting the Set As Default button on the desired template. If you don't want a default template to be applied, make None the default template.
- Each template can be edited by selecting the Edit button on the individual template. This will open the Function Editor. Edit the template and click Save when you are finished.
- The properties of individual templates can be edited by selecting the Edit Properties button . This opens the Edit Properties dialog box.
- Templates can be exported and saved to disk using the Export button .
- Templates can be removed from the dataset using the Delete button .
- Thumbnails for individual templates can be generated using Generate Thumbnail From Map Extent . This will generate a thumbnail based on the current map extent, with the template applied.
- Thumbnails can be removed from each template on the Edit Properties dialog box, using the Delete button .