Re: [railML2] Clearer modelling of the signal designation [message #2353 is a reply to message #2320] |
Wed, 26 February 2020 20:00 |
christian.rahmig
Messages: 465 Registered: January 2016
|
Senior Member |
|
|
Dear Tobias, dear all,
Tobias Bregulla wrote on Sat, 25 January 2020 14:50
[...]
According to the wiki entry for the signals (see
https://wiki2.railml.org/index.php?title=IS:signal, the general rules
for @code (machine-readable designation for exchange) and @name
(established human-readable designation) also apply there. In the
example for the signal, however, the designation is given at @name,
which in my opinion is not correct and hinders the data exchange.
For explanation: it is about the designation "20ZS3" attached to this
German combination signal
( https://upload.wikimedia.org/wikipedia/commons/2/2e/Ks-Signa l.jpg,
which is also used in site plans and many other documents.
In our opinion, the current wiki example should be described as follows:
<track>
<ocsElements>
<signals>
...
<signal id="sig2630123" dir="up" pos="18597" type="combined"
function="home" ruleCode="DE:ESO:HV"
code="A1" name="ESig A1"
description="Einfahrsignal des Bf Boppard" xml:lang=de
ocpStationRef="KBOP" absPos="109647">
<geoCoord coord="50.237850 7.576116"
epsgCode="urn:ogc:def:crs:EPSG::4326"/>
</signal>
...
</signals>
</ocsElements>
</track>
In this example, the designation "ESig A1" could be logically formed
(not mandatory, only as a suggestion) from the function function="home"
--> entry and type="combined" --> main signal in a project-specific way.
What does the community think about this? Could the example be adapted
according to this usage?
Yes, you are right. The best practice example on wiki page https://wiki2.railml.org/index.php?title=IS:signal does not match with the attribute description for @name and @code. The best practice example has to be modified as suggested by you, but also for the other two signals "Va" and "N2".
Best regards
Christian
Christian Rahmig – Infrastructure scheme coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
|
|
|