- URL:
- https://<geoanalytics-url>/SummarizeCenterAndDispersion
- Methods:
GET
- Version Introduced:
- 10.9
Description
The Summarize
task finds central features and directional distributions. It can be used to answer questions such as the following:
- Where is the center?
- Which feature is the most accessible from all other features?
- How dispersed, compact, or integrated are the features?
- Are there directional trends?
For an example, suppose you have used the GeoAnalytics tool Find Point Clusters to identify groups of power outages across an entire year. The result will be time-enabled points representing cluster locations of power outages. However, you are interested in identifying the center of the power outages for visualization. To do this, use the tool Summarize Center And Dispersion with the cluster IDs as a group by field.
Request parameters
Parameter | Details |
---|---|
| The point, line, or polygon features to be analyzed. Syntax: As described in Feature input, this parameter can be one of the following:
REST examples
|
| One or more methods with which to summarize the REST examples
|
| The number of standard deviations represented in the output ellipse layer. The default ellipse size is 1. Valid choices are 1, 2, or 3 standard deviations. This option is only used if REST examples
|
| A numeric field in the REST examples
|
| One or more fields used to group features for summarization. The REST examples
|
|
The task will create a feature service of the results. You define the name of the service. REST examples
|
|
The
Syntax:
|
|
The response format. The default response format is Values: |
Example usage
Below is a sample request URL for Summarize
:
https://webadaptor.domain.com/server/rest/services/System/GeoAnalyticsTools/GPServer/SummarizeCenterAndDispersion/submitJob?inputLayer={"url": "https://myportal.domain.com/server/rest/services/Hosted/hurricaneTrack/FeatureServer/0"}&summaryType=Ellipse&ellipseSize=2&outputName=myOutput&f=json
Response
When you submit a request, the service 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 job
to periodically check the status of the job and messages as described in Check job status. Once the job has successfully completed, use job
to retrieve the results. To track the status, you can make a request of the following form:
https://<analysis url>/SummarizeCenterAndDispersion/jobs/<jobId>
Access results
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://<analysis-url>/SummarizeCenterAndDispersion/jobs/<jobId>/results/output?token=<your token>&f=json
Response | Description |
---|---|
| The
The result has properties for parameter name, data type, and value. The contents of
|
| The
The result has properties for parameter name, data type, and value. The contents of
|
| The
The result has properties for parameter name, data type, and value. The contents of
|
| The
The result has properties for parameter name, data type, and value. The contents of
|