Skip To Content

Apply raster function templates to imagery

In ArcGIS Pro, you can use raster functions to create custom image processing tools, called raster function templates. The following steps outline how to find and apply a custom raster function template in ArcGIS Enterprise.

Add a custom raster function template to your organization

All raster function templates must be uploaded to your organization before they can be applied to a dataset in ArcGIS Enterprise. From your organization's landing page, you can add a raster function template from the Content page, or you can add the template from ArcGIS Pro.

  1. Go to your organization’s Content page and select Add Item > From my computer.
  2. In the dialog box that appears, browse to the raster function template that you want to add, and click Add Item.

Add custom raster functions from ArcGIS Pro

Complete the following steps to add custom raster functions from ArcGIS Pro:

  1. Open the Raster Functions pane from the Imagery tab and navigate to the Custom category.
  2. Right-click on a raster function template and select Share to Portal.
  3. Provide a summary description and tags for the function template.
  4. Under Sharing Options, use the check boxes to select the members of your organization that you want to share the raster function template with.

Select a raster function template in ArcGIS Enterprise

Once you have raster function templates added to your organization, you can work with them from ArcGIS Enterprise. First, you need to add any data that you want to process to Map Viewer. Some raster function templates use multiple inputs. If you are using a template with multiple inputs, add all of them to Map Viewer.


If you do not see the Analysis button or the Raster Analysis tab in Map Viewer, contact your organization's administrator. Your organization may not be configured properly or you may not have privileges to run the tools. If you do not have the permissions required for the tools, they will not be visible.

You must have the following privileges to run analysis tools, including custom tools:

  • Create, update, and delete content
  • Publish hosted feature layers
  • Raster analysis

  1. From the map view, click the Analysis button to open the Perform Analysis pane.

    On the Perform Analysis pane, two choices are presented for the type of analysis to perform, Feature Analysis and Raster Analysis. These two categories contain standard system tools for processing your feature data and imagery. Note that raster function templates are designed to work with imagery and will not process feature data.

  2. Click the Search button to browse to your raster function templates.
    Browse raster function templates

    This opens the dialog box where you can search for the raster function templates that were added to your organization.

  3. Select the raster function template that you want to apply to the imagery that you have added to your map.

    Once selected, the description of the raster function template appears, along with a Select Template button.

  4. Click Select Template.

    The Analysis pane shows the user interface for the raster function template. Under Select the input data and set parameters, the template is organized based on the component function followed by its parameters. In the example below, Calculator is the only function in this template. This section is collapsible and contains inputs for raster variables, the expression, cell size, and extent type.

    Raster function parameters dialog box
  5. Under Result layer name, give the output layer a name and designate the folder where you want it saved.

    The last option in the raster function parameter pane is Use current map extent. Check this box to process only the portion of your imagery visible in your map view. Uncheck this box and the entire image will be processed.

ArcGIS Enterprise supports working with raster function templates to perform distributed image processing in raster analysis system deployments. The raster function templates are created in ArcGIS Pro and uploaded and shared with your organization's members. These capabilities allow you to search, upload and apply raster function templates to imagery in Map Viewer.