I went through the following two examples to get an idea of how to create a custom, local Routing Task . . .
This is a walkthrough that takes you step by step through the creation of your first routing geoprocessing package: http://resources.arcgis.com/en/help/...00000m5000000/ And here is the second part, that completes the picture and shows you how to run it from code: http://resources.arcgis.com/en/help/...00000m6000000/
I am able to create the gpk using the above mentioned link instructions. However, when I attempted to create a gpk using my own data, I got an error message each time (General function failure ERROR 999999: Error executing function). When I researched this error, I didn't find anything helpful. I am using a map document that contains a Network Dataset created from a Shapefile Feature class. The settings that I use to create the package are . . . Support ArcGIS Runtime enabled (other two options are disabled) Summary and Tags detail filled in Is there any way to find out more info on the error? I don't know why it's failing, but I keep changing little details and trying it again.
Thanks, Renee
Answer
After hacking away for a while, and trying to emulate the steps in the above mentioned step-by-step tutorial, I was able to determine that the reason I wasn't able to create a geoprocessing package was because the Network Dataset that I was using was created in a regular folder rather than a File Geodatabase Feature Dataset.
No comments:
Post a Comment