After start of geprocessing service, I was facing this type of error.
The example of code is taken from Local server geoprocessing | ArcGIS for Developers
in .xaml.cs file
// Create a map image layer to show the results
ArcGISMapImageLayer myMapImageLayer = new ArcGISMapImageLayer(new Uri(gpServiceResultUrl));
// Load the layer
await myMapImageLayer.LoadAsync();
at await myMapImageLayer.LoadAsync(); it was getting load error "unknown operation:Get Mapserver/jobs/j89....
please resolve the issue
Hi,
Does your code currently follow the example arcgis-runtime-samples-dotnet/LocalServerGeoprocessing.xaml.cs at master · Esri/arcgis-runtime-sampl... ?
Cheers
Mike
Hi,
Yes instead of using rasterhillshade.tpk I am using india.mmpk
Is there any other example on geoprocessing with complete file.
Hoping for solution
Regards
G N Sharan SAI
Get Outlook for Android<https://aka.ms/ghei36>
Hi,
Can you share the full code section where you are initializing the local geoprocessing service and executing the job?
Note .TPK (image tile cache) and .MMPK (mobile map package) files provide map content - they are not directly related to geoprocessing.
Cheers
Mike
Hi,
As I mentioned the earlier example, i just used the complete code and replaced tpk with mmpk
G N sharan SAI
Get Outlook for Android<https://aka.ms/ghei36>
Your reply was routed through the Geonet email... but it found me with a little help from the Geonet admins:
Hi,
I have checked the code again and solved the issue, the problem I was facing is
on creating geoprocessing service
_gpService = new LocalGeoprocessingService(gppath, GeoprocessingServiceType.AsynchronousSubmitWithMapServiceResult)
In that above code i forgot include GeoprocessingServiceType. Later on i have added and solved the issue.
I have a doubt how can we know, which type of geoprocessing service requires specific GeoprocessingServiceTYpe
Thanks and Regards
G N Sharan Sai
To answer your question:
As the developer you choose the service type depending on your requirements. These help topics explain more:
A quick tour of publishing a geoprocessing service—Documentation | ArcGIS Enterprise
Overview of geoprocessing task settings—Documentation | ArcGIS Enterprise
Geoprocessing service settings: Parameters—Documentation | ArcGIS Enterprise
Cheers
Mike