hhroc / traffairious

Traffic v.s. Air Quality data visualization experiments for http://HackUpstate.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Used begin/end geocoded lat/lng to get directions for DOT data

thequbit opened this issue · comments

Use MQ to get directions for geocoded lat/lng pairs. The output will be 64bit encoded strings. These will need to be converted into lat/lng lists.

I know we had some trouble with encoding and decoding mapquests, directions data but it looks like they have a web page doing this with out most of the trouble that we had to go to. Given, they are doing some funky script injection so it may take some time to figure out exactly what they are doing but they are showing the geojson that we want so it may be worth looking into.

http://platform.beta.mapquest.com/directions/

We went down this path - it didn't return the data we were interested in (for some reason...). This script works: https://github.com/hhroc/traffairious/blob/develop/tools/mqroute.py

Need to split it out into different scrips to take things one step at a time (issue #23, #24, #25).