Schedule ZZ TOC Code feed

144 views
Skip to first unread message

Legolash2o

unread,
May 13, 2021, 2:10:10 AM5/13/21
to A gathering place for the Open Rail Data community
Hi all,

Is there CIF feed available that doesn't have ZZ for freight please (either publicly or internally)? The ATOC feeds sometimes has the TOC instead of ZZ but pretty sure from a quick look/read that they are passenger only.

Alternatively, I'm thinking I could use the service code and link those with the TOC.

Thanks in advance.

Peter Hicks

unread,
May 13, 2021, 2:56:50 AM5/13/21
to A gathering place for the Open Rail Data community
Hello

No, there isn't - but you could subscribe and download all the per-TOC CIFs and import those, which would give you the same output.

Out of interest, what's your use case for not wanting non-passenger TOC services?


Peter

--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openraildata-t...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openraildata-talk/7045fbf5-f7da-45e6-934c-545f59d42661n%40googlegroups.com.


OpenTrainTimes Ltd. registered in England and Wales, company no. 09504022.
Registered office: Suite 1-3, Hop Exchange, 24 Southwark Street, London SE1 1TY

Legolash2o

unread,
May 13, 2021, 3:22:49 AM5/13/21
to A gathering place for the Open Rail Data community
Hi Peter, thanks for the reply.

There's per-TOC CIFs? Didn't know that. I'm interested in passenger, but from what I've seen it's primarily the freight that gets ZZ'd.

 I best rephrase my initial question. I'm interested in a feed that has all schedules but with as little as ZZ as possible. Hope that makes more sense.

Thanks again.
Liam

Ian Sargent

unread,
May 13, 2021, 4:11:35 AM5/13/21
to A gathering place for the Open Rail Data community

https://opendata.nationalrail.co.uk/

There shouldn't be any "ZZ" operator codes in the feed available form the above link, as it should be advertised passenger services only.

Legolash2o

unread,
May 13, 2021, 10:27:33 AM5/13/21
to A gathering place for the Open Rail Data community
Thanks for the link and I'll have a link. I need a source that also contains freight but I'm not sure if those exist (without the ZZ's)

Thanks again for the link.

Mark Rawlinson

unread,
May 13, 2021, 7:04:36 PM5/13/21
to A gathering place for the Open Rail Data community
Eh??

On the one hand you say you want want freight (FOC) schedules included (which are coded ZZ in the public data feeds),
but you also want "as little ZZ as possible"?!

In case you are unaware, the reason the operator code is shown as ZZ is the same reason that headcodes are obfuscated;
to prevent people using the public data feeds from being able to match specific freight schedules to individual FOCs for
reasons of commercial confidentiality.   


Is there a specific reason that you need this data for your application?  





MARK

Liam Crozier

unread,
May 14, 2021, 1:27:59 AM5/14/21
to openrail...@googlegroups.com
Morning,

As I understand it, it is primarily non-passenger, including freight that get obfuscated for the reasons you stated, nuclear trains, safety, competition/commercial, etc. It makes perfect sense to hide those on the public feed (which is why is said 'or internally'). Internally was a bad word for me to chose as non-public would have been better. Although if you look at the service code or schedules that use FOC specific tiplocs, you can actually work out who it is - making obfuscation a bit redundant, but that's a different story.

I said with at least ZZs as possible as I'd expect even those non-obfuscated feeds would at least hide nuclear trains and a few other trains for national security reasons (royal train maybe).

Network rail must have a feed available for companies that need non-obfuscated data for non-public/internal research projects and have a name for it. I thought it was the ATOC which did show the TOC code for some schedules instead of ZZ, but it also missed out some data. I suspect companies bypass the ATOC, OpenDataFeeds, etc and hook straight into the source.

Schedule feeds and every related subsystems within Network Rail isn't my area of expertise, so I apologise for the confusion and coming across as a bit of an idiot. I should also proof read more.

I work primarily on the infrastructure data of things, so if you anyone needs help with digitised infrastructure capability or just all the tiploc locations - then those I can help with.

Thanks again.

Regards,
Liam Crozier
Sent from mobile


From: openrail...@googlegroups.com <openrail...@googlegroups.com> on behalf of Mark Rawlinson <freightmas...@gmail.com>
Sent: Friday, May 14, 2021 12:04:36 AM
To: A gathering place for the Open Rail Data community <openrail...@googlegroups.com>
Subject: Re: [openraildata-talk] Schedule ZZ TOC Code feed
 
You received this message because you are subscribed to a topic in the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openraildata-talk/EzjGoUiXK_E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openraildata-t...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openraildata-talk/68b44d1d-d4ac-4dd6-8524-b59a5fded14cn%40googlegroups.com.

Mark Rawlinson

unread,
May 14, 2021, 2:41:15 PM5/14/21
to A gathering place for the Open Rail Data community
Your assumptions are spot on, and the service code 'hack' is how myself/Railcam are able to show
the correct FOC (Freightliner/Colas/DRS/etc) when looking up a freight schedule:

6V71.PNG

6L48.PNG


(the loco numbers are 'crowdsourced' in case you were wondering!)




MARK




Legolash2o

unread,
May 23, 2021, 2:09:26 PM5/23/21
to A gathering place for the Open Rail Data community
Thanks for the info, appreciated!
Reply all
Reply to author
Forward
0 new messages