Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby gem for parsing UK public transport data
Ruby
tree: 700d754ba1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.rdoc

README.rdoc

UKTransport

UKTransport is a Ruby gem for parsing Naptan CSV files and NPTD CIF files.

It uses local files and provides a Ruby interface for reading it.

Usage

uktransport.naptan(filename) => array of bus stops (id, lat, long) uktransport.nptd(filename) uktransport.nptd.routes => array of bus routes (id, name, stops(one, two, three)) uktransport.nptd.stops => array of bus stops (id, name, routes(one, two, three))

Something went wrong with that request. Please try again.