Re: request for an attribute for the Infrastructure Manager of a line [message #370 is a reply to message #326] |
Mon, 01 October 2012 15:11 |
Christian Rahmig
Messages: 151 Registered: January 2011
|
Senior Member |
|
|
Dear railML users,
>>> <xs:attribute name="[uicCountryCode]" type="rail:tTwoDigits" />
>>
>> [...]
>> With uicCountryCode=tTwoDigits, RailML seams to be usable in continents
>> starting with 'E' only but not in continents starting with 'A'. At
>> least, the world has more countries than we could code into two digits.
>
> Yes, there are countries that don't have a UIC country code, because
> they are not members of the UIC. However, it is possible to map the
> whole world to a two-digit code defined as ISO 3166-1 alpha-2 in ISO
> 3166-1 [2]. If we generalize the attribute 'uicCountryCode' into e.g.
> 'countryCode' and allow for the alpha-2 codes, railML may become usable
> in "A-continents" as well.
>
> [1] https://trac.assembla.com/railML/ticket/152
> [2] http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
In the above discussion, we agreed on the opinion that the attribute
'isoCountryCode' is not needed: Many lines in border regions include
tracks in two or more countries. To avoid additional cuts of the line,
the attribute 'isoCountryCode' is deleted. However, the line is uniquely
defined by the 'infrastructureManagerCode' and the 'code' given by the
infrastructure manager.
Regards
--
Christian Rahmig
railML.infrastructure coordinator
|
|
|