IS:gaugeChange: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
(Deploying new templates (Vorlage:InheritPosition, Vorlage:InheritIdPositionConstraints, Vorlage:InheritPositionNotes))
(Contribution by Лариса Жучий)
(14 intermediate revisions by 3 users not shown)
Line 4: Line 4:
|parent = {{IS:Tag|gaugeChanges}}
|parent = {{IS:Tag|gaugeChanges}}


|childs = {{IS:Tag|additionalName|gaugeChange}} {{Intro|2.1}}, {{IS:Tag|geoCoord|gaugeChange}}
|childs = {{IS:Tag|additionalName|gaugeChange}} {{Intro|2.1}}, {{IS:Tag|any}}, {{IS:Tag|geoCoord}}, {{states}}
 
|minocc=0
|maxocc=∞
|inheritedAttributes =
|inheritedAttributes =
{{InheritIdName
{{InheritIdName
Line 19: Line 20:
|absPosOffset =
|absPosOffset =
}}
}}
 
{{InheritStrictDirection|selfLink={{tag|{{#sub:{{SUBPAGENAME}}|0|2}}|{{#sub:{{SUBPAGENAME}}|3}}}}|depr=2.5}}
|ownAttributes =
|ownAttributes =
* {{Attr|dir}}
{{InheritGauge
 
|value =
* {{Attr|value}}
}}


|semantics =
|semantics =
Line 35: Line 36:
|constraints =
|constraints =
{{InheritIdNameConstraints}}
{{InheritIdNameConstraints}}
{{InheritPositionConstraints}}
{{InheritPositionConstraints}}
* {{Attr|dir}}: {{railMLType|tStrictDirection}}; optional
{{InheritGaugeConstraints}}
|backHome = IS:elements
|example=
Consider {{rml|2.2}} example of {{site|1=https://www.railml.org/en/user/exampledata.html?file=files/download/exampledata/130416_iRFP_ExampleDataFBS_EastSaxonyRailML.zip|2=East Saxony railway network by FBS}}.


* {{Attr|dir}} optional
This code example defines [https://wiki2.railml.org/wiki/IS:gaugeChange gauge change] of the track that connects Arnsdorf West and Nord junctions.
 
<syntaxhighlight lang=xml>
* {{Attr|value}} optional, default: 1435
<gaugeChanges>
 
  <gaugeChange id='gac_80.6228_0' pos='0' absPos='942' dir='up' value='1435'/>
|backHome = IS:elements
</gaugeChanges>
</syntaxhighlight>
}}
}}

Revision as of 13:59, 12 September 2022


gaugeChange
 


Scheme description / Schemenbeschreibung

Position of gaugeChange in the XML-Tree / Position von gaugeChange im XML-Baum

Multiplicity / Anzahl

[0..∞]

Semantics / Bedeutung

A <gaugeChange> defines the position of a track where the gauge (distant between the rails) changes.

Attributes of gaugeChange / Attribute von gaugeChange

  • id: XML-file-wide unique, machine-interpretable identity, required for later referencing that element internally. For a detailed explanation see Dev:identities.
    XML-Datei-weit eindeutige, maschineninterpretierbare Identität, die für die spätere interne Referenzierung dieses Elements erforderlich ist. Für eine detaillierte Erklärung siehe Dev:identities.
  • code (introduced with version 2.1): Machine-interpretable string (e.g. an abbreviation) used for identification of the object across exchange partners, usecase specific uniqueness constraints may apply. Please see our description of the differences between id, code and human-readable identifiers.
    Maschineninterpretierbare Zeichenkette (z.B. Abkürzung), die zur Identifizierung des Objekts auch bei Austauschpartnern verwendet wird, wobei spezifische Eindeutigkeitsbeschränkungen gelten können. Bitte beachten Sie unsere Erläuterung zu den Unterschieden zwischen id, code and menschenlesbaren Kennzeichnungen.
  • name: Established, human-readable short string, giving the object a name. Not intended for machine interpretation, please see our notice on human interpretable data fields.
    Etablierte, menschenlesbare kurze Zeichenkette, die das Objekt benennt. Nicht zur maschinellen Interpretation bestimmt, siehe Hinweise zu menschenlesbaren Datenfeldern.
  • description: Human-readable, more detailed description as addition to the name. It should give additional explanations or hints to the contents of this element. Not intended for machine interpretation, please see our notice on human interpretable data fields.
    Menschenlesbare, detailliertere Beschreibung als Ergänzung zu name. Sie soll zusätzliche Erläuterungen oder Hinweise auf den Inhalt dieses Elements geben. Nicht zur maschinellen Interpretation bestimmt, siehe Hinweise zu menschenlesbaren Datenfeldern.
  • xml:lang (introduced with version 2.1): This is a unique identifier of language. It uses basically the language standard IETF BCP 47 (external link) which may be different to ISO 639-1 (external link) or ISO 639-2 (external link). For mapping hints see relation to other standards (external link).
    This defines the language used for name and description. Use <additionalName> to provide a name and/or description in other languages.


  • pos: This is the position on a track defined as distance from its start (trackBegin) regardless the "absolute mileage" in @absPos.
    Das ist die Position des Elements auf einem Track i.S. der realen Entfernung zum trackBegin. Sie ist damit unabhängig von der mit absPos modellierten Strecken-Kilometrierung.
🗒️ For an explanation of the differences between @pos and @absPos see <mileageChange>
  • absPos: This is the position on a track as absolute mileage/chainage.
    Das ist die Position des Elements im Referenzsystem der Strecken-Kilometrierung.
🗒️ For an explanation of the differences between @pos and @absPos see <mileageChange>
  • absPosOffset (deprecated with version 2.1): The semantics of this attribute aren't very clear. It seems to be redundant to the definitions with mileageChanges in "overlapping regions".
  • dir: (deprecated with version 2.5) This defines the validity of <gaugeChange> along the track. Possible values are:
  • up This denotes the direction from the <trackBegin> to the <trackEnd> (increasing relative position values).
  • down This goes opposite to up (decreasing relative position values).
  • value: Track width in mm

Syntactic Constraints / Syntaktische Beschränkungen

  • id: xs:ID, required
    a string, starting with a letter (a..zA..Z) or an underscore (_),
    followed by a non-colonized and non-spaced string consisting of letters, digits, points (.), dashes (-) or underscores (_)
  • code: xs:string, optional
  • name: xs:string, optional
  • description: xs:string, optional
  • xml:lang: xs:language, language identification, optional
  • pos: tLengthM (xs:decimal, 6 fraction digits, length value measured in meter); required; must be greater than or equal to zero, less than or equal to the track's length
  • absPos: tLengthM (xs:decimal, 6 fraction digits, length value measured in meter); optional
  • absPosOffset: xs:decimal, 6 fraction digits, length value measured in meter; optional
  • dir: xs:string, generic type for more constrained direction statements: enumeration up, down; derived from tLaxDirection; optional
  • value: tLengthMM (xs:decimal, 6 fraction digits, length value measured in millimeter); default: 1435; optional

Best practice & Examples / Empfohlene Anwendung & Beispiele

Consider railML® 2.2 example of East Saxony railway network by FBS (link to the railML® website).

This code example defines gauge change of the track that connects Arnsdorf West and Nord junctions.

<gaugeChanges>
  <gaugeChange id='gac_80.6228_0' pos='0' absPos='942' dir='up' value='1435'/>
</gaugeChanges>

Notes / Anmerkungen

General information on positioning

Positive pos values describe the distance from the track's begin. The track length is derived from the pos value in <trackEnd>.

The absolute mileage refered to by absPos is usually found on technical drawings of the track layout or on mileage posts next to the track.

The change of the gauge happens mainly on frontiers or due to historical reasons.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.