Skip to content

Aggregation and Grouping

Jamie Drisdelle edited this page Feb 27, 2019 · 3 revisions

Use mosaic dataset items in raster function templates

When working with multidimensional or similarly structured data, each raster or slice of data can be used as input to a raster function. While this can be done manually after adding them as layers to the map, it can be tedious when there are multiple inputs or multiple groups of inputs involved. A better solution is to organize your inputs or groups of inputs in a mosaic dataset, and attach a raster function template. When a raster function template is applied to the mosaic dataset, the inputs to the template can be items within the mosaic dataset.

In this scenario, mosaic dataset items need to be grouped logically, using group and tag fields, before they are passed into the template. Raster function templates applied to mosaic datasets need to work with minimal interaction. If your data is not grouped or tagged, you will need to define inputs to the template every time it is applied. Grouping and tagging is useful when working with multidimensional mosaic datasets.

To use items from a mosaic dataset in a raster function template, you'll set up the template first, attach that template to the mosaic dataset, and select the mosaic dataset items to use as inputs to the template. Once the mosaic dataset is added as a layer to a map, you can select the template to visualize your data.

Set up the raster function template to use individual items from a mosaic dataset