Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

XML Timetable creation

You are here: Home > Forum > General > Timetabling > XML Timetable creation

Page 1 of 1

XML Timetable creation 31/10/2018 at 02:47 #113008
AlexRail575
Avatar
136 posts
I've been playing around with the National Rail data feeds (would prefer the Network Rail ones, but there's a queue so momentarily unavailable) in an attempt to extract timetable data from said data feeds, and convert it to SimSig XML format.

There being a lack of reference data (the info on the wiki is not very helpful), I've resorted to figuring out the XML schema files from the timetable data (i.e. extracting SavedTimetable.xml from the WTT file). I've attached what I have so far, but I'd like to know if an "official" version of this exists, and if it could be made available

However, I also discovered that when I try importing a timetable in this format into the sim via the "Timetable -> Import -> From XML format" option, the only result I manage to get is "Exception in TXMLTimetableLoader.LoadFromFile". This seems to be a bug, as when I open the XML file directly (Timetable -> Open -> then select the XML file), the timetable opens successfully and all the trains appear (it requires some further work, but much less than entering all the trains manually...).

Thanks,

Alex

Post has attachments. Log in to view them.
Last edited: 31/10/2018 at 02:50 by AlexRail575
Reason: typo

Log in to reply
XML Timetable creation 31/10/2018 at 04:04 #113009
headshot119
Avatar
4869 posts
The XML schemes for importing, and saved timetables are very different. It's by design.

We could probably do to update the wiki, but that's a longer term project.

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply