mapping routes in Visio

A

asc4john

I have a large number of maps (prints) in Visio of a campus. What I
want to do, for the heck of it, is to select a start point and an end
point and then plan a route sort of like a small MapQuest. I know the
locations of all the pathways, corriodors, stairs, elevators ..... So
it seems like it could be done. But I don't know where to start. I
have the info in a database Access and can link to the Visio drawings.
What algorithms are used? Are there any sites that have code available?
Google searchs turn up tons of info on using but not howto.
 
J

John Marshall, MVP

In addition to a table of each point on the map, you will need a table of
paths between nearest points. Each path wll include a wieght. The wieght
would indicate the effort requied to get between two points. For example, an
elevator may have less wieght than a set of stairs that get between the same
two points. Of course, if the time waiting for the elevator is a factor,
then the wieghts may be reveresed.

You will then have to iterate through te collection to determine other paths
between two given points. The path with the lowest wieght should be your
best solution.

John... Visio MVP

Need stencils or ideas? http://visio.mvps.org/3rdparty.htm
Need VBA examples? http://visio.mvps.org/VBA.htm
Visio Wishlist http://visio.mvps.org/wish_list.htm
 
A

Al Edlund

as in many of the questions that we get over here, finding the root
information to begin with is often the larger challange (breadthfirst,
depthfirst, dykstra, shortestpath, etc. etc.)
al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top