Skip To Content

Raster function template properties

A raster function template contains a chain of functions and inputs as values or variables. The function template can then be added to a mosaic dataset, a mosaic dataset item, or a function raster layer to process pixels on-the-fly.

A function template not only contains raster functions, it also contains properties of the template:

  • Name—The template name.
  • Description—The description of the template.
  • Help—The help content that you want users to see when using this template.
  • Type—Indicates the template applied to a mosaic dataset, mosaic dataset items, or item groups specified in the Definition Query.
  • Group field name—The field name in the mosaic dataset that defines a group.
  • Tag field name—The field name in the mosaic dataset that contains the variable names used in the raster functions.
  • Thumbnail—A snapshot of the mosaic dataset can be added to the template as an image.

The Type property groups together items with the same GroupName and TagName. These two tags are normally used in (but not limited to) multidimensional mosaic datasets, where rasters with the same dimension values are considered one group, and tag names are normally the variable names used in the computation. For example, apply a function named P with a formula of V1 x V2 to each group in the mosaic dataset. Below is a list of function template properties:

  • Name—P
  • ...—Intermediate fields not shown here
  • Type—Item Group
  • Group field name—Group
  • Tag field name—Tag

Table showing the Group and Tag fields

Raster...GroupTagTime

Name1

a

v1

t1

Name2

a

v2

t1

Name3

b

v1

t2

Name4

b

v2

t2

This produces new items for each group, as shown below.

Table showing the new items produced

Raster...GroupTagTime

NewName1

a

P

t1

NewName2

b

P

t2

  • It can be loaded into a processing template when you add data to a mosaic dataset. Open the raster type properties, click the Processing tab, and select an option from the Processing Templates drop-down menu.
  • It can be used to set the properties of the mosaic dataset when using Set Mosaic Dataset Properties or Set Raster Properties. These processing templates will be used to respond to requests from the processing template tab from the layer.

Related topics