Skip To Content

Apply raster function templates to imagery in ArcGIS Enterprise portal

In both ArcGIS Desktop and ArcGIS Pro, you have the ability to 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 Enterprise portal.

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 Enterprise portal. From your organization's ArcGIS Enterprise 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 dialogue that appears, browse to the raster function template that you want to add, and click Add Item.

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 Enterprise portal

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

Note:

If you do not see the Analysis button or the Raster Analysis tab in the Map Viewer, contact your portal administrator. Your portal may not be configured with ArcGIS Image Server, 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 on 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 on the Search icon to browse to your raster function templates.Browse raster function templates

    This opens the dialogue 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 in the viewer.

    Once selected, the description of the raster function template appears, along with a SELECT TEMPLATE button.

  4. Click SELECT TEMPLATE.

    The Analysis pane will flip to 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. All of the parameters are visible because it was created specifically set these variables to be edited by an end user.

    Raster function parameters dialog
  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.

Enterprise portal 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 Enterprise portal members. These capabilities enable you to search, upload and apply raster function templates to imagery in your map viewer.