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"
}}}
Hi Nagesh,
In this example Shaded relief and slope | ArcGIS API for JavaScript , they have used color ramp for image service.
Hope you would find this useful.
Thanks Jai,
This, I have already seen but I am unsure whether its correct approach.
As mentioned in this help section Colormap function—Help | ArcGIS for Desktop , I was looking for some example with type 'ColorRamp'.
Infact at the end of section, it says that 'Since there is no specific color tied to each value, this will render your data as if you are using the stretched renderer'.
But in Shaded relief example, its a creating a pixel value assigned colormap range values. I am unsure whether to proceed with this approach.
Thanks anyway