Skip to content

dataunity/bath-hacked-2014

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bus Routes

This project takes the bus route information from Traveline and merges it with Naptan information (e.g. lat/long). The information is then displayed on a Leaflet.js map.

View the map.

Data Sources

The data comes from Naptan: http://data.gov.uk/dataset/naptan Traveline: https://gds.blog.gov.uk/2014/10/03/new-paths-opened-as-transport-direct-closes-down/ (also see developer pages of traveline site).

This project contains three aspects: data conversion, data merging and mapping.

traveline.py

This python script parses the Traveline xml files and turns them into CSV.

Traveline Data Merge Notebook

This ipython notebook merges together Traveline data with Naptan data to produce CSV files that can be shown in a map.

index.html

This page displays the bus route info. It loads the CSV data via D3, then uses Leaflet.js to draw the information to a map.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages