More than Just Lines on a Map: Best Practices for U.S Bike Routes
Building a journey planner in an evening by narahari allamraju
1. Building a journey
planner in an evening
Narahari (Hari) Allamraju
Java Developer; Python enthusiast
!
anarahari@gmail.com
!
http://supercoderz.in
http://rememberthebudget.in
4. What if you don’t have a planner?
its not as easy as Ikea though
5. What to we need to build a
journey planner?
• Data
• Stops
• Routes
• timings
• Distances
• A means to find all the routes
• A visualisation or an interface
to get a look at the data
6. What will we use today?
• The data sources are inconsistent and don’t have a
set schema or format - so we will use Scrapy to
scrape the pages
• We will use networkx, a graph analysis library to
find the shortest path and all the routes
• We will add a simple web interface with tornado
• The code for this can be found at - https://
github.com/supercoderz/hydbusroutes