Home » railML newsgroups » railML.infrastructure » Fwd: Mapping of code and abbreviation for ocps
Re: Fwd: Mapping of code and abbreviation for ocps [message #247 is a reply to message #246] Mon, 21 March 2011 15:35 Go to previous messageGo to previous message
Susanne Wunsch railML is currently offline  Susanne Wunsch railML
Messages: 0
Registered: January 2020
Hello Simon,

"Simon Heller" <sih(at)ivude> writes:

> ... I accidently posted this infrastructure message in the timetable forum.

I don't think, it was a bad choice posting this issue to both timetable
AND infrastructure forum. It is an aspect of infrastructure with high
relevance for timetables.

I add a short reply from Joachim (by mail)

On Mon, Mar 21, 2011 at 11:45:09AM +0100, Joachim Rubröder wrote:
>
> Der Vorschlag von Simon, den UIC-Code am ocp zu berücksichtigen finde
> ich sehr vernünftig. Da es dafür ja eine Beschreibung gibt, sollten
> wir die auch möglichst 1:1 umsetzen:
> - numerical country code (2 digits)
> - railway location number (5 digits)
> - check digit (1 digit)
> -> neue eigene Felder speziell hierfür "uic-xy"
>
> "code" sehe ich für den Länder-intern bzw. System-intern üblichen
> Schlüssel, also DS100 bzw. die mehrbuchstabige Abkürzung. Da können
> wir in railML aber schwer eine verbindlichen Vorgabe über die Nutzung
> machen. Viriato würde da wohl am ehesten den UICCode (2-digits) und
> dann den vom Anwender vergebenen Schlüssel (also z.B. '85ZUE' für
> Zürich) reinschreiben
>
> "name" ist dann wohl der Name des ocp (z.B. 'Zürich'), auch ohne
> verbindliche Vorgaben für die Nutzung.

I translate this into the following (currently non-valid) XML fragments:

<xs:attribute name="tsiCountry" type="rail:tTwoDigits" />
<xs:attribute name="tsiLocation" type="rail:tFiveDigits" />
<xs:attribute name="tsiCheck" type="rail:tOneDigit" />

The newly introduced "code" attribute should be used for local location
codes, like (RL100 in Germany). I would prefer using the "code"
attribute with pure local (non-central) location codes (allowing
letters, digits and whitespaces) but without additional country code
prefixes, like Joachim suggested.

The "old" attributes "abbrevation" and "number" stay marked as
"Deprecated" for next major release. see:

http://trac2.assembla.com/railML/changeset/335
http://trac2.assembla.com/railML/ticket/94

Some example would be:

<ocp id="o12345"
code="ZUE"
name="Zürich"
description="Zürich Hauptbahnhof"
tsiCountry="85"
tsiLocation="12345" <!-- ?? -->
tsiCheck="3" />

Thank you Simon, for mentioning some official source.

Current file for download (as draft version):

http://www.era.europa.eu/Document-Register/Documents/TAP-TSI -Technical_Document_TAP_B_9_v1.1.pdf

(without according code lists, with some missing paragraphs and small
inconsistent explanations!)

There are some more definitions for location code lists that should be
used in telematic applications for passenger railway services in future
assumed this TSI is put into practice.

I resume the official code snippets for railML attributes:

tsiCountry (2 Digits) - country to which the location belongs in
accordance to the Code List B.9.1

(currently missing!)

tsiLocation (5 Digits) - railway location number, the code shall be
allocated by a national authority according
to its own rules... Each Primary Code shall
have an unambiguous and compulsory
designation which shall be defined by the
national authority.

tsiCheck (1 Digit) - check digit in accordance with the rules
specified in Annex A.

tsiReservation (5 Digits) - seat reservation code are defined and
allocated by each RU according to its own
rules.

tsiType (1 Digit) - Type used to indicate the type of location [see
code list B.9.2];

(currently missing!)

tsiInfrastructureBorder (3 Digits) - frontier and IM-transit point
code used to identify the
frontier and transit point
concerned within the different
"Type" categories. ...The
allocating body tries to achieve
agreement between the concerned
parties and allocates the
Subsidiary Code.

tsiRailwayA (4 Digits) - Company Code of RU A according ERA TAP TSI
Technical Document B.8

tsiRailwayB (4 Digits) - Company Code of RU A according ERA TAP TSI
Technical Document B.8

If we agree, implementing these attributes, I would prefer adding a new
element, called "tsi" or "era" or "uic", cutting the attributes'
prefixes.

just my 2 cents...
Susanne

--
Susanne Wunsch
Schema Coordinator: railML.common
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ocp's/stations and their properties
Next Topic: Identical signal representation [de:Gruppenausfahrsignal]
Goto Forum:
  


Current Time: Tue Jul 23 00:44:48 CEST 2024