Dev:Tracks within and between the station: Difference between revisions
[checked revision] | [checked revision] |
(added text) |
(railML→{{rml}}) |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
To distinguish between the tracks “within” and “between” stations please use the {{ | To distinguish between the tracks “within” and “between” stations please use the {{tag|IS|propEquipment}} section of a station. Then, refer to the requirements for the tracks “within” and “between” a station. Refer to the example of source code {{site|1=https://www.railml.org/en/user/exampledata.html|2=250723_{{rml|tm=no}}_SimpleExample_v12.zip\src\NEST view}}. | ||
Further | Further {{tag|IS|border}} elements introduction allows for defining consistency rules. railML.org recommends using border elements. In this case, a track is referred from the {{tag|IS|propEquipment}} section of a station and this track has {{tag|IS|border}} children then, these {{tag|IS|border}}s limit the corresponding station. | ||
Please also note that in the case of a terminal station, there should be buffer stops at the end of the station as {{ | Please also note that in the case of a terminal station, there should be buffer stops at the end of the station as {{tag|IS|openEnd}} may imply that the border of @type=”tarif” (spelling mistake is acknowledged) is more appropriate. | ||
= Requirements for the tracks within the station = | = Requirements for the tracks within the station = | ||
• use {{ | • use {{tag|IS|crossSection}} element for the centre of a passenger building. In case none of them, then {{tag|IS|crossSection}} is positioned in the middle of the distance between home signals (borders of @type=”station”); | ||
• all of these tracks should be referred from the {{ | • all of these tracks should be referred from the {{tag|IS|propEquipment}} of the corresponding station; | ||
• if a track has a cross section then the station referring to this track from <propEquipment> is the same one; | • if a track has a cross-section then the station referring to this track from <propEquipment> is the same one; | ||
• home or exit signals and buffer stops are within the | • home or exit signals and buffer stops are within the {{tag|IS|border}} of the station; | ||
• all of these tracks should be referred from the | • all of these tracks should be referred from the {{tag|IS|propEquipment}} of the corresponding station; | ||
• positions of a | • positions of a {{tag|IS|trackBegin}} and {{tag|IS|trackEnd}} should be within station {{tag|IS|border}} | ||
= Requirements for the tracks between the stations = | = Requirements for the tracks between the stations = | ||
• should have {{ | • should have {{tag|IS|macroscopicNode}} elements at {{tag|IS|trackBegin}} and {{tag|IS|trackEnd}}; | ||
• should have @type=”mainTrack”; | • should have @type=”mainTrack”; | ||
• should not have any cross sections; | • should not have any cross-sections; | ||
• should not have any home or exit signals, but allowed to have block ones; | • should not have any home or exit signals, but allowed to have block ones; | ||
Line 30: | Line 30: | ||
• the distant signal of a home signal should refer to the station but positioned within an open line (opposite for the block signal); | • the distant signal of a home signal should refer to the station but positioned within an open line (opposite for the block signal); | ||
• should not be referred from the {{ | • should not be referred from the {{tag|IS|propEquipment}} section of the station; | ||
• should not have any derailers; | • should not have any derailers; | ||
Line 38: | Line 38: | ||
• may have train detection elements, level crossing etc.; | • may have train detection elements, level crossing etc.; | ||
• every line track has to have at least one | • every line track has to have at least one {{tag|IS|speedChange}} at the track begin with parameters @pos="0" and @dir="up"; | ||
• every line track has to have at least one | • every line track has to have at least one {{tag|IS|speedChange}} at the track end with parameters @pos="{value equal to trackEnd@pos}" and @dir="down"; | ||
• positions of a {{ | • positions of a {{tag|IS|trackBegin}} and an {{tag|IS|trackEnd}} should be outside of station {{tag|IS|borders}} if there any. |
Latest revision as of 18:49, 19 January 2024
To distinguish between the tracks “within” and “between” stations please use the <propEquipment> section of a station. Then, refer to the requirements for the tracks “within” and “between” a station. Refer to the example of source code 250723_railML_SimpleExample_v12.zip\src\NEST view (link to the railML® website).
Further <border> elements introduction allows for defining consistency rules. railML.org recommends using border elements. In this case, a track is referred from the <propEquipment> section of a station and this track has <border> children then, these <border>s limit the corresponding station.
Please also note that in the case of a terminal station, there should be buffer stops at the end of the station as <openEnd> may imply that the border of @type=”tarif” (spelling mistake is acknowledged) is more appropriate.
Requirements for the tracks within the station
• use <crossSection> element for the centre of a passenger building. In case none of them, then <crossSection> is positioned in the middle of the distance between home signals (borders of @type=”station”);
• all of these tracks should be referred from the <propEquipment> of the corresponding station;
• if a track has a cross-section then the station referring to this track from <propEquipment> is the same one;
• home or exit signals and buffer stops are within the <border> of the station;
• all of these tracks should be referred from the <propEquipment> of the corresponding station;
• positions of a <trackBegin> and <trackEnd> should be within station <border>
Requirements for the tracks between the stations
• should have <macroscopicNode> elements at <trackBegin> and <trackEnd>;
• should have @type=”mainTrack”;
• should not have any cross-sections;
• should not have any home or exit signals, but allowed to have block ones;
• the distant signal of a home signal should refer to the station but positioned within an open line (opposite for the block signal);
• should not be referred from the <propEquipment> section of the station;
• should not have any derailers;
• can have platforms (stopping point);
• may have train detection elements, level crossing etc.;
• every line track has to have at least one <speedChange> at the track begin with parameters @pos="0" and @dir="up";
• every line track has to have at least one <speedChange> at the track end with parameters @pos="{value equal to trackEnd@pos}" and @dir="down";
• positions of a <trackBegin> and an <trackEnd> should be outside of station <borders> if there any.