Question

So, I developed a math model for optimizing biking routes based on user preference, and I am trying to develop an application where the solution is solved using Dijkstra's algorithms (and of course graphs). Part of the weighting of the edges is based on the speed limit of a road so my question is:

Is there a good open-source library, such as Google Maps API or something similar, where I could automate the collection of this data? It would be impossible to do this for the graph in question by hand (the city of Seattle, WA), but I don't know where I can automate (or write a program to semi-automate), the collection of speed limit data, or even acquire it in the first place. I basically need a source of speed limit information, and google maps seems the most promising, but I cannot find anything.

Thanks,

tylerthemiler

Was it helpful?

Solution

I needed that kind of data a few years back, but with no luck. Google doesn`t give that data, Navteq and Teleatlas with the same issue. The best temporary solution ( until you will find an accurate way to do that ) is to get the standard speed limit for all the road types in your country/city/etc, and match it againnst the current road type . This will provide you a good start in your application and in most of the cases the speed limit is the one specified by law.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top