Template:InheritConnection: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Created template for 'connection' elements in the Infrastructure subschema)
 
m (Further parameters added)
Line 39: Line 39:
|notes_de = {{{course_de|}}}
|notes_de = {{{course_de|}}}
}}
}}
* {{Attr|radius}}
* {{Attr|radius}} {{AddAnn|{{{radius|}}}|{{{radius_de|}}} }}
* {{Attr|maxSpeed}}
* {{Attr|maxSpeed}} {{AddAnn|{{{maxSpeed|}}}|{{{maxSpeed_de|}}} }}
* {{Attr|passable}}
* {{Attr|passable}} {{AddAnn|{{{passable|}}}|{{{passable_de|}}} }}
* {{Attr|branchDist}} {{Depr|2.1}}
* {{Attr|branchDist}} {{Depr|2.1}}
|
|
Line 48: Line 48:
|constraints =
|constraints =
{{InheritIdConstraints}}
{{InheritIdConstraints}}
* {{Attr|ref}} {{RailMLType|tGenericRef}}, mandatory {{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }}
* {{Attr|ref}} {{RailMLType|tGenericRef}}, mandatory
{{#if: {{PAGENAME}} = (IS:switch or IS:crossing)  
{{#if: {{PAGENAME}} = (IS:switch or IS:crossing)  
|
|
Line 58: Line 58:
* {{Attr|branchDist}} {{RailMLType|tLengthM}}, optional
* {{Attr|branchDist}} {{RailMLType|tLengthM}}, optional
|
|
}}
}} {{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }}


|notes = {{AddAnn|{{{notes_en|None.}}}|{{{notes_de|}}} }}
}}
}}

Revision as of 11:06, 22 January 2013


connection
 


Scheme description / Schemenbeschreibung

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

  • Parent: FIXME
  • Children: Not yet described. / Noch nicht beschrieben.

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

A FIXME is an element to determine which branches of a track are connected at a certain position.

Attributes of connection / Attribute von connection

  • 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.
  • ref: This refers to the id attribute of the associated <connection> element.
  • orientation
  • incoming
  • outgoing
  • rightAngled
  • unknown
  • other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
  • course
  • straight
  • left
  • right
  • other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
  • radius
  • maxSpeed
  • passable
  • branchDist (deprecated with version 2.1)

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 (_)
  • ref xs:IDREF, mandatory
  • orientation mandatory
  • course optional
  • radius xs:decimal, 6 fraction digits, length value measured in meter, optional
  • maxSpeed xs:decimal, 5 digits and 1 fraction digit with minimum value 0, speed value measured in km/h, optional
  • passable xs:Boolean, optional
  • branchDist xs:decimal, 6 fraction digits, length value measured in meter, optional

Best practice & Examples / Empfohlene Anwendung & Beispiele

Not yet described. / Noch nicht beschrieben.

Notes / Anmerkungen


None.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.