Discover paths off the beaten track. Avoiding popular places means a higher ranked route.
Built at Urban Data Hack London, Feb 15-16 2014 by Florian Rathgeber @frathgeber, Mark Durrant @M6_D6, Zdenek Hynek @zdenekhynek and Calvin Giles @calvingiles.
Now check the live app!
GET /route/<from_lat>,<from_lng>/<to_lat>,<to_lng>
Response:
{
"route": /* Foot walking directions provided by MapQuest */,
"hip_rank": /* Array of hipster ranks along the route */,
"total_rank": /* Accumulated hipster score of the route */
}
Export your mapquest API key as
MAPQUEST_API_KEY
.
Deploying to heroku requires a custom buildpack with support for NumPy, SciPy and scikit-learn.