- URL:
- https://<root>/<serviceName>/RasterAnalysisTools/GPServer/GeomorphonLandforms
- Methods:
GET
- Version Introduced:
- 11.5
Description
The Geomorphon
task classifies terrain into common landform types.
Example applications of Geomorphon
include the following:
- Classify terrain into valleys to find stream locations.
- Find the location of peaks and ridges to define zoning regulations.
- Identify flat areas that may impact hydrologic analyses to determine water flow.
Request parameters
The following table lists the parameters with syntax and details for each:
Parameter | Details |
---|---|
| The input surface raster. Syntax: This parameter can be specified as a portal item ID, a URL to a raster image service layer, a cloud raster dataset, or a shared raster dataset. Examples:
|
|
The name of the output image service that will be created. You can specify the name, or you can create an empty service using Portal Admin Sharing API and use the return JSON object as input to this parameter. Syntax: A JSON object describes the name of the output or the output raster. Output landforms raster name example: Example:
Output landforms raster examples: Example:
|
|
The name of the output image service that will be created. You can specify the name, or you can create an empty service using Portal Admin Sharing API and use the return JSON object as input to this parameter. Syntax: A JSON object describes the name of the output or the output raster. Output geomorphons raster name example: Example:
Output geomorphons raster examples: Example:
|
| Specifies the threshold (in degrees) below which the target cell will be classified as flat. The default is 1. Syntax: A numeric value specifying the angle threshold. Example:
|
| Specifies the distance unit that will be used for the searchDistance and skipDistance parameters. Distance will be measured in the specified unit or number of cells. The default is CELLS. Syntax: A string specifying the unit of the search and skip distances.
Example:
|
| Specifies the distance away from the target cell that defines the analysis area used to identify the geomorphon pattern. The default value is 10. Syntax: A numeric value specifying the search distance. Example:
|
| Specifies the distance away from the target cell where the analysis area starts. Neighboring cells that fall within this distance will be skipped and will not contribute to identification of the geomorphon pattern. The Syntax: A numeric value specifying the skip distance. Example:
|
| Specifies the linear unit of vertical z-values. It is defined by a vertical coordinate system if it exists. If a vertical coordinate system does not exist, it is recommended that you define the z-unit from the unit list to ensure correct geodesic computation. The default is meter. Syntax: A string specifying the unit of vertical z-values.
Example:
|
|
Contains additional settings that affect task processing. This task has the following settings:
|
|
The response format. The default response format is Values: |
Response
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 job
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 job
to retrieve the results. To track the status, you can make a request of the following form:
https://<raster analysis tools url>/GeomorphonLandforms/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>/GeomorphonLandforms/jobs/<jobId>/results/<output parameters>
Example usage
The following is a sample request URL for Geomorphon
:
https://services.myserver.com/arcgis/rest/services/System/RasterAnalysisTools/GPServer/GeomorphonLandforms/submitJob
JSON Response syntax
The response returns the output
and optionally, the output
output parameters, which have properties for parameter name, data type, and value. The content of value
is always the item
of the output raster dataset and the image service URL.
{
"paramName": <parameter name>,
"dataType": "GPString",
"value": {
"itemId": <item Id>,
"url": <URL>
}
}
JSON Response example
{
"paramName": "outputLandformsRaster",
"dataType": "GPString",
"value": {
"itemId": "f121390b85ef419790479fc75b493efd",
"url": "https://<server name>/arcgis/rest/services/Hosted/<service name>/ImageServer"
}
}