Raster functions through REST

675
1
02-21-2020 01:21 PM
PeterHanmore
New Contributor III

Is it possible to request an image from an ImageServer service and have an existing raster function applied to it?  We have several pre-defined functions available, as shown by the rasterFunctionsInfo REST endpoint.  I can't find any documentation on how to do this.  I've tried sniffing the connection from arcMap using Fiddler but it doesn't seem to be able to decrypt the POSTed data into a usable format so I can see the syntax being used.

Has anyone been able to do this successfully and can share how they did it?

0 Kudos
1 Reply
PeterBecker
Esri Regular Contributor

Are you attempting this in ArcMap, Pro or through a web client?. The Image Service REST API is extensive. See link. You can pass a raster function request as part of Export Image. This can be a predefined function as defined in the service or a raster function chain. Similar in ArcMap and Pro you can pass parameters for the functions or function chains.

0 Kudos