The return of OpenTrainTimes

I am very pleased to announce that Rockshore, have stepped forward and agreed to sponsor OpenTrainTimes in the mid-term. As a result, I’m delighted to say that OpenTrainTimes is now back!

I have had a steady stream of wholly supportive and positive emails over the last month from people who have used the site. Thank you to everyone who took the time to get in touch – there are more of you than I thought!

So, the site is back and running on new code which I’d been working on for some months before the site was shut down. There are a few important changes, however:

  • The beta server is gone – it was too labour-intensive to run two versions of the site. Instead, many of the features and improvements from the beta site are now on the main site
  • The layout is different – this is OpenTrainTimes version 3, considerably changed under the bonnet from previous versions, based on everything I’ve learned over the last three years
  • Some features are missing – simply down to the fact this is my hobby. I will be bringing the PPM statistics back soon, don’t worry
  • There are more maps – see below for a list, and there will be more coming
  • There are bugs – this code is fairly new, so please report bugs to feedback@opentraintimes.com. I already know about the dodgy handling of trains over midnight

Many people absolutely loved the maps, and I’m pleased to say that the following brand-new maps are now included on the site:

The previous maps (West Coast, East Coast, Thameslink/Midland Mainline) maps will be ported over in due course.

Once the new site is stable and bedded in, I’ll be working on more maps and functionality.

Covering costs

I’ve never wanted to run the site at a profit – but I need to cover costs. Some of the things I’m considering to keep the site up and running in the long term are:

  • A one-off donation
  • A regular donation
  • Subscriptions, which will give access to additional features on the site

Any excess money will be set aside to keep the site running for longer, and I’ll continue to donate my spare time and energy for the benefit of everyone.

Autumn Update

It’s been a couple of months since the last blog post and quite a long time since the site’s been updated. Several people have emailed me to ask what’s going on, and this blog post will explan everything.

This year has not been an easy year for me on a personal level. I’ve had several massive changes, including starting a new career in January and the sudden death of my father in June. On top of this, I’ve been extremely busy with my day-job and the last thing I want to do some days is come home and spend another three hours writing code! I pump a great deal of energy and passion in to my job, which is paying off, but I don’t want to burn out.

I made the unconscious decision to work on some other things for a while, setting aside working on the beta site and working on other things. About a month ago, I returned to working on the site, reviewing the code I’ve written over the past three years, and came to the conclusion that I need to make the site better by replacing it, rather than continually painting and extending it. I’m doing that job right now – which takes time, but I am in no rush.

There are also several other problems I’m tackling – one of which being exactly how far you can go with the Network Rail Data Feeds. The fact of the matter is that it’s impossible to predict much of the future from these data feeds, because there’s a lot of other data which isn’t public. Unfortunately, that situation is very unlikely to change – I’ve been trying quite vocally for the past few years, and I know far too much about all the issues at play.

In summary, I’m still very much behind the site and Open Data in general. I want OpenTrainTimes to continue to be free and useful, but to go to the next level, I need to take some time to rebuild the foundations.

Beta Update – 10th September 2013

Another month has passed by in double-quick time. I’ve had a much-needed week away from work, but now I’m back and busier than I’ve been for several years!

Still, I’ve found time to push the latest, and last, lot of updates up to the site before OpenTrainTimes 2.2 becomes properly live.

Here’s what’s new (and some people spotted a couple of them earlier in the week):

…plus there are a number of back-end changes, invisible to the naked eye to keep the site running well.

Once the London Euston – Harrow & Wealdstone map is up to speed, I’ll be making the beta site in to the live site, then working on a load more maps and features.

Beta Update – 11th August 2013

It’s been a few weeks since I last updated the beta site at http://beta.opentraintimes.com, and I’ve been doing a lot of work that needs testing.

The following new bits-and-bobs are on the beta site:

Just a note – your browser may have cached the older maps due to a problem on the beta server which I’m trying to fix. If this is the case and you don’t see any changes – for example, you still see a message on the Herford Loop

And as for the future – there’s a map of Oxford planned (thanks to Matt Taylor), as well as Leeds and London Liverpool Street. Watch this space!

Beta release – 21st July 2013

Happy Sunday – I hope you’re not melting in the current heatwave we’re having in the UK.

I’ve just released a bunch of new things to the beta site at http://beta.opentraintimes.com/ – mostly maps:

Remember – if you like the site and haven’t donated so far, please consider donating something to Marie Curie Cancer Care in honour of my late father who survived cancer but sadly passed away in early June. And keep your feedback emails coming in – I absolutely love reading and replying to them!

OpenTrainTimes 2.2 goes in to public beta

It’s been a long time coming, but I’m pleased to say that OpenTrainTimes 2.2 is now in public beta. I’d intended to launch this a couple of months ago, but various things – including ill health and on my part and shortly afterwards, the unexpected death of my father – delayed things somewhat.

Before I get in to what’s new and changed, I’d like to point out that I run OpenTrainTimes out of my own pocket and I’ve never accepted any donations nor put advertising on the site. If you like the site and you want to give some money, please send whatever you think is appropriate to Marie Curie Cancer Care – through the OpenTrainTimes Development page on JustGiving. You can also text “OPEN67” with either £1, £2, £3, £4, £5 or £10 to 70070 to donate.

Boring bit over, here’s the exciting stuff 🙂

The new version is in public beta because I’ve not been able to test it as thoroughly as previous versions, and there still may be bugs. Please go check it out at http://beta.opentraintimes.com/ and report bugs to feedback@opentraintimes.com.

There are several extra maps:

…and some of the old maps have been upgraded:

…and two notable new features:

  • There’s more control over searching for schedules. You can hide passenger trains, empty passenger trains and non-passenger trains, as well as filter by schedule type and whether the train passes
  • The schedule route map is back – click “Functions” and “Show route map” on a schedule page

So, please go and test the new site and feed back any problems. If all goes well, I’ll make this live in a couple of weeks, or whenever the majority of bugs are squashed.

Real-time train movements

It’s been a month since I last updated you all on the plans for the future… so where are we?

First, good news – I have real-time train movements working in the development environment. This has taken several weeks of solid effort, writing test plans, writing code, fixing code and committing it. There’s reporting for the vast majority of trains, and cancellations, reinstatements and short-tripped trains are all handled well.

The bad news is that, when testing the system in an environment similar to production, it runs too slowly. There’s around a 4-5 minute lag through most of the day, which is unacceptable and I can’t release code in this state. There are two options – either upgrade the production server (which is expensive), or rewrite the code to be more efficient. I’ve opted for the latter.

Rest assured that real-time movements are still very much on the cards, along with a bunch of other features that I’ll write about next week.

Springtime Review

Thank you to the vast number of you who have taken the “How Do You Use OpenTrainTimes?” Survey. It’s open for the next three weeks, so if you haven’t responded yet, please do so. The results are interesting, useful and in some cases, quite surprising – and they’re shaping plans for the future.

One of the most requested features is real-time train movement data. I’ve been working in the background for the past couple of months on getting this up and running, and I’ve made excellent progress in the past two weeks. Assuming I continue at this pace, I’m estimating releasing OpenTrainTimes 2.2 with real-time train movements in three weeks.

Something else I’ve been working on is producing timetable data for Great Britain in GTFS format. After chatting to a few people at the FutureEverything Innovation Challenge this weekend, I realised that there are 587 transit agencies providing GTFS data, and seemingly nobody in Great Britain.

What do I normally do when there’s a gaping hole in a domain that I understand and care about? I fix it, and I’ve created data.opentraintimes.com which will have a daily-updated GTFS-format snapshot of GB timetable data. There are just two more bugs to fix relating to trains which run overnight, but I’m anticipating fixing these early this week.

On to this week’s updates – as I’ve been so busy doing other things, there are only a few minor bugs which I’ve fixed:

  • The London Waterloo – Earlsfield/Chiswick/North Sheen map had platform numbers at Barnes and Putney labelled incorrectly. Note that due to caching, you might still see the old map for a couple of hours)
  • When using Internet Explorer 9, the Feedback link was rotated incorrectly
  • Trains at Stratford Parkway (STY) weren’t showing
  • Times on the homepage were an hour behind reality

Expect a period of relative quiet over the next couple of weeks whilst I get real-time data up and running – but please, as always, keep your feedback coming!

// Peter

What's new – 1st April

Happy Easter to those of you who celebrate it!

Before I get in to this week’s release, there are two things I’d like to say.

First, I’d really appreciate a couple of minutes of your time to complete the How do you use OpenTrainTimes? survey. The 50 or so responses I’ve had already are somewhat surprising and have shown me that you’re all using the site differently to how I anticipated.

Second, and of reasonable importance to anyone looking at OpenTrainTimes from an Open Data perspective – I’m working on a GTFS feed of train schedules. There are a couple of first attempts up at http://data.opentraintimes.com/, and I’m hoping to get a fully-validating set of data up in the next week or so.

Right, here we go with the new bits this week – just two of them:

– hopefully I’ll have time to extend this down to Berrylands

And several bugs have been fixed too:

  • Accommodation is no longer shown for non-passenger trains, so freight trains and ECS moves will no longer have 1st and Standard class seating
  • The departures-only pages were accidentally showing GBTT arrival times in place of GBTT departures – this is fixed
  • A few minor fixes to the King’s Langley – Wolverton and the Wolverton, Northampton, Rugby and Shilton maps

VSTP schedules are nearly ready to go live – there are a few remaining problems with the code that handles it, so I’ve held off releasing it this week.

Enjoy!

What's new – 20th March

In some ways, this is a minor update, but in others (especially if you like maps!), more major. Whatever you want to call it, here’s what’s in the mid-week release:

  • The Wolverton – Rugby map has been extended up to Shilton and the fringe with the West Midlands Signalling Centre on the lines up to Coventry. A couple of other miniscule bugs with missing routes have been fixed.
  • URLs in the format https://www.opentraintimes.com/location/XXX/to/YYY now work and will show all trains between XXX and YYY on the current date and time
  • The Feedback link now works – apologies, a previous update managed to break it!
  • Differential speeds in TSRs now match the same format as the Weekly Operating Notice
  • Some Javascript libraries have been updated to improve compatibility with certain browsers

There’s other cool stuff in the pipeline which I’ll be working on over the next few days. I’m also at the FutureEverything Innovation Challenge in Manchester this weekend – if you’re there, come say hello!