ArcGIS Online imagery layers sometimes have associated processing templates, called raster function templates. Any number of raster functions can be included in a processing chain and saved as a custom raster function template associated with an image layer. In these cases, you can select from one of the predefined custom processing templates for display. For example, a multispectral imagery layer can be published with a colorized NDVI processing template, which allows you to visualize NDVI data as you roam and zoom the layer.
Use a processing template
Dynamic imagery layers that are generated from image services are often created with one or more custom processing templates. Processing templates are preset display settings or raster function chains associated with imagery layers. For example, the Seafloor Temperature (°C) imagery layer in ArcGIS Living Atlas is published with a cartographic renderer as well as a renderer that converts Celsius to Fahrenheit, and one that converts Celsius to Kelvin. These are not separate imagery layers; rather, it is one imagery layer that can be displayed with different custom processing templates. You can display the imagery layer with any of the predefined processing templates.
To use a predefined processing template to display an imagery layer, complete the following steps:
- Confirm that you are signed in and, if you want to save your changes, that you have privileges to create, update, and delete content.
Note:
You can explore maps, add and configure layers, and more without signing in. To save your work, sign in before creating a map. - In Map Viewer, open the map containing the layer or add the layer directly.
- On the Settings (light) toolbar, click Processing templates .
The Processing templates pane appears, listing all the processing templates associated with the image layer.
- Optionally, click the Import user defined template to add in a raster function template not added to the imagery layer.
- Click to add the selected raster function template to the list to be applied to the imagery layer.
- Choose the predefined processing template to use to render the imagery layer.
- Click Done to close the Processing templates pane.
Note:
For tiled imagery layers, processing templates cannot be added to the imagery layer, so this list will only contain a processing template called None.
Beta:
Processing templates can also be added to tiled imagery layers using the same process as dynamic imagery layers. Once it's added to a tiled imagery layer, the processing template can be used to visualize the imagery layer in the web map.
Managing processing templates
When in a web map in Map Viewer, any processing templates applied to imagery layers in a web map will appear in the Processing templates tab in the Settings toolbar. By default, the processing template for imagery layers will be listed as None and once a processing template has been added it will appear in the list. After it is added to the list, you can choose between the imported processing templates to display the imagery layer in the map.
Once you have successfully applied a raster function template as a processing template and saved the web map that processing template will appear as an option for that imagery layer in the Processing templates list. For dynamic imagery layers, any processing templates added to the imagery layer will also appear there.
Adding processing templates to a dynamic imagery layer
Raster function templates added to dynamic imagery layers will appear as processing template options when the imagery layer is added to a web map. These added raster function templates can be accessed within the Processing templates tab as described above. To add a raster function template to your dynamic imagery layer, follow these steps:
- Sign into your organization and open the item page for the dynamic imagery layer.
- Select the Settings tab and navigate to the Imagery Layer (hosted) section.
- Within the Imagery Layer (hosted) section, click the Choose Raster Function Template button.
All of the raster function templates created within your My Content tab will be visible by default.
- Navigate to the raster function template that you want to add to the dynamic imagery layer and click Select.
Any added raster function templates will appear in the list of Raster functions and will be available to choose from when added to a map.
- Click Save to save any changes to the list of available processing templates.