Shortest Path

716
1
04-15-2012 03:06 AM
GhadaAhmed
New Contributor
How can I get the shortest path between 2 points programmatically ??

Thx in Advance
0 Kudos
1 Reply
SebastianKrings
Occasional Contributor
Hi

you need to make use of the Network Analyst like in Front end. Doing the route-solve proramatically needs to make all options in your code while in ArcMap you can use some default values and easy to use GUIs. I do not know which default values are available for your way.

Here's a good start to read how this is working. Use the SDK documentations-search for further information about specific points.

http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Programming_with_Networ...

Sebastian
0 Kudos