- URL:
- https://<rasteranalysistools-url>/BuildOverview
- Methods:
GETPOST- Version Introduced:
- 10.7
Description
The Build operation defines and generates overviews on an existing image collection.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The output image collection (mosaic dataset) name or URL. The image service must exist before performing this operation. Syntax: A JSON object that that includes either the Example: |
(Optional) | Set the overview cell size or resolution for the operation. Default is Example |
(Optional) | Contains additional settings that affect task execution. This task currently supports
|
| 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/BuildOverview/submitJob?imageCollection={"itemId":"51f2e556092a4e098b5d05b4b0ad94e7"}&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": "outputCollection",
"dataType": "GPString",
"value": [{
"url": "https://<server url>/arcgis/rest/services/Hosted/Hosted_mosaic_image_collection/ImageServer"
}]
}Response
When you submit a request, the task assigns a unique job ID for the transaction.
Syntax:
{ "jobId": "<unique job identifier>", "jobStatus": "<job status>" }After the initial request is submitted, you can use the job to periodically check the status of the job and messages, as described in Check job status. Once the job has successfully completed, use the job to retrieve the results. To track the status, you can make a request of the following form:
https://<raster analysis tools url>/BuildOverview/jobs/<jobId>When the status of the job request is esri , you can access the results of the analysis by making a request of the following form:
https://<raster analysis tools url>/BuildOverview/jobs/<jobId>/results/outputCollection