HOW TO

Apply a raster function template to symbolize classified data in a mosaic dataset or image service published from ArcGIS Pro

Last Published: April 25, 2020

Summary

Symbolizing classified data is useful for data analysis. A raster function template can be saved from the layer's symbology and applied on a mosaic dataset or image service published from ArcGIS Pro. However, this results in the image displayed with the RGB Composite renderer by default. This is a known limitation. Refer to BUG-000110154.

To symbolize classified data on a mosaic dataset or image service published from ArcGIS Pro, the raster function template created must include a function chain of a mosaic dataset layer, Colormap function and Remap function.

Procedure

The workflow below describes how to create a raster function template with a function chain that includes a mosaic dataset layer, Colormap function and Remap function to symbolize classified data in a mosaic dataset or image service published from ArcGIS Pro.

Note:
For the publishing of the mosaic dataset in this workflow, ArcGIS Image Server is required. 

Add the mosaic dataset layer, Colormap function and Remap function to the raster function template

  1. Add the mosaic dataset to the map.
  2. Create a raster function template. Click the Analysis tab, and select Function Editor.
  3. Add the mosaic dataset layer to the raster function template. Drag the mosaic dataset layer from the Contents pane to the Raster Function Template window.
  4. Add the Remap function to the raster function template.
    1. Click the Raster Functions Raster Functions button button in the upper right corner of the Raster Function Template window.
    2. In the Raster Functions window, click System > Conversion. Drag the Remap tool into the Raster Function Template window.
  5. Add the Colormap function to the raster function template. In the Raster Functions window, click System > Conversion, and drag the Colormap tool into the Raster Function Template window.
  6. Connect all the items in the Raster Function Template window using the cursor.
Raster function template with a chain function

Generate and save a colormap file

  1. In the Contents pane, right-click the dataset, and click Symbology.
  2. Under Primary symbology, click the drop-down button, and select Unique Values.
  3. In the Values tab, click a value under the Value or Label column in the table to select it. Hold the Shift key while selecting multiple values (according to the classified symbology values) using the down arrow key.
Symbology using Unique Values
  1. Right-click the selected values, and select Format symbol(s). Select the desired color.
  2. Click the Options Options button icon, and select Export colormap.
  3. In the Export colormap window, specify a name for the colormap file in the Name section.
  4. Save the file as Colormap Files (.clr).

Configure the Remap function and Colormap function, and export the raster function template file

  1. Configure the Remap function.
    1. Right-click the Remap box, and select Properties.
    2. Edit the table in the Remap Properties window according to the values of the classified symbology. Click OK.
Remap function table
  1. Configure the Colormap function by adding the colormap file in it.
    1. Right-click the Colormap box in the Raster Function Template window, and click Properties.
    2. Click Parameters. Under Colormap, click the Folder icon and insert the colormap file (.clr) created previously.
    3. In the Colormap Properties window, click OK.
  2. Save the raster function template to make it available in the list of Custom Raster Functions.
    1. In the Raster Function Template window, click Save As.
    2. In the Save As window, specify a name for the template under the Name box.
    3. Provide some details in the Description box, and click OK.
  3. Export the raster function template file.
    1. Click the Raster Functions Raster Functions button icon on the upper right corner of the Raster Function Template window.
    2. In the Raster Functions pane, click Custom. Right-click the created raster function template, and click Export.
    3. In the Export window, specify a name for the template under Name and ensure the format is Raster Functions. Click Save.

Apply the raster function template to the mosaic dataset in the map or when publishing it as an image service

  1. Apply the raster function template to the mosaic dataset in the map.
    1. Click Catalog Pane. In the Catalog window, right-click the mosaic dataset, and select Manage Processing Templates.
    2. In the Manage Processing Templates window, click the Import Import icon icon on the left of the Find Processing Templates box.
    3. In the Select Processing Templates window, select the created raster function template, and click OK.
  2. Alternatively, apply the template to the mosaic dataset when publishing it as an image service.
    1. Click Catalog Pane. In the Catalog window, right-click the mosaic dataset, and select Share As Web Layer.
    2. Click Configuration, and under Layer(s), click the Configure Web Layer Properties icon next to Imagery.
    3. In the Image Service Properties window, click Raster Functions. Under Processing templates, in the File table, click the Add processing templates icon.
    4. In the Select raster function template(s) window, select the created raster function template, and click OK.
    5. Optionally, set the selected raster function as default by clicking the Default template drop-down button and selecting the raster function template.
    6. Analyze the raster data before publishing.
Share as web layer

Article ID: 000021676

Software:
  • ArcGIS Pro
  • ArcGIS Server

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options