How to get raster properties from GP service in ArcGIS Runtime

186
0
08-31-2021 12:36 AM
PriyankaRavi
New Contributor

Hi,

I need to get the band count from get raster properties GPService which is published from "Get Raster Properties" in ArcMap toolbox. In that, I would pass the below parameters to the GPService but it shows "esriJobMessageTypeError: Failed." error message. Please help me to find out the correct solution and let me know if I am passing correct parameters to the GPService.

{

in_raster={ "url" : "C:\Users\Hexamap\Downloads\raster-file (1)\raster-file\Shasta.tif", "format" : "tif" }

property_type=BANDCOUNT

f=pjson

}

0 Kudos
0 Replies