Sunday, June 21, 2009



More info coming soon…

OptiRoute is a mapping tool that attempts to calculate the optimal route (shortest path) to visit a set of locations that you provide.

Until I get around to writing a complete tutorial, here is what you need to know:

  1. It does not guarantee an optimal route (its an approximation – so it might not be the shortest path).
  2. It runs in O(n) and can handle unlimited number of points (at least theoretically) and shouldnt take ever to compute.
  3. The algorithm does not take into account one-ways, detours, etc. It uses straight line distances in determining the optimal route.
  4. The algorithm attempts to visit every point in a circle, visiting the closest points first.
  5. Once the optimal order of visitation is determined, you get the list of the points in the order to visit them on the left side of the map. On the right side you get links to Google Maps and Bing Maps, which will let you see the actual route that you would have to take to visit each location.
  6. Instead of making you insert points one by one (by address or latitude/longitude), it uses points that you might have already collected in popular online mapping tools like Google Maps and Bing Maps (Virtual Earth or Live Maps).
    1. OptiRoute uses points in a GeoRSS feeds as its source of points.
    2. Bing Maps allows you add points and store them as Collections. Collections can then be exported to a GeoRSS feed using the Actions menu.
    3. In Google Maps you need to create a new MyMap and then use the RSS feed icon.
    4. Copy the GeoRSS feed to your map containing the collection of points you wish to visit and paste it into the text box in OptiRoute and hit the load button.
    5. OptiRoute will fetch all the points and then route them and display the route on a map as well as in the table on the left side of the map.

Here are some examples for you to try:

Bing Maps examples (copy the URL and try them in OptiRoute):





Google Maps using My Maps:

1. What route would you take to visit all 82 recycling bin locations in and around Denver? Try the following GeoRSS url in OptiRoute:

2. Or what route would you take to visit all of the top restaurants in Denver (check out the MyMap first). Now try the following GeoRSS link in OptiRoute:

Leave me comment if you try it and let me know what you think (especially if you come across a bug).


Unknown said...

is it just me or have google and bing added a max number stops preventing route calculation on ie. 82 recycling bin locations in Denver?

Unknown said...


I have a error message when I try to use Optiroute:


Not Found
The requested URL /OptiRoute/ was not found on this server.

Can anyone help me?