Imports and Exports - UICrail/SemanticRSM GitHub Wiki

Import data from external sources

OpenStreetMap

OpenStreetMap provides high quality geometric data concerning railway networks. Tracks seem well located: transversal positions are accurate to the meter. However, the location of switches (reference point = blade tips) is more uncertain.

The OSM import code in the present repository allows to import OSM data into sRSM. At present, only track geometry is exploited, which yields:

  • linear elements
  • their geometry (linestring, length)
  • their connections
  • navigabilities and non-navigabilities in the case of switches (distinguishing toe and heel side thanks to geometry)
  • some navigabilities and non-navigabilities in the case of crossings. Crossings are assumed to have at least the capabilities of diamond crossings, i.e. can be traversed straight ahead. However, nothing will be stated about possible deviations (slip switch function), neither positively (navigable) nor negatively (non-navigable). Optionally, the user may force all crossings to be considered double-slip crossings.

draw.io

Track plans can be prepared using draw.io (a free application) and, with minimal conventions, yield a track plan with

  • linear elements
  • their geometry (linestring, length)
  • their connections
  • navigabilities and non-navigabilities in the case of switches and crossings. Single- or double-slip crossings can be indicated with a conventional symbol.

railML 3

The attention of interested parties is drawn upon the licensing conditions that may be associated with railML data and their transformation. See railML.org for more information.

CCS-TMS data model

The CCS-TMS data model (by the System Pillar) is work in progress. The model rests on a JSON schema. Test data have been provided.

Data import test application

The test application is in the Flask folder. It can be executed on a local server.

The application only provides user interfaces when import data are under explicit, suitable licensing conditions. To date (Nov. 2024), OpenStreetMap and of course your handmade sketches under draw.io may comply with this constraint.