Dev:CommonDataTypes: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Line 36: | Line 36: | ||
| | | | ||
|Geographical position. The used coordinate system is still under discussion. | |Geographical position. The used coordinate system is still under discussion. | ||
|- | |- | ||
|UIC-Number | |UIC-Number | ||
Line 172: | Line 163: | ||
|(comment) | |(comment) | ||
|} | |} | ||
= Arbitrary Values = | = Arbitrary Values = |
Revision as of 10:26, 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 | m (?) | float (0.3) | x | ||||
Weight | kg | float | x | ||||
Axle Load ("meterload") | kg/m | float | 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)? | |||
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:
Variable | Type | Used in ... | Comment | |||
---|---|---|---|---|---|---|
IS | IL | RS | TT | |||
ID | string | x | Occurs as infrastructureID, lineID, trackID | |||
Owner Name | string | 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 | (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) |