AnsweredAssumed Answered

Conditional Local RasterFunction via Rest API (Javascript)

Question asked by graber on Sep 21, 2015

I am trying to create a raster function chain through the rest API (Image Service).  I can't seem to get the syntax right for a conditional operation.  This is what I have but it is causing me errors:



rft = new RasterFunction();
rft.functionName = "Local";
rft.functionArguments = {
  "Operation" : 76,
  "Rasters" : [rfc, rf1h, rf1l]
rft.variableName = "riskOutput";
rft.outputPixelType = "U16";


How do I paramaterize the conditional, true, false values correctly.  I can't find examples anywhere.