Dev:Connection between tracks: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
(Die Seite wurde neu angelegt: = Introduction = People just starting out with RailML are often puzzled how to store connections between {{IS:Tag|track}} elements and how to model a simple switch. Th...) |
No edit summary |
||
Line 1: | Line 1: | ||
= Introduction = | = Introduction = | ||
People just starting out with RailML are often puzzled how to store connections between {{ | People just starting out with RailML are often puzzled how to store connections between {{DocIS|track}} elements and how to model a simple switch. This page will show some examples and give some explanations on the preferred solutions for these problems. In detail, this page will show | ||
* the connection between two subsequent tracks | * the connection between two subsequent tracks | ||
Line 13: | Line 13: | ||
= Simple Connection Between Two Tracks = | = Simple Connection Between Two Tracks = | ||
Imagine the following scenario, in which the tracks T1 and T2 shall directly connected with each other. | [http://apmsrv034.apm.etc.tu-bs.de/simpleCon.png Imagine the following scenario, in which the tracks T1 and T2 shall directly connected with each other (click for graphic).] The labels shown the figure have the following meaning: | ||
* T1 = Track 1 | |||
* T2 = Track 2 | |||
* TE1 = {{DocIS|trackEnd}} of track 1 | |||
* TB2 = {{DocIS|trackBegin}} of track 2 | |||
* C1 = Connection 1 from TE1 to TB2 | |||
* C2 = Connection 2 from TB2 to TE1 |
Revision as of 18:30, 13 March 2010
Introduction
People just starting out with RailML are often puzzled how to store connections between track elements and how to model a simple switch. This page will show some examples and give some explanations on the preferred solutions for these problems. In detail, this page will show
- the connection between two subsequent tracks
- the insertion of a switch somewhere on a track
- a crossover between two parallel tracks
along with fragmentary XML code snippets.
Simple Connection Between Two Tracks
Imagine the following scenario, in which the tracks T1 and T2 shall directly connected with each other (click for graphic). The labels shown the figure have the following meaning:
- T1 = Track 1
- T2 = Track 2
- TE1 = trackEnd of track 1
- TB2 = trackBegin of track 2
- C1 = Connection 1 from TE1 to TB2
- C2 = Connection 2 from TB2 to TE1