AnsweredAssumed Answered

Publishing Image service and raster function

Question asked by amilos on Jul 5, 2016
Latest reply on Jul 7, 2016 by amilos

I have published a raster as Image service and want to display it on the map using Arcgis api 4.0. Color of pixel should depend on raster cell value, exactly as in this example: ImageryLayer - Set a client side pixel filter | ArcGIS API for JavaScript 4.0

Image service is published here: AISData/CONTAINER_2013_04_test (ImageServer) and it has

Min Values: 0

Max Values: 421


But when I replace Image service with mine in example's source code I get values between 0 and 255. And I get 3 bands when expected to get 1 with pixel values.


I guess this issue regards this example description: "Setting the rendering rule to the None raster function gives the user the ability to get the actual value of the pixel (the sea temperature) without it being altered by another raster function or rendering rule."


I also guess that None raster function is not available in my Image service, because I receive javascript Error:

ImageLayerView2D.js:6 Error: {"error":{"code":400,"message":"Unable to complete operation.","details":["Do not allow execution of client function."]}}

    at Error (native)

    at .<anonymous> (

    at f (

    at p (

    at resolve.callback (


    at e (

    at f (

    at b.resolve (

    at c (



How can I solve this issue?