- Related Resources:Alter Processing States, Compute Color Correction, Compute Control Points, Compute Seamlines, Compute Sensor Model, Edit Control Points, Generate Orthomosaic, Generate Report, Get Processing States, Match Control Points, Query Camera Info, Query Control Points, Reset Image Collection
- Version Introduced:10.6.1
The GenerateDEM operation is a service tool that allows you to generate DEM products from a previously adjusted image collection. It creates point clouds using adjusted image collections and interpolates the point clouds to create DEM surface products using the designated method.
As of ArcGIS 10.5, you must license your ArcGIS Server as an ArcGIS Image Server to use this resource.
The image collection (mosaic dataset) name or URL. The image service must exist before calling the service to generate a DEM.
Syntax: A JSON object supports three case-sensitive keys: itemId, url, and uri.
This is the output digital elevation model image URL or name. As with Raster Analysis services, the service can be an existing multitenant service URL, or this service tool can create it.
Syntax: A JSON object describes the output image collection name or URL.
The cell size of the output digital elevation model image. This is a single numeric input. The cell size unit will be the unit used by the image collection's spatial reference. Only square cell sizes are supported.
The output surface type of the digital elevation model. The following are the available choices:
The method used to generate 3D points. The following are the available options:
Additional settings, such as the allowed point cloud generation parameter and DEM interpolation parameter, can be assigned here. Additional settings include:
Note:Both the applyToOrtho and fillDEM flag can be added to the initial request. applyToOrtho applies the generated DEM back into the mosaic dataset's geometric function to achieve more accurate orthorectification results. The fillDEM flag allows you to specify an elevation service url as background elevation to fill the area when elevation model pixels cannot be interpolated from the point cloud.
The response format. The default response format is html.
Values: html | json
When you submit a request, the task assigns a unique job ID for the transaction.
"jobId": "<unique job identifier>",
"jobStatus": "<job status>"
After the initial request is submitted, you can use the jobId to periodically check the status of the job and messages as described in Checking job status. Once the job has successfully completed, you use the jobId to retrieve the results. To track the status, you can make a request of the following form:
https://<orthomapping service url>/GenerateDEM/jobs/<jobId>
When the status of the job request is esriJobSucceeded, you can access the results of the analysis by making a request of the following form:
https://<orthomapping service url>/GenerateDEM/jobs/<jobId>/results/result?token=<your token>&f=json
The result will be the image service URL and itemId of the DEM.
Below is a sample URL for GenerateDEM.
JSON Request example
Heiko Hirschmuller et al., "Memory Efficient Semi-Global Matching," ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Volume 1-3, (2012): 371-376.