Solve route


Purpose

This sample application demonstrates how to programmatically perform route analysis. It shows how to load stops from a feature class, set solver parameters, execute the analysis, and write the analysis layer to a layer file that can then be used.
 
This sample solves a route and uses a geoprocessing tool to save the route to disk as a layer file.



How to use

See How to use ArcGIS samples for help running the sample.

  1. Run the SolveRoute application.
  2. Examine the output messages on the console and the output dataset.





Development licensing Deployment licensing
Engine Developer Kit Engine Runtime: Network
ArcView: Network Analyst