Skip To Content

Raster Function Infos

  • URL:https://<imageservice-url>/rasterFunctionInfos
  • Required Capability:Image
  • Version Introduced:10.3

Description

The rasterFunctionInfos resource returns raster function information for the image services, including the name, description, help, function type, and a thumbnail of preconfigured raster function templates.

Request parameters

ParameterDetails
f

The response format. The default response format is html.

Values: html | json

Example usage

The available raster function templates of an image service are returned.

https://myserver.mydomain.com/arcgis/rest/services/MyService/ImageServer/rasterFunctionInfos

JSON Response syntax


{"rasterFunctionInfos":   [
 {
   "name": "<name>",
   "description": "<description>",
   "help": "<help>",
   "functionType":<functionType>, //0 = Mosaic, 1 = Item, 2 = Item Group
   "thumbnail":<thumbnail> //optional, string, inline base64 encoded thumbnail
 },
 ...
 ]}

JSON Response example

 
{"rasterFunctionInfos": [
  {
   "name": "None",
   "description": "A No-Op Function.",
   "help": "",
   "functionType":0,   
  },
  {
   "name": "GrayscaleHillshade",
   "description": "grayscale hillshade.",
   "help": "",
   "functionType":0,   
  },
  {
   "name": "TintedHillshade",
   "description": "hillshade with a colormap.",
   "help": "",
   "functionType":0, 
   "thumbnail":""  
  },
  ...
 ]}