<?xml version="1.0"?> <configuration label=""> <description/> <taskurl>http://172.16.1.132/ArcGIS/rest/services/HotSpot_Adjustable/GPServer/HotSpot</taskurl> <helpurl>http://server01/arcgisoutput/HotSpot_Adjustable/HotSpot.htm</helpurl> <inputparams> <param name="Jenayah" label="Jenayah" required="true" type="string" visible="true"> </param> <param name="Pilih_PBT" label="Pilih PBT" required="true" type="string" visible="true"> </param> <param name="Pilih_Bulan" label="Pilih_Bulan" required="true" type="string" visible="true"> </param> <param name="Clip_Sempadan_PBT" label="Sempadan_PBT" required="true" type="string" visible="true"> </param> <param name="Use_Input_Features_for_Clipping_Geometry" label="Use Input Features for Clipping Geometry" required="true" type="string" visible="true"> </param> </inputparams> <outputparams> <param name="Hasil_Hot_Spot" geometrytype="featurerecordset" label="Hasil_Hot_Spot" required="true" type="rasterdatalayer" visible="true"><!-- <renderer type="simple"> <defaultsymbol alpha="0.5" color="0xFF00FF" type="simplefill"> <outline width="1" color="0x000000"/> </defaultsymbol> </renderer> --> </param> </outputparams> <layerorder>Base,Hasil_Hot_Spot</layerorder> </configuration> -->
else if (resultDataType == GPParameterTypes.GP_RASTER_DATA_LAYER) { var jobInfo:JobInfo = gp.submitJobLastResult; if (jobInfo) { var resultImageLayer:GPResultImageLayer = gp.getResultImageLayer(jobInfo.jobId, parameterValue.paramName); map.addLayer(resultImageLayer); } }
Currently, adding raster images to the map is not supported. The default behavior is to download the result image.Do you have a map service associated with your geoprocessing service?
Mohd, Have you tried rasterdatalayer as the output type?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.