Key Properties

URL:
https://<imageservice-url>/keyProperties
Methods:
GET
Required Capability:
Image
Version Introduced:
10.1

Description

The keyProperties resource returns key properties of the image service. The output format is always JSON.

At 10.3 and later, this resource also takes an optional renderingRule parameter. You can get updated key properties if the source image service goes through a custom processing as defined by the renderingRule.

Request parameters

ParameterDetails

f

Description: The response format. The response format is always JSON.

Values: pjson | json

renderingRule

This parameter was added at 10.3.

Description: Specifies the rendering rule for how the requested image should be processed. The response contains updated service information that reflects a custom processing as defined by the rendering rule. For example, if renderingRule contains an attributeTable function, the response will indicate "hasRasterAttributeTable": true; if the renderingRule contains functions that alter the number of bands, the response will indicate correct bandCount .

See the raster function JSON objects for the syntax and examples.

Example usage

Example: Return key properties of an image service created from an NITF image.

https://sampleserver6.arcgisonline.com/arcgis/rest/services/Toronto/ImageServer/keyProperties?f=pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
{
  "keyproperty1Name":"value1",
  "keyproperty2Name":value2
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
    "HighCellSize": 4,
    "BandProperties": [
        {
            "BandName": "Blue",
            "WavelengthMin": 445,
            "WavelengthMax": 516
        },
        {
            "BandName": "Green",
            "WavelengthMin": 506,
            "WavelengthMax": 595
        },
        {
            "BandName": "Red",
            "WavelengthMin": 632,
            "WavelengthMax": 698
        },
        {
            "BandName": "NearInfrared",
            "WavelengthMin": 757,
            "WavelengthMax": 863
        }
    ],
    "LowCellSize": 1,
    "ConfigKeyword": "",
    "BandDefinitionKeyword": "IKONOS",
    "MaxCellSize": 40
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.