Dev:Tracks within and between the station: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(added text)
 
m (typo)
Line 1: Line 1:
To distinguish between the tracks “within” and “between” stations please use the {{site|1=https://wiki2.railml.org/wiki/IS:propEquipment|2=<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_railML_SimpleExample_v12.zip\src\NEST view}}.
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_railML_SimpleExample_v12.zip\src\NEST view}}.


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 <borders> limit the corresponding station.   
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 <borders> 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 {{site|1=https://wiki2.railml.org/wiki/IS:openEnd|2=<openEnd>}} may imply that the border of @type=”tarif” (spelling mistake is acknowledged) is more appropriate.
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 {{site|1=https://wiki2.railml.org/wiki/IS:crossSection|2=<crossSection>}} element for the centre of a passenger building. In case none of them, then {{site|1=https://wiki2.railml.org/wiki/IS:crossSection|2=<crossSection>}} is positioned in the middle of the distance between home signals (borders of @type=”station”);  
• 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 {{site|1=https://wiki2.railml.org/wiki/IS:propEquipment|2=<propEquipment>}}  of the corresponding station;
• 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 <border> of the station;
• home or exit signals and buffer stops are within the <border> of the station;
Line 20: Line 20:
= Requirements for the tracks between the stations =
= Requirements for the tracks between the stations =


• should have {{site|1=https://wiki2.railml.org/wiki/IS:macroscopicNode|2=<macroscopicNode>}}  elements at <trackBegin> and <trackEnd>;
• should have {{tag|IS|macroscopicNode}}  elements at <trackBegin> and <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 {{site|1=https://wiki2.railml.org/wiki/IS:propEquipment|2=<propEquipment>}} section of the station;
• should not be referred from the {{tag|IS|propEquipment}} section of the station;


• should not have any derailers;
• should not have any derailers;
Line 42: Line 42:
• 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";
• 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  {{site|1=https://wiki2.railml.org/wiki/IS:trackBegin|2=<trackBegin>}} and an {{site|1=https://wiki2.railml.org/wiki/IS:trackEnd|2=<trackEnd>}} should be outside of station {{site|1=https://wiki2.railml.org/wiki/IS:borders|2=<borders>}} if there any.
• positions of a  {{tag|IS|trackBegin}} and an {{tag|IS|trackEnd}} should be outside of station {{tag|IS|borders}} if there any.

Revision as of 18:09, 29 September 2023

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 <borders> 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 an <trackEnd> should be within station <borders>

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.