Dev:CommonDataTypes: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Line 19: Line 19:
!width="5%" | TT
!width="5%" | TT
|-
|-
|Position
|Position, distance, radius
|km
|km
|decimal (0.3)
|float (0.3)
|x
|x
|
|
|
|
|
|
|Used as absolute or relative Position along the track and as abs. or rel. offset
|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
|Latitude, Longitude, Altitude
|?
|?
|decimal
|float
|x
|x
|
|
Line 37: Line 37:
|Geographical position. The used coordinate system is still under discussion.
|Geographical position. The used coordinate system is still under discussion.
|-
|-
|(name)
|Owner Name
|(unit)
|--
|(enc)
|string
|X
|
|
|
|
|
|
|
|
|(comment)
|-
|-
|(name)
|UIC-Number
|(unit)
|--
|(enc)
|integer
|
|
|
|
|
|
|
|
|(comment)
|UIC-No. which belongs to a <<Owner>>.
|-
|-
|(name)
|Voltage
|(unit)
|V
|(enc)
|integer
|x
|
|
|
|
|
|
|
|
|(comment)
|-
|-
|(name)
|Frequency
|(unit)
|Hertz (1/s)
|(enc)
|float
|x
|
|
|
|
|
|
|
|
|(comment)
|-
|-
|(name)
|Gauge
|(unit)
|m (?)
|(enc)
|float (0.3)
|x
|
|
|
|
|
|
|
|
|(comment)
|-
|-
|(name)
|Weight
|(unit)
|kg
|(enc)
|float
|x
|
|
|
|
|
|
|
|
|(comment)
|-
|-
|(name)
|Axle Load ("meterload")
|(unit)
|kg/m
|(enc)
|float
|x
|
|
|
|
|
|Is this correct?
|-
|Speed
|km/h (?)
|float
|x
|
|
|
|
|(comment)
|
|Or did we agree on [m/s] in the last meeting?
|-
|-
|(name)
|Angle
|(unit)
|-- (rad)
|(enc)
|float
|
|
|
|
|
|
|
|
|(comment)
|Should we really use radian instead of grad (2 Pi = 360 Grad)?
|-
|-
|(name)
|Country ID (for Balises)
|(unit)
|--
|(enc)
|integer
|x
|
|
|
|
|
|
|
|
|(comment)
|-
|-
|(name)
|Group ID (for Balises)
|(unit)
|--
|(enc)
|integer
|x
|
|
|
|
|
|
|
|
|(comment)
|-
|-
|(name)
|Point (Coordinates on a screen)
|(unit)
|pixel
|(enc)
|float
|x
|
|
|
|
|
|
|
|Used in the visualization part. Shouldn't the unit be integer?
|(comment)
|-
|-
|(name)
|Size (Screen size of an element)
|(unit)
|pixel
|(enc)
|float
|
|x
|
|
|
|
|
|
|(comment)
|Used in the visualization part. Shouldn't the unit be integer?
|-
|-
|(name)
|(name)

Revision as of 10:58, 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.
Owner Name
string X
UIC-Number
integer 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
float Should we really use radian instead of grad (2 Pi = 360 Grad)?
Country ID (for Balises)
integer x
Group ID (for Balises)
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)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)
(name) (unit) (enc) (comment)