Skip to content

Latest commit

 

History

History
89 lines (76 loc) · 6.69 KB

README.md

File metadata and controls

89 lines (76 loc) · 6.69 KB

Railway Operation Simulator Template Map

A brief description of what the map represents, including era, whether the route is fictional and the level of difficulty.

NOTE: Asynchronous route building is NOT supported, .rly files are not designed such that two versions can be combined by git. For route development contribution you must instead alternate between contributor making sure to pull the latest version before adding to it yourself.

[Edit this README and Remove the following information tables] This repository should contain ultimately:
The name of your repository should follow convention of <2 letter country code>-<name of route>, e.g. US-NorthEastCorridor.
An image of the route in BMP format within the Images folder.
The completed railway .rly file or if in development .dev file in the Railway folder.
At least one complete timetable within the Program_Timetables folder.
At least one session for each timetable, with preferred directions set placed in the Sessions folder.
Documentation describing background to the route and operations tips within the Documentation folder. This can include any maps/useful information as well. The recommended format for the documentation is PDF to be universally accessible, an optional template has been added for ease.
Optionally a Signal.hnd file as a hint to what side signals are traditionally placed on the route.
Update the metadata file Metadata/<route-name>.toml which will be generated by the CI within the repository. Descriptions of recognised keys are given in the section below.
Any graphics used within the simulation map should be placed in the Graphics directory.
The table below, image of the state of the map, and the data sources should be updated regularly. In the table the statuses of not completed, completed and needs verification are represented by the icons:
✔️ ❌ ❔
📝 Metadata File Format
The following outlines the keys of the Metadata/<route-name>.toml to be included within the repository. A starting file will be generated by the CI system after a commit is pushed.
Inclusion of the rly_file and ttb_files keys are paramount, as they connect the metadata file with the simulation itself and can help confirm the expected route is installed, as well as provide a bridge between a route and its timetables. If there are any sessions these should be specified with the ssn_files key.

NOTE: Personal information such as email or social network handles are not included under the definitions of a route metadata file. An example completed metadata file can be found here
key optional description
name title of the simulation project
display_name ☑️ alternative name (name that would be used for display purposes)
description ☑️ a brief line summary of the project
rly_file .rly filename of the simulation itself
ttb_files list of timetable .ttb. files
ssn_files ☑️ list of session .ssn files
doc_files list of documentation files (.md, .txt, .pdf)
img_files ☑️ list of image files (.png, .bmp)
graphic_files ☑️ list of graphic files (.png, .jpg, .bmp)
country_code if factual simulation alpha-2 country code (see https://www.iban.com/country-codes) else FN
year ☑️ year simulation takes place if applicable
factual is the simulation based on a real or fictional network (true/false)
difficulty ☑️ estimate of the simulation difficulty out of 5
author leading developer/author (must match ROS site author name)
contributors ☑️ other contributing authors as list (must match ROS site author names)
version semantic version of the form MAJOR.MINOR.PATCH (first release usually 1.0.0 but can be date 2021.12.1)
release_date release date in the form YYYY-MM-DD
minimum_required ☑️ minimum required version of ROS, if simulation contains features not present in older releases.
signal_position ☑️ recommended signal position "right" or "left" for this simulation.

Metadata File Example

name = "Simulation of Antwerp south"
description = "Simulation covering the lines from Antwerpen Centraal to St. Katelijne-Waver/Lier"
display_name = "Antwerpen Centraal"
country_code = "BE"
rly_file = "Antwerpen_Centraal.rly"
ttb_files = ["Antwerpen_Centraal_2021.ttb"]
ssn_files = ["Antwerpen_Centraal_2021.ssn"]
doc_files = ["README.md"]
img_files = ["Antwerpen_Centraal_2021.bmp"]
year = 2021
factual = true
difficulty = 3
author = "Krizar"
contributors = ["Albert Ball"]
version = "1.0.0"
release_date = "2021-10-10"
✏️ Releasing the Simulation
When you are ready to publish your simulation to Railway Operation Simulator, create a release on the GitHub repository. This will trigger the CI system to create a zip file which you can then use for the upload. Give the CI a couple of minutes, releases can be found on the sidebar for the repository. You will know if it has completed as the release will be called <github-repo-name> Release <version-number>, e.g. Railway-Op-Sim/UN-Template Release v1.0.0

Image of Current State of Map

Current Status

Stage Status
Track Plan
Signalling
Naming
Speed Limits
Distances
Timetable
Documentation

Data Sources