Dev:Railway switch curve: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
mNo edit summary
No edit summary
Line 1: Line 1:
Railway switch consists of a switch, connecting rails and a frog. Connecting rail set of an ordinary switch consists of two straight and curved rails. Curved rails have some radius. This curve is called a switch curve.
Railway switch consists of a switch, connecting rails and a frog. Connecting rail set of an ordinary switch consists of two straight and curved rails. Curved rails have some radius. This curve is called a switch curve.
[[File:2024-08-07 railML switchCurve.svg|300px|Railway switch curve {{commons|Switch_(PSF).svg|Pearson_Scott_Foresman|PD}}]]


In railML3 model it is possible to represent radius of each branch of the railway switch. Negative and positive values have corresponding meaning defined as in the {{IS:Tag|horizontalCurve}}/{{@|radius|IS:horizontalCurve}} attribute.
In railML3 model it is possible to represent radius of each branch of the railway switch. Negative and positive values have corresponding meaning defined as in the {{IS:Tag|horizontalCurve}}/{{@|radius|IS:horizontalCurve}} attribute.


[[File:2023-10-02 railML switch applicationDirrection.png|Figure 2 - Possible orientations of a railway switch|left|300px]]
[[File:2024-08-07 railML insideCurvedSwitch crossover.svg|600px|Inside curved switch]]
[[File:2024-07-25 railML curvedSwitch.png|300px|Tram network]]


[[File:2024-08-07 railML switchCurve.svg|thumb|500px|Railway switch curve {{commons|Switch_(PSF).svg|Pearson_Scott_Foresman|PD}}]]
{| class="wikitable"
 
! Case !! leftBranch/@radius !! rightBranch/@radius
[[File:2024-08-07 railML insideCurvedSwitch crossover.svg|1000px|thumb|Inside curved switch]]
|-
 
| Ordinary switch a) || 0 || -300
[[File:2024-07-25 railML curvedSwitch.png|500px|thumb|Tram network]]
|-
| Ordinary switch b) || 0 || -300
|-
| Ordinary switch c) || 300 || 0
|-
| Ordinary switch d) || 300 || 0
|-
| Inside curved switch a) || -300 || -280
|-
| Inside curved switch b) || -300 || -280
|-
| Outside curved switch || 300 || -300
|}

Revision as of 17:23, 8 August 2024

Railway switch consists of a switch, connecting rails and a frog. Connecting rail set of an ordinary switch consists of two straight and curved rails. Curved rails have some radius. This curve is called a switch curve.

Railway switch curve Public domain work by Pearson_Scott_Foresman (Source)

In railML3 model it is possible to represent radius of each branch of the railway switch. Negative and positive values have corresponding meaning defined as in the <horizontalCurve>/@radius attribute.

Figure 2 - Possible orientations of a railway switch

Inside curved switch Tram network

Case leftBranch/@radius rightBranch/@radius
Ordinary switch a) 0 -300
Ordinary switch b) 0 -300
Ordinary switch c) 300 0
Ordinary switch d) 300 0
Inside curved switch a) -300 -280
Inside curved switch b) -300 -280
Outside curved switch 300 -300