- URL:
- https://<rasteranalysistools-url>/BuildMultidimensionalInfo
- Methods:
GET- Version Introduced:
- 12.0
Description
The Build operation generates multidimensional metadata in the mosaic dataset, incorporating information about variables and dimensions from images collected at various times, depths, or heights.
This operation creates the following two text fields in the mosaic dataset:
Variable— Stores the names of the variables. For example, this field will store the stringTemperaturefor all the images with temperature data, andSalinityfor all the images containing salinity data.Dimensions— Stores the names of the dimensions. For example, if your temperature data has a correspondingDatedimension field that represents the day it was captured, and your salinity data has aDepthdimension field representing the depth at which it was measured, theDimensionsfield for those variables would beDate, Depth. The fields used to populate theDimensionsfield must exist and be populated in the mosaic dataset.
Request parameters
| Parameter | Details |
|---|---|
(Required) | Specifies the output image collection (mosaic dataset) name or URL. The image service must exist before you perform build multidimensional info operations. Syntax: JSON object supports three keys: itemId, url and uri. They keys are case sensitive. Example: |
(Required) | Specifies the field in the image collection that stores the variable names. This field is used to create and populate the Syntax: A String (Variable Field name). Example: |
| Specifies the fields in the image collection that store dimension information. These fields are used to create and populate a new Syntax: a list of dictionary objects. Example: |
| Specifies additional information about the Syntax: a list of dictionary objects. Example: |
| Specifies whether existing multidimensional information will be deleted. If set as Values: |
| The response format. The default format is Values: |
Example usage
The following is a sample request URL for the Build operation:
https://organization.example.com/<context>/rest/services/System/RasterAnalysisTools/GPServer/BuildMultidimensionalInfo/submitJob?imageCollection={"itemId":"dc269c4abb794ab8a55a6f533eceab20"}&variableField=ProductName&dimensionFields=[{"dimension":"Acquisition_Date","description":"Date","units":"Days"},{"dimension":"Depth","description":"","units":""}]&f=pjsonJSON Response example
The response returns the output output parameter, which has properties for parameter name, data type, and value. The content of the value is always the output raster dataset’s itemId and image service URL.
{
"paramName": "outputMultidimensionalRaster",
"dataType": "GPString",
"value": [{
"url": "https://<server url>/arcgis/rest/services/Hosted/Hosted_mosaic_image_collection/ImageServer"
}]
}