ImageService: ExtractBand Raster function

05-29-2015 06:12 AM
Labels (1)
New Contributor II

Greetings All

I am trying to apply ExtractBand renderingRule on ExportImage rest request on a imageservice using below syntax.

For e.g. I want to extract 2nd band from 3-band image


  "rasterFunction" : "ExtractBand",

  "rasterFunctionArguments" : {

       "BandIDs" : [2],

       "Raster" : "$$"



output is same when all 3 bands are present.

Same rule works perfectly if created using raster function template editor and applied as raster function on same image service.

Is something missing on syntax side?

thanks in advance.

0 Kudos
0 Replies