How Can I user QuickGrqph with Sharpmap?!

May 4, 2008 at 7:58 AM
Hello All I am using SharpMap for Displaying Street Maps (so I use Sharpmap project)but Sharpmap appear not support routing. I hope QuickGraph Support Routing betwwen tow Points
How Can I use Sharpmap with QuickGrph.
Thanks,
Jun 5, 2008 at 8:45 AM
@esaaco,

See this thread: http://www.codeplex.com/SharpMap/Thread/View.aspx?ThreadId=14704

Bye
Coordinator
Aug 26, 2008 at 4:22 PM
This extension is not planned but should not be terribly difficult.
Aug 26, 2008 at 9:41 PM
Any advice?
Coordinator
Aug 27, 2008 at 12:16 AM

I'm sorry i'm not familiar with SharpMap but basically:

1) figure out what's the concept of 'vertex' in sharmap, then create a QuickGraph graph from it

AdjacencyGraph<SharpMapVertex, Edge<SharpMapVertex>> g = ...;

2) then find the way to load a map and populate the list of vertices

3) same things with edges

Once you have the graph, you can apply any algorithm on it.

Aug 27, 2008 at 6:56 AM
Thank you very much for youe answer, it helps me a lot.
Coordinator
Aug 31, 2008 at 1:32 AM
Send me a link back if you manage to get something working, i'll add to the wiki. thnks.