Dev:CommonDataTypes: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Line 180: Line 180:


{| border="1" cellpadding="2" style="margin: 1em auto 1em auto; text-align:center"
{| border="1" cellpadding="2" style="margin: 1em auto 1em auto; text-align:center"
!width="20%" rowspan=2 | Variable
!width="20%" rowspan=2 | Attribute
!width="20%" rowspan=2 | Part of
!width="20%" rowspan=2 | Type
!width="20%" rowspan=2 | Type
!colspan=4 | Used in ...
!colspan=4 | Used in ...
Line 191: Line 192:
|-
|-
|ID
|ID
|(various)
|string
|string
|x
|x
Line 196: Line 198:
|
|
|
|
|Occurs as infrastructureID, lineID, trackID, elemID
|Occurs as infrastructureID, lineID, trackID, elemID, ocpID
|-
|-
|name
|(various)
|string
|x
|
|
|
|Occurs in almost all elements as optional identifier / classifier
|Owner Name
|Owner Name
|OwnerType
|string
|string
|x
|x
Line 207: Line 218:
|-
|-
|modeLegislative
|modeLegislative
|operationModeType
|string
|string
|x
|x
Line 212: Line 224:
|
|
|
|
|Part of operationModeType
|
|-
|-
|modeExecutive
|modeExecutive
|operationModeType
|string
|string
|x
|x
Line 220: Line 233:
|
|
|
|
|Part of operationModeType
|
|-
|-
|style (Power Transmission)
|style
|powerTransmissionType
|string
|string
|x
|x
Line 228: Line 242:
|
|
|
|
|Part of powerTransmissionType
|
|-
|-
|model (switchType, crossingType)
|model
|switchType, crossingType
|string
|string
|x
|x
Line 238: Line 253:
|Model of the switch or crossing. Meaning?
|Model of the switch or crossing. Meaning?
|-
|-
|system (trainProtectionElementType)
|system
|trainProtectionElementType
|string
|string
|x
|x
Line 246: Line 262:
|Meaning? Examples?
|Meaning? Examples?
|-
|-
|model (trainProtectionElementType)
|model
|trainProtectionElementType
|string
|string
|x
|x
Line 254: Line 271:
|Meaning? Examples?
|Meaning? Examples?
|-
|-
|trainCategory (speedType)
|trainCategory
|speedType
|string
|string
|x
|x
Line 262: Line 280:
|Letter indicating the type of Train (e. g. "R")
|Letter indicating the type of Train (e. g. "R")
|-
|-
|status (speedType)
|status
|speedType, speedChangeType
|string
|string
|x
|x
Line 270: Line 289:
|Meaning? Examples?
|Meaning? Examples?
|-
|-
|(name)
|protection
|(type)
|levelCrossingType
|string
|x
|x
|
|
|
|
|
|
|(comment)
|Clearness detection of the LX (Radar, visual)? Or "selbstüberwacht" ("Überwachungssignal") vs. block protected ("HP")?
|-
|-
|(name)
|kind
|(type)
|bridgeType
|string
|x
|x
|
|
|
|
|
|
|(comment)
|Meaning? Examples?
|-
|-
|(name)
|sigSystem
|(type)
|signalType
|string
|x
|x
|
|
|
|
|
|
|(comment)
|Something like, Ks, H/V, ...
|-
|-
|(name)
|staticTelegram
|(type)
|baliseType, baliseGroupType
|string
|x
|x
|
|
|
|
|
|
|(comment)
|Coded? Uncoded? Binary? Plaintext?
|-
|-
|(name)
|model
|(type)
|trainDetectorType
|string
|x
|x
|
|
|
|
|
|
|(comment)
|Examples?
|-
|-
|(name)
|number
|(type)
|operationControlPointType, ocpAreaType
|string
|x
|x
|
|
|
|
|
|
|(comment)
|Meaning?
|-
|-
|(name)
|type
|(type)
|ocpPropOperationalType
|x
|string
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|
|
|
|(comment)
|-
|(name)
|(type)
|x
|x
|
|
|
|
|
|
|(comment)
|Meaning?
|-
|-
|(name)
|(name)
|(parent)
|(type)
|(type)
|x
|x

Revision as of 13:56, 9 March 2006

This page is used to collect all data types used in the schemas. The target is to harmonize and re-use data types throughout the different schemas.


Simple Types

"Simple Types" are scalars based on integers or floating point numbers. The describe values like time, length or velocities. Vectors, lists (enumerations) or structures are not covered in this section!


Scalar's Name Scalar's Unit Encoding Used in ... Comment
IS IL RS TT
Position, distance, radius km float (0.3) x May occur as absolute or relative Position along the track, as abs. or rel. offset, as distance between two points, as radius or as superelevation
Latitude, Longitude, Altitude ? float x Geographical position. The used coordinate system is still under discussion.
UIC-Number (none) integer x UIC-No. which belongs to a <<Owner>>.
Voltage V integer x
Frequency Hertz (1/s) float x
Gauge mm float (0.3) x
Weight kg float x
Axle Load ("meterload") kg/m float (0.3) x Is this correct?
Speed km/h (?) float x Or did we agree on [m/s] in the last meeting?
Angle rad (has no unit) float x Should we really use radian instead of grad (2 Pi = 360 Grad)?
Slope Promille (has no unit) ? float (6.2) x Is the unit correct? Or do we use "Percent"?
Country ID (for Balises) (none) integer x
Group ID (for Balises) (none) integer x
Point (Coordinates on a screen) pixel float x Used in the visualization part. Shouldn't the unit be integer?
Size (Screen size of an element) pixel float x Used in the visualization part. Shouldn't the unit be integer?
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)

Arbitrary Values

Currently there are a lot of "free parameters" (mostly strings), which are not strictly typed. In order to improve the interoperability between railML-capable applications, these only loosely typed variables should be defined more strictly.

The following table lists the variables which can currently be assigned with arbitrary values:

Attribute Part of Type Used in ... Comment
IS IL RS TT
ID (various) string x Occurs as infrastructureID, lineID, trackID, elemID, ocpID
name (various) string x Occurs in almost all elements as optional identifier / classifier Owner Name OwnerType string x
modeLegislative operationModeType string x
modeExecutive operationModeType string x
style powerTransmissionType string x
model switchType, crossingType string x Model of the switch or crossing. Meaning?
system trainProtectionElementType string x Meaning? Examples?
model trainProtectionElementType string x Meaning? Examples?
trainCategory speedType string x Letter indicating the type of Train (e. g. "R")
status speedType, speedChangeType string x Meaning? Examples?
protection levelCrossingType string x Clearness detection of the LX (Radar, visual)? Or "selbstüberwacht" ("Überwachungssignal") vs. block protected ("HP")?
kind bridgeType string x Meaning? Examples?
sigSystem signalType string x Something like, Ks, H/V, ...
staticTelegram baliseType, baliseGroupType string x Coded? Uncoded? Binary? Plaintext?
model trainDetectorType string x Examples?
number operationControlPointType, ocpAreaType string x Meaning?
type ocpPropOperationalType string x Meaning?
(name) (parent) (type) x (comment)