• Our new ticketing site is now live! Using either this or the original site (both powered by TrainSplit) helps support the running of the forum with every ticket purchase! Find out more and ask any questions/give us feedback in this thread!

Recent content by gavco98uk

  1. G

    Network Rail Open Data

    everything looks fine with the code you posted, nothing jumps out on me. The only thing I can suggest is double check your username/password are correct, and you have enabled the feed you are trying to connect to. For reference, there is a code sample located at...
  2. G

    Network Rail Open Data

    The timestamps included in the feed are in milliseconds, whereas many conversion routines in PHP/C# etc. will expect them to be in seconds. Try dropping the last 3 zero's if you are getting errors. Example: Go to http://www.unixtimestamp.com/index.php and try converting the timestamps...
  3. G

    Network Rail Open Data

    First you need to download ApacheNMS.Stomp Client from https://cwiki.apache.org/NMS/apachenmsstomp-v152.html. Add this as a reference to your project. After that, the following code will get you started: using System; using System.Collections.Generic; using System.Linq; using...
  4. G

    Network Rail Open Data

    oh fiddlesticks! (well, a word similar to that anyway!) Based on your example of Glasgow Central, I just did a quick search of my DB to make sure I had the right code for Glasgow Central, and got no result for 07257. I thought that was odd, so took a look in the database to make sure they...
  5. G

    Network Rail Open Data

    To be honest i need to look into it a little more to see what is being reported and what isn't. I wrote a basic program to receive the feeds and log them to file, mainly so i could get a better idea of what data was coming back and the format of this. From scanning the text file, I didnt see a...
  6. G

    Network Rail Open Data

    Yes, I am subscribed to the all-TOC movement feed. IMy system maintains a permanent connection to the feed and continually receives updates, so it shouldnt be missing any messages. Yes, i was expecting that a train would report in at every station, or at least at most of them. Is this not the case?
  7. G

    Network Rail Open Data

    I haven't done much with the TD data yet, as I don't have a list of the berth steps yet, but I have been using the train Movement data, and there seem to be a lot of messages missing from this. For example there are no messages being reported from Scotland, and messages from the rest of the...
  8. G

    Hi, Can you also send a list of the codes to gavin.coates@gmail.com. Much appreciated.

    Hi, Can you also send a list of the codes to gavin.coates@gmail.com. Much appreciated.

Top