Content
Table of Contents |
---|
Geographical location indications (for Line 109, Oslo)
...
JourneyPattern
A JourneyPattern can be defined as pointsInSequence (a sorted list of points, detailed in other exampleexamples) and/or linksInSequence (a sorted list of links between two points).
According to The Norwegian Nordic NeTEx Profile, the actual route must be defined as at the highest possible level in the XML structure, and in most cases, it is recommended that this be done as a set of 637370789 Projeksjon#serviceLinks with Link projections describing the points it follows. These should unambiguously describe the path using sufficient GML coordinates (gml:pos) so that the line's JourneyPattern is correctly displayed on maps.
In some cases (e.g. air routes), this may be done using the line's RoutePoints, since it will suffice to display the route as a straight line between these two locations.
Info |
---|
See also official NeTex White Papers, in particular 06.NeTEx-Network-WhitePaper, where this aspect is described in detail. |
Link
The entire XML sample file is located XML example in it its entirety can be found in the GitHub repository below : https://github.com/entur/profile-norway-examples/blob/master/netex/Full_PublicationDelivery_109_Oslo_morningbus_example.xml
PublicationDelivery
Info |
---|
Because other relevant data structures in the example have already been described in Simple rhytm rhythm based bus line / Simple bus line, only the definition of serviceLinks and their use in linksInSequence (in JourneyPattern) are described in this document. |
Service Frame
serviceLinks
637370789Projeksjon#serviceLinks with Link projections describes additional geographical points between StopPoints/TimingPoints .
Code Block | ||
---|---|---|
| ||
<serviceLinks> <ServiceLink version="any" id="unibuss:sl:helsfyr_to_brynseng"> <projections> <LinkSequenceProjection version="any" id="unibuss:lsp:109:helsfyr_to_brynseng"> <gml:LineString srsName="WGS84" gml:id="helsfyr_to_brynseng"> <gml:pos>59.911925 10.807198</gml:pos> <gml:pos>59.910395 10.813012</gml:pos> </gml:LineString> </LinkSequenceProjection> </projections> <FromPointRef version="any" ref="unibuss:ssp:helfyr_t"/> <ToPointRef version="any" ref="unibuss:ssp:brynseng_t"/> </ServiceLink> [...] <ServiceLink version="any" id="unibuss:sl:ryen_to_holtet"> <projections> <LinkSequenceProjection version="any" id="unibuss:lsp:109:ryen_to_holtet"> <gml:LineString srsName="WGS84" gml:id="ryen_to_holtet"> <gml:pos>59.894780 10.804309</gml:pos> <gml:pos>59.892531 10.804000</gml:pos> <gml:pos>59.888996 10.805961</gml:pos> <gml:pos>59.887608 10.806368</gml:pos> <gml:pos>59.886410 10.800586</gml:pos> <gml:pos>59.885832 10.792943</gml:pos> <gml:pos>59.885392 10.788938</gml:pos> <gml:pos>59.885630 10.784435</gml:pos> <gml:pos>59.883864 10.783759</gml:pos> <gml:pos>59.881872 10.783770</gml:pos> </gml:LineString> </LinkSequenceProjection> </projections> <FromPointRef version="any" ref="unibuss:ssp:ryen_t"/> <ToPointRef version="any" ref="unibuss:ssp:holtet"/> </ServiceLink> </serviceLinks> |
linksInSequence
The links describing how to project the line's journeypattern JourneyPattern are used in conjunction with the stops (possibly timing points) to accurately specify the line's JourneyPattern.
...