- URL:
- https://<imageservice-url>/computeClassStatistics
- Methods:
GET
- Required Capability:
- Image
- Version Introduced:
- 10.2
Description
This operation is supported at 10.2 and later.
The compute
operation is performed on an image service resource.
This operation is supported by any image service published from a mosaic dataset or a raster dataset.
The result of this operation contains class statistics signatures used by the maximum likelihood classifier.
You can provide arguments to the compute
operation as query parameters as defined in the following parameters table:
Request parameters
Parameter | Details |
---|---|
|
The response format. The default response format is Values: |
| Required Description: Class descriptions are training site polygons and their class descriptions. The structure of the geometry is the same as the structure of the JSON geometry objects returned by the ArcGIS REST API. Syntax:
Examples:
|
| Description: Specifies the mosaic rule when defining how individual images should be mosaicked. When a mosaic rule is not specified, the default mosaic rule of the image service will be used (as advertised in the root resource: See the mosaic rule objects for the JSON syntax and examples. |
| Description: Specifies the rendering rule for how the requested image should be rendered. See the raster function objects for the JSON syntax and examples. |
| Description: The pixel level being used (or the resolution being looked at). If pixel size is not specified, then The structure of the Syntax:
Examples:
|
JSON Response syntax
{"GSG" : "<GSG>"}