FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<catalog-url>/<serviceName>/ImageServer |
---|---|
Supported Operations | Export Image |
Parent Resource | Catalog |
Child Resources | KML Image |
An image service provides read-only access to a mosaicked collection of images or a raster data set.
Use an image service to do the following:
The REST API image service resource represents an image service published with ArcGIS Server. The resource provides basic information associated with the image service such as the service description, its name, description, extent, pixel sizes, and band counts.
The image service resource supports only one operation export image, which returns an image resource.
Parameter | Details |
---|---|
f | Description: The
response format. The default response format is html. Values: html | json | kmz |
Example 1: URL to an Image Service named "MyImage".
http://myserver/arcgis/rest/services/MyImage/ImageServer
{
"serviceDescription" : "<serviceDescription>",
"name" : "<name>",
"description" : "<description>",
"extent" : {<extent>},
"pixelSizeX" : <pixelSizeX>,
"pixelSizeY" : <pixelSizeY>,
"bandCount" : <bandCount>,
"pixelType" : "<pixelType>",
"minPixelSize" : <minPixelSize>,
"maxPixelSize" : <maxPixelSize>,
"copyrightText" : "<copyrightText>",
"serviceDataType" : "<serviceDataType>",
"minValues" : [<minValue1>, <minValue2>],
"maxValues" : [<maxValue1>, <maxValue2>],
"meanValues" : [<meanValue1>, <meanValue2>],
"stdvValues" : [<stdvValue1>, <stdvValue2>]
}
{
"serviceDescription" : "Test Image Service Description",
"name" : "wsiearth.tif",
"description" : "wsiearth.tif",
"extent" : {"xmin" : -180, "ymin" : -90, "xmax" : 180, "ymax" : 90, "spatialReference" : {"wkid" : 4326}},
"pixelSizeX" : 30.386,
"pixelSizeY" : 30.386,
"bandCount" : 3,
"pixelType" : "U8",
"minPixelSize" : 0.0,
"maxPixelSize" : 0.0,
"copyrightText" : "ESRI",
"serviceDataType" : "esriImageServiceDataTypeRGB",
"minValues" : [0.0, 0.0, 0.0],
"maxValues" : [255.0, 254.0, 255.0],
"meanValues" : [82.707, 107.448, 60.118],
"stdvValues" : [39.838, 37.735, 36.466]
}