https://github.com/peter-mount/nr-timetable
Network Rail TimeTable using the CIF format from the SCHEDULE data feed
https://github.com/peter-mount/nr-timetable
Last synced: 5 months ago
JSON representation
Network Rail TimeTable using the CIF format from the SCHEDULE data feed
- Host: GitHub
- URL: https://github.com/peter-mount/nr-timetable
- Owner: peter-mount
- Created: 2016-08-10T23:19:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-20T07:18:53.000Z (almost 10 years ago)
- Last Synced: 2024-12-06T21:38:32.473Z (over 1 year ago)
- Language: C
- Size: 210 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Network Rail TimeTable
This is a replacement of our Java/SQL based timetable engine, rewritten entirely in C.
It provides two commands:
## ttimport
Imports one or more CIF files and loads the data into a custom database.
CIF files are the file format we receive the rail timetables from Network Rail over the SCHEDULE data feed.
## timetabled
Provides a simple webserver which responds to simple REST queries on the schedule.
# Note
This is a work in progress however 90% of the CIF is now parsed (only Associations need implementing) and currently only the Tiploc data can be queried.
However this is the majority of the work done. Import performance is way improved on the original - it can now do a full import and a week's worth of updates in under a minute. The old system took 4 to 6 HOURS!
The memory/cpu footprint should also be a lot less when running.