AnsweredAssumed Answered

Rest API function for applying colorramp on image service

Question asked by rus5 on May 6, 2015
Latest reply on May 7, 2015 by rus5

How to apply a colorramp rendering rule on image service ArcGIS Image Server@. It is not documented properly in REST API raster function section.

I tried below syntax but it neither applied it on ExportImage call nor gave any error. Any clue will be very useful.

thank you!

 

{"rasterFunction":"ColorRamp", "rasterFunctionArguments":{

     {

  "type": "algorithmic",

  "fromColor": [115,76,0,255],

  "toColor": [255,25,86,255],

  "algorithm": "esriHSVAlgorithm"

}}}

Outcomes