TransXChange Examples 2.0e - Linear Route

 

Summary 

Registration for a single route run by a single operator. There are two vehicle journeys with the same timings.

  • Linear route.
  • Local bus stop definition.
  • Tracks, including instructions and Mapping System References.
  • Frequent Service.
  • Registration details.

Published as:  PDF

Route Map

Timetable

Line L1

Journeys

#1   #2

Suborn, Bus Station

 07:00

And then every 10 minutes until

 19:00

Garden Village, Shops

 07:20

 19:20

Robridge, Plough

 07:40

 19:40

Barford, Red Lion

 07:50

 19:50

Egham, Golden Lion

 08:00

 20:00

The XML Representation

XML Document 

Service Structure

  • There is a single Service instance SV1, with one Line - 'L1'.
  • The service OperatingProfile says it runs Monday to Friday every day of the year.
  • The Registration is for a single Operator
  • There are five StopPoint instances.
    • One stop is defined locally (Suborn, Bus Station)., the others are all references to existing NaPTAN stops.
  • There is a single RouteSection rs_1 with four RouteLink instances rl_1-rl_4 connecting the stops.
  • There is a single Route r_1 containing the route section rs_1
  • There is a single JourneyPatternSection js_1, made up of four JourneyPatternTimingLink instances, jptl_1-jptl_4, each referencing the corresponding route link.
  • There is a single JourneyPattern, jp_1, that follows route r_1.
  • There are two VehicleJourney instances, both based on JourneyPattern jp_1:
    • The first, VJ1, follows JP1 without any changes to the timings on the JourneyPatternTimingLink instances. It has a start time of 7.00. It has a frequent service of every 10 minutes, and an end time of 19:30.
    • The second, VJ2, references VJ1  for all its links, with a start time of 1900.  [POSSIBLY THIS CAN BE DROPPED NOW]

Use of Tracks

The example includes a description of the physical route as an ordered sequence of tracks, each containing a polyline of geospatial points.

  •  Each RouteLink has a single Track, except for the link between ‘Garden Village’ and ‘Robridge, Plough’,  which has two Track instances (t2 & T3),  because its road goes over two different roads; the A57 and the B256. See Use of Tracks/
  • Some of the Tracks include MappingSystem references to TOID instances.

The following diagram shows the how the route projects onto the map representation of the road system, using the NaPTAN stop points as projection points between levels of discourse.

  • A schematic map of the road network appears at the top.
  • The stylised route map appears at the bottom.
  • In between are shown the route links and track link, with  the points onto which the align shown as vertical dotted lines..