Home » railML newsgroups » railML.infrastructure » [railML2] Clearer modelling of the signal designation
Re: [railML2] Clearer modelling of the signal designation [message #2353 is a reply to message #2320] Wed, 26 February 2020 20:00 Go to previous messageGo to previous message
christian.rahmig is currently offline  christian.rahmig
Messages: 436
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:signalWink, 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.jpgWink,
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: extension of <levelCrossing> in railML2.4nor
Next Topic: the use of @dir in railML.
Goto Forum:
  


Current Time: Sat May 04 00:32:49 CEST 2024