Question

I am looking into MapQuest API for OpenStreetMap and it seems to be a nice little service =)

I have been looking a little bit for a way to change/set the speed of the roads before asking for a Route or Route Matrix. At some times you know that there is a blizzard or something else that slows down traffic. At those times, you would want to decrease the speed of certain types of roads.

So, is there a way to do this in the HTTP request, either for MapQuest or some other service that uses OpenStreetMap?

Was it helpful?

Solution

Unfortunately, the MapQuest Open Directions Service does not support a change to the speed associated with a route as an input parameter. The Open Directions Service also does not support the route matrix functionality. If you have any other questions about the MapQuest Open Data and Services, feel free to check out the forums on the MapQuest Developer Network.

The Licensed version (Community Edition) of the MapQuest Directions Web Service does offer route matrix functionality, but it does not allow for manipulation of road speed limit data. I know it's a bit confusing, but the licensed version of MapQuest APIs and Web Services use commercial data, rather than freely-available data from OpenStreetMap.

Jonathan

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