Home » railML newsgroups » railml.timetable » train annotations
train annotations [message #927] Fri, 01 March 2013 10:20 Go to next message
Andreas Tanner is currently offline  Andreas Tanner
Messages: 52
Registered: March 2012
Member
Dear group,
for our passenger information system, we would like to import
annotations for trains and train sections. By this, we mean texts that
appear on various printout products or as part of a timetable
information. Some of them can be deduced from attributes located below
trainPart (passengerUsage, etc.) (like "wheelchair access", or "snack
service available"), but others cannot (like tariff information or
contact telephone of the train driver for assistance to wheelchair users).
The proposal below is for this type of information.

The annotations come as localizable strings and can optionally be typed
by printout product. The different printout types are defined within the
railML instance document.
The annotations can be referenced from trainPart (for global ones), or
from an ocptt (for those valid on a section). Optionally validity can be
restricted with respect to the base validity of the trainPart.

I would appreciate any feedback.

Best regards
--Andreas.

<annotationType id="01" abbreviation="booklet"/>
<annotationType id="02" abbreviation="onStreetSchedule"/>
<annotationType id="03" abbreviation="dutyPrintout"/>

<annotation id="03" abbreviation="XNah">
<annotationText lang="de_DE">Fahrausweise des Nahverkehrs haben
keine Gültigkeit.</annotationText>
<annotationText lang="en_GB">Tickets for local transport are not
valid.</annotationText>
<annotationTypeRefs>01 02</annotationTypeRefs> <!-- optional IDREFS
type --> </annotation>

<annotation id="04" abbreviation="XEinstHilfeTel">
<annotationText lang="de_DE">Einstiegshilfe durch Zugführer im 1.
Fahrzeug. Tel.: 07642/912428</annotationText>
<annotationText lang="en_GB">Assistence for the handicapped by the
driver in the front car. Call 07642/912428</annotationText> </annotation>

<trainPart>
<tpAnnotationTT annotationRef="03" operatingPeriodRef=".."/> <!-- child
of trainPart --> <!-- operatingPeriodRef optional, only reduction of
trainPart validity allowed -->
....
<ocpTTs>
<ocpTT><stopDescription><sdAnnotationTT annotationRef="04" /> <!-- child
of ocpTT/stopDescription --> <!-- no operatingPeriodRef here since it is
available in stopDescription -->
....
Re: train annotations [message #928 is a reply to message #927] Sun, 10 March 2013 16:33 Go to previous messageGo to next message
Joachim Rubröder railML is currently offline  Joachim Rubröder railML
Messages: 0
Registered: November 2019
Hello Andreas,
as discussed in the railML meeting in Berlin, I'd like to implement the
annotations in a first step without the annotationTypes.

The ticket for this is: http://trac.assembla.com/railML/ticket/224

This construct is more elaborated than and related with the recently
introduced messageText of a connection. I therefore merge the messageText
into the new annotationRef.

Kind regards,
Joachim

-------------------------------------
Joachim Rubröder
Schema Coordinator: railML.timetable

Andreas Tanner wrote:
>
> Dear group,
> for our passenger information system, we would like to import
> annotations for trains and train sections. By this, we mean texts that
> appear on various printout products or as part of a timetable
> information. Some of them can be deduced from attributes located below
> trainPart (passengerUsage, etc.) (like "wheelchair access", or "snack
> service available"), but others cannot (like tariff information or
> contact telephone of the train driver for assistance to wheelchair users).
> The proposal below is for this type of information.
>
> The annotations come as localizable strings and can optionally be typed
> by printout product. The different printout types are defined within the
> railML instance document.
> The annotations can be referenced from trainPart (for global ones), or
> from an ocptt (for those valid on a section). Optionally validity can be
> restricted with respect to the base validity of the trainPart.
>
> I would appreciate any feedback.
>
> Best regards
> --Andreas.
>
> <annotationType id="01" abbreviation="booklet"/>
> <annotationType id="02" abbreviation="onStreetSchedule"/>
> <annotationType id="03" abbreviation="dutyPrintout"/>
>
> <annotation id="03" abbreviation="XNah">
> <annotationText lang="de_DE">Fahrausweise des Nahverkehrs haben
> keine G�ltigkeit.</annotationText>
> <annotationText lang="en_GB">Tickets for local transport are not
> valid.</annotationText>
> <annotationTypeRefs>01 02</annotationTypeRefs> <!-- optional IDREFS
> type --> </annotation>
>
> <annotation id="04" abbreviation="XEinstHilfeTel">
> <annotationText lang="de_DE">Einstiegshilfe durch Zugf�hrer im 1.
> Fahrzeug. Tel.: 07642/912428</annotationText>
> <annotationText lang="en_GB">Assistence for the handicapped by the
> driver in the front car. Call 07642/912428</annotationText> </annotation>
>
> <trainPart>
> <tpAnnotationTT annotationRef="03" operatingPeriodRef=".."/> <!-- child
> of trainPart --> <!-- operatingPeriodRef optional, only reduction of
> trainPart validity allowed -->
> ...
> <ocpTTs>
> <ocpTT><stopDescription><sdAnnotationTT annotationRef="04" /> <!-- child
> of ocpTT/stopDescription --> <!-- no operatingPeriodRef here since it is
> available in stopDescription -->
> ...
>
>



--
----== posted via PHP Headliner ==----
Re: train annotations [message #929 is a reply to message #927] Mon, 11 March 2013 11:43 Go to previous messageGo to next message
Joachim Rubröder railML is currently offline  Joachim Rubröder railML
Messages: 0
Registered: November 2019
Hello everybody,
the requested 'train annotations' are now available:
> http://trac.assembla.com/railML/ticket/224

http://trac.assembla.com/railML/changeset/577

Please check if this implementation is according to your needs!

Kind regards,
Joachim

-------------------------------------
Joachim Rubröder
Schema Coordinator: railML.timetable

--
----== posted via PHP Headliner ==----
Re: train annotations [message #931 is a reply to message #929] Tue, 12 March 2013 08:29 Go to previous message
Andreas Tanner is currently offline  Andreas Tanner
Messages: 52
Registered: March 2012
Member
Am 11.03.2013 11:43, schrieb Joachim Rubroeder:
> Hello everybody,
> the requested 'train annotations' are now available:
>> http://trac.assembla.com/railML/ticket/224
>
> http://trac.assembla.com/railML/changeset/577
>
> Please check if this implementation is according to your needs!
>
> Kind regards,
> Joachim
>
> -------------------------------------
> Joachim Rubröder
> Schema Coordinator: railML.timetable
>
Great, thanks a lot!
--Andreas.
Previous Topic: Extension of places and service
Next Topic: circulations should be optional
Goto Forum:
  


Current Time: Fri Jul 12 20:22:18 CEST 2024