| Attribute "trainNumberField@elementNumber" Datatype [message #3656] |
Thu, 19 June 2025 13:22  |
Silvan Gruber
Messages: 15 Registered: July 2024
|
Junior Member |
|
|
Dear IL-community,
According to railml-schema (railML3.3), the data type of the attribute "trainNumberField@elementNumber" must be a "non-negative Integer". In Switzerland, we use train number fields labeled "2A" / "2B" when, for example, two trains are to be dispatched to the same track (see picture below). Therefore, the data type of the attribute would probably be "String."
Question to the community: Is there a need to label trainNumberFields with values other than "non-negative integer"?
Best regards
Silvan
[Updated on: Thu, 19 June 2025 13:26] Report message to a moderator
|
|
|
|
| Re: Attribute "trainNumberField@elementNumber" Datatype [message #3658 is a reply to message #3656] |
Fri, 20 June 2025 12:58   |
Jörg von Lingen
Messages: 128 Registered: March 2016
|
Senior Member |
|
|
Dear Silvan,
from the picture the "2A" / "2B" really looks like a label which might
be included in @designator.
The attribute 'elementNumber' is intended as an interlocking internal
index number within its data list.
In conclusion to the community:
1) The storage of any labels would be made in designator element.
or
2) A new attribute "label" of type string shall be added to the
trainNumberField element.
Please provide your view.
--
Best regards,
Joerg v. Lingen - Interlocking Coordinator
Dr. Jörg von Lingen – Interlocking schema coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
|
|
|
|
| Re: Attribute "trainNumberField@elementNumber" Datatype [message #3659 is a reply to message #3658] |
Mon, 23 June 2025 08:17   |
Silvan Gruber
Messages: 15 Registered: July 2024
|
Junior Member |
|
|
Hi Joerg,
Thank you for your quick response ; )
We use the "designator" element exclusively to reference external data. Elements are primarily labeled with the "name" element (in the "infrastructure" subschema) and the "assetName" element (in the "interlocking" subschema).From my perspective, the "assetName" element in the interlocking subschema already provides the ability to label an element that only exists in the interlocking part. For example, we use this element for "IL:tvdSections" or "IL:trackIL." Since the "trainNumberField@elementNumber" attribute cannot be used as a label, we would suggest introducing an "assetName" element for the train number field.
Best regards
Silvan
[Updated on: Tue, 24 June 2025 12:05] Report message to a moderator
|
|
|
|
| Re: Attribute "trainNumberField@elementNumber" Datatype [message #3853 is a reply to message #3659] |
Sat, 03 January 2026 05:13  |
Jörg von Lingen
Messages: 128 Registered: March 2016
|
Senior Member |
|
|
Dear Silvan,
in railML3.4 we have added assetName element for a trainNumberField allowing to store several (language dependent) names/labels of this object. Th
e use of designator for any name or label is depricated.
Best regards,
Joerg v. Lingen - Interlocking Coordinator
Dr. Jörg von Lingen – Interlocking schema coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
|
|
|
|