Supriya Ghosh (Editor)

RailML

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Filename extension
  
.railml, .railmlx

Extended from
  
XML

Developed by
  
railML.org

RailML

Initial release
  
22 December 2005 (2005-12-22)

Latest release
  
2.3(10 March 2016; 11 months ago (2016-03-10))

Type of format
  
Railway exchange format

railML (Railway Markup Language) is an open, XML based data exchange format for data interoperability of railway applications.

Contents

Motivation

The growing number of computer applications modeling different aspects of railway operations, with different operators developing separate solutions parallelly, bore a chronic difficulty of connecting different railway IT applications. The exchange of data for operation concepts, slot management, simulation or infrastructure planning, etc. was possible either by hand or with a lot of special developed interfaces with loss of time and cost problems for railway companies. If there are n applications that are supposed to exchange data, with a special interface for each pair of programs respectively, n ( n 1 ) 2 interfaces are required — only one, if n=2, but 10, if n=5 — increasing the complexity above average.

This problem can be mitigated by means of Enterprise application integration with a single, universal exchange format that is supported by all applications and meets the needs of all kinds of data exchange in the field of railway operation: The number of required interfaces decreases to n — one interface to the exchange format for each application respectively. railML tries to place at disposal an open and free, easy and handy, self-describing format close to existing standards. The paradigm is to meet the demands of the data exchange processes of railways, industry and authorities rather than describing the complete railway system.

History

The development of railML was initiated in early 2001 by the Fraunhofer-IVI (Dresden, Germany) and the ETH Zürich - IVT (Zurich, Switzerland). railML is changed and adapted to the needs of railway infrastructure managers (IM's) and railway undertakings (RU's) within discussions. The first stable version 1.0 was released in 2005 for productive usage. Up to now the versions 1.0; 1.1; 2.0; 2.1; 2.2 and 2.3 were released for download and productive use. As of 2014, railML's version 3 (new topology model and other evolutions) is currently under development. In 2015 a validator for railML schemas named railVIVID was released.

Working Principle

railML (railway mark-up language) is a common exchange format, which employs the systematic of XML for the description of rail-specific data. railML enables the exchange of railway data between internal and external railway applications. railML is developed within the so-called “railML consortium” from railML.org. It is an open source exchange format; the modelling language of railML is English. A free registration on railML is mandatory for the usage and download of railML schemes.

Applications can exchange data via railML either via exporting respectively importing railML files, or as a direct Inter-process communication via TCP/IP.

Licenses

Currently, railML is licensed parallelly with proprietary and free licenses.

Versions 0.x and 1.x were licensed under a proprietary license, where version 0.x was intended only for internal use und shared within the consortium.

Version 2.0 to 2.2 used to be licensed with the Creative Commons licence CC-BY-NC-SA until 2013. Since 2013 all versions from 2.0 onward were offered parallelly either with a commercial licence or with a restricted CC-BY-NC-ND licence. The restrictions serve quality measures, e.g. by requiring applications to be certified to grant for smooth interoperability.

The licence conditions for Version 3.x are not decided.

The Logo and the word railML are a registered as trademarks by the railML consortium at the EUIPO.

railML schemes

railML is based on XML and sub-areas use other existing XML-schemes such as MathML and GML. It is composed of sub-schemes. Through version 2.3, three sub-schemes are in productive use:

  • infrastructure for the (priority topological) description of tracks and signalling equipment
  • rolling stock for the description of vehicles
  • timetable for the description of timetables
  • Additional sub-schemes are station facilities (on hold, currently no requirements from users), crew rostering (data is being gathered and railML.org working group being established) and interlocking (in development by active railML.org working group).

    Timetable

    This sub-schema serves the exchange of detailed timetables. Particularly, the schema is designed for the following Information:

  • Operating Periods: the days on which a train is operated
  • Train Parts: scheduling and routing information for trains, e.g. the Orient Express on the traject from Budapest to Beograd on Mondays.
  • Trains: a collection of train parts, adding up to the colloqual perspective, e.g. the Orient Express.
  • Rostering: Circulation plans for rolling stock, linked with Train Parts.
  • Infrastructure

    The focus of this sub-schema is the infrastructure of railway networks. Important aspects are:

  • Network Topology
  • Coordinates
  • Geometry: track geometry (gradient, curve radius)
  • Railway infrastructure elements: inventory like balises and signals
  • Further located elements: abstract things that cannot be touched but located, like speed limits and track condition
  • Rolling stock

    While the Infrastructure sub-schema is focused on immobile assets, Rolling stock describes assets circulating in the network.

  • Vehicles
  • Formations: the combination of vehicles as a train
  • Code Example

    Example for a time table formulated in railML

    Line 3 expresses that the employed railML-version is 1.1.

    Line 4 bears the train code.

    Lines 5 and 15 frame the itinerary with, in this case, 8 itinerary entries.

    The itinerary entries in line 6 to 14 have arguments like position ID (e.g. a station), time of departure or arrival, and in line 9 an obligation to stop.

    Usage of railML data

    The most employed usage of railML data is timetable data for passenger information, duty planning for conductors and drivers and timetable simulation.

    Computer programmes

    Applications using railML include OpenTrack (interactive railway simulator), FBS (planning software for railway operation), Viriato (scheduling system) and OpenTimeTable (real time analysis of network operation data). A complete list of programmes with (certified) interfaces is available at railML's website of compatible applications.

    railVIVID

    railVIVID is an open source freeware tool provided by UIC and railML.org to validate railML files of version 2.x or higher and to show the content of railML files in some special views. This shall give also non-IT-experts an easy and handy access to railML data. Therefore, some sights of railway data can be shown, copied and printed with railVIVID:

  • Graphic viewer for Timetable data
  • Tabular viewer for Timetable data with spreadsheet export
  • Rolling Stock data viewer
  • Topologic viewer for Infrastructure data
  • Geographic viewer for Infrastructure data
  • Schema validator for railML
  • railVIVID is available via railML's website, the source code will be published in Autumn 2015. There are binary versions for MS Windows and Java.

    railML.org Initiative

    The development of railML is driven by the railML.org – Initiative, a development partnership of independent companies and organizations and European railways. The participation on the development and semi-annual conferences to exchange experience and discuss basics is open. The continuous development work is mainly internet-based (German and English forums). The organisation of the discussions is managed by so-called railML Coordinators. The (free) membership of the railML.org Consortium is mandatory for the download and usage of railML schemes. Obtaining a commercial certification is required before any commercial or productive use of software interfaces for the format.

    Members

    Members of railML.org are currently:

  • Railways like French Railways, Swiss Federal Railways, German State Railway, Infrabel, BLS, Austrian Federal Railways ...
  • Software manufacturers like Hacon (Hanover/Germany), iRFP (Dresden/Germany), PTV (Karlsruhe/Germany), SMA (Zurich/Switzerland), Trapeze Group (Hamburg/Germany), ...
  • Authorities like Bavarian Passenger Transport Authority (Munich/Germany), Federal Ministry of Transport and Digital Infrastructure (Berlin/Germany), High Speed Two (London/Great Britain), Jernbanedirektoratet (Oslo/Norway), ...
  • Universities and Research institutes like Czech Technical University Prague, Dresden University, DLR, ETH Zurich, University of Birmingham, ...
  • A complete and updated list is published at the website of railML.org community.

    Cooperations

    railML.org works in the ERIM (abbreviation for European Rail Infrastructure Modelling) project of the International Union of Railways (UIC) for the development of a common standard for data exchange in the railway sector. Also railML.org cooperates with Eurocontrol and European Railway Agency.

    References

    RailML Wikipedia