Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This page contains documentation on how Samtrafiken exports data in the NeTEx format according to the Nordic NeTEx Profile. It also shows how this NeTEx export is mapped from Noptis (DOI/DII) data (see https://www.noptis.com/), which is the format that many PTA:s use to deliver their data to Samtrafiken.

If you are using Samtrafiken’s NeTEx sales data (used for sales through Samtrafiken ACCESS) then you should also read the specific documentation for that dataset here: https://samtrafiken.atlassian.net/wiki/x/GYCOzQ.

Changelog of this documentation

2024-02-12 - Added the two fields JourneyPart.StartTimeDayOffset and JourneyPart.EndTimeDayOffset with explanations.

2024-11-27 - Added TopographicPlaces in _stops.xml. Several european countries, and for Sweden all counties and municipalities are included.

ServiceCalendar, DayType, OperatingPeriod and DayTypeAssignment

...

Code Block
breakoutModefull-width
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:ns2="http://www.opengis.net/gml/3.2" xmlns:ns3="http://www.siri.org.uk/siri">
    <PublicationTimestamp>2019-11-27T12:50:21</PublicationTimestamp> <!-- Timestamp of export -->
    <ParticipantRef>SAM</ParticipantRef>
    <dataObjects>
        <CompositeFrame created="2019-11-27T12:50:21" version="20191127125021" id="SE:253:CompositeFrame:1"> <!-- Version is timestamp of export, id is always 1 -->
            <ValidBetween>
                <FromDate>2005-01-01T00:00:00</FromDate> <!-- Always set to 2005-01-01 -->
            </ValidBetween>
            <codespaces>
                <Codespace id="253"> <!-- id is same as Xmlns -->
                    <Xmlns>253</Xmlns> <!-- From Samtrafiken's registry of producer numbers, based on data source -->
                    <XmlnsUrl>http://www.samtrafiken.se/ns/Östgötatrafiken</XmlnsUrl> <!-- "Östgötatrafiken" is based on data source -->
                </Codespaced>
            </codespaces>
            <FrameDefaults>
                <DefaultLocale>
                    <TimeZone>Europe/Stockholm</TimeZone>
                    <DefaultLanguage>se</DefaultLanguage>
                </DefaultLocale>
                <DefaultLocationSystem>4326</DefaultLocationSystem> <!-- All coordinates are WGS84 -->
            </FrameDefaults>
            <frames>
                <ResourceFrame version="20191127125021" id="SE:253:ResourceFrame:1"> <!-- Version is timestamp of export (YYYYMMDDHHmmSS), id is always 1 -->
                    <organisations>
                        <!-- Authority is based on Noptis.TransportAuthority -->
                        <Authority version="20131206" id="SE:253:Authority:9010005000000000"> <!-- version=Noptis.TransportAuthority.ExistsFromDate, id=Noptis.TransportAuthority.Gid -->
                            <ValidBetween>
                                <FromDate>2019-02-13T00:00:00</FromDate> <!-- Noptis.TransportAuthority.ExistsFromDate -->
                                <!-- ToDate = Noptis.TransportAuthority.ExistsToDate, in this case "ExistsToDate" is null -->
                            </ValidBetween>
                            <PrivateCode>253</PrivateCode>
                            <Name>Östgötatrafiken</Name> <!-- Noptis.TransportAuthority.Name -->
                            <LegalName>Östgötatrafiken</LegalName> <!-- Noptis.Organisation.FormalName -->
                            <OrganisationType>authority</OrganisationType> <!-- Always "authority" -->
                        </Authority>
                        <!-- More Authority elements -->
                        <!-- Operator is based on Noptis.Contractor -->
                        <Operator version="20131211" id="SE:253:Operator:9013005918200000"> <!-- version=Noptis.Contractor.ExistsFromDate, id=Noptis.Contractor.Gid -->
                            <ValidBetween>
                                <FromDate>2019-02-13T00:00:00</FromDate> <!-- Noptis.Contractor.ExistsFromDate -->
                                <!-- ToDate = Noptis.Contractor.ExistsToDate, in this case "ExistsToDate" is null -->
                            </ValidBetween>
                            <Name>eBuss Motala</Name> <!-- Noptis.Contractor.Name -->
                            <LegalName>eBuss i Sverige AB</LegalName> <!-- Noptis.Organisation.FormalName -->
                            <OrganisationType>operator</OrganisationType> <!-- Always "operator" -->
                        </Operator>
                        <!-- More Operator elements -->
                    </organisations>
                </ResourceFrame>
                <ServiceFrame version="20191127125021" id="SE:253:ServiceFrame:1"> <!-- Version is timestamp of export (YYYYMMDDHHmmSS), id is always 1 -->
                    <!-- Each unique Noptis.Line.IsDefinedByTransportAuthority will create a Network with the AuthorityRef. In this case there is only one, 
                    additional Networks would be placed in an "additionalNetworks" element. -->
                    <Network version="20131206" id="SE:253:Network:9010005000000000"> <!-- version=Noptis.TransportAuthority.ExistsFromDate, id=Noptis.TransportAuthority.Gid -->
                        <Name>Östgötatrafiken</Name> <!-- Noptis.TransportAuthority.Name -->
                        <AuthorityRef ref="SE:253:Authority:9010005000000000" version="20131206"/>
                        <!-- WIP, Netex.GroupOfLines is based on Noptis.GroupOfLines -->
                        <groupsOfLines>
                            <GroupOfLines version="1" id="SE:253:GroupOfLines:1">
                                <ValidBetween>
                                    <FromDate>2019-02-13T00:00:00</FromDate> <!-- Noptis.GroupOfLines.ExistsFromDate -->
                                    <!-- ToDate = Noptis.GroupOfLines.ExistsToDate, in this case "ExistsToDate" is null -->
                                </ValidBetween>
                                <Name>Spårvagn</Name> <!-- Noptis.GroupOfLines.Name -->
                                <PrivateCode>SPV</PrivateCode> <!-- Noptis.GroupOfLine.Code -->
                                <members>
                                    <LineRef ref="SE:253:Line:9011005005300000"/> <!-- Based on Noptis.LineInGroupOfLines -->
                                </members>
                            </GroupOfLines>
                        </groupsOfLines>
                    </Network>
                    <routePoints>
                        <!-- RoutePoint, ScheduledStopPoint, PassengerStopAssignment are all based on Noptis.StopPoint -->
                        <RoutePoint version="20190426" id="SE:253:RoutePoint:9022005000001001"> <!-- version=Noptis.StopPoint.ExistsFromDate, id=Noptis.StopPoint.Gid -->
                            <projections>
                                <PointProjection version="20190426" id="SE:253:PointProjection:9022005000001001"> <!-- version=Noptis.StopPoint.ExistsFromDate, id=Noptis.StopPoint.Gid -->
                                    <ProjectedPointRef ref="SE:253:ScheduledStopPoint:9022005000001001" version="20190426"/>
                                </PointProjection>
                            </projections>
                        </RoutePoint>
                        <!-- More RoutePoint elements -->
                    </routePoints>
                    <destinationDisplays>
                        <!-- DestinationDisplay is based on Noptis.DestinationDisplay -->
                        <!-- DestinationDisplays that are used as "via" are created from each Noptis.DestinationDisplay.SecondaryDestinationName. Theses elements are recognized by having "via_" prepended to their id.
                        In the example below, both DestinationDisplay elements are created from the same Noptis.DestinationDisplay. -->
                        <DestinationDisplay version="any" id="SE:253:DestinationDisplay:via_55700000037211691"> <!-- id=Noptis.DestinationDisplay.Id -->
                            <FrontText>Västerlösa</FrontText> <!-- Noptis.DestinationDisplay.SecondaryDestinationName -->
                            <PublicCode>573</PublicCode> <!-- Noptis.DestinationDisplay.LineDesignation -->
                        </DestinationDisplay>
                        <DestinationDisplay version="any" id="SE:253:DestinationDisplay:55700000037211691"> <!-- id=Noptis.DestinationDisplay.Id -->
                            <FrontText>Malmslätt</FrontText> <!-- Noptis.DestinationDisplay.PrimaryDestinationName -->
                            <PublicCode>573</PublicCode> <!-- Noptis.DestinationDisplay.LineDesignation -->
                            <vias>
                                <Via>
                                    <DestinationDisplayRef ref="SE:253:DestinationDisplay:via_55700000037211691" version="any"/>
                                </Via>
                            </vias>
                        </DestinationDisplay>
                        <!-- More DestinationDisplay elements -->
                    </destinationDisplays>
                    <scheduledStopPoints>
                        <!-- RoutePoint, ScheduledStopPoint, PassengerStopAssignment are all based on Noptis.StopPoint -->
                        <ScheduledStopPoint version="20190426" id="SE:253:ScheduledStopPoint:9022005000001001"> <!-- version=Noptis.StopPoint.ExistsFromDate, id=Noptis.StopPoint.Gid -->
                            <Name>Norr Tull</Name> <!-- Noptis.StopPoint.Name -->
                        </ScheduledStopPoint>
                        <!-- More ScheduledStopPoint elements -->
                    </scheduledStopPoints>
                    <serviceLinks>
                        <!-- ServiceLink is based on Noptis.RouteLink -->
                        <ServiceLink version="20190213" id="SE:253:ServiceLink:BUS_9025005000136402_9025005000005702"> <!-- version=Noptis.RouteLink.ExistsFromDate, 
                            id=Noptis.RouteLinkTraversableByTransportModeCode.TransportModeCode + Noptis.RouteLink.StartsAtJourneyPatternPointGid + Noptis.RouteLink.EndsAtJourneyPatternPointGid -->
                            <ValidBetween>
                                <FromDate>2019-02-13T00:00:00</FromDate> <!-- Noptis.RouteLink.ExistsFromDate -->
                                <!-- ToDate = Noptis.RouteLink.ExistsToDate, in this case "ExistsToDate" is null -->
                            </ValidBetween>
                            <Distance>338</Distance> <!-- Noptis.RouteLink.DistanceMeters -->
                            <projections>
                                <LinkSequenceProjection version="20190213" id="SE:253:LinkSequenceProjection:BUS_9025005000136402_9025005000005702"> <!-- Same ID as parent ServiceLink -->
                                    <ns2:LineString srsName="4326" ns2:id="LS_BUS_9025005000136402_9025005000005702"> <!-- Same ID as parent ServiceLink but with "LS_" prepended -->
                                        <ns2:posList count="30" srsDimension="2">58.666991 16.180848 58.666982 16.180848 58.66691 16.180899 58.666703 16.181034 58.666325 16.181358 58.666109 16.181545 58.665821 16.1818 58.665749 16.181834 58.665651 16.181833 58.665624 16.181833 58.665328 16.181743 58.664978 16.18155 58.664593 16.181253 58.664494 16.181166 58.664154 16.180869</ns2:posList> 
                                        <!-- Each coordinate pair is created from one Noptis.PointOnRouteLink -->
                                    </ns2:LineString>
                                </LinkSequenceProjection>
                            </projections>
                            <FromPointRef ref="SE:253:ScheduledStopPoint:9022005001364002" version="20190426"/> <!-- Noptis.RouteLink.StartsAtJourneyPatternPointGid -->
                            <ToPointRef ref="SE:253:ScheduledStopPoint:9022005000057002" version="20190426"/> <!-- Noptis.RouteLink.EndsAtJourneyPatternPointGid -->
                            <VehicleMode>bus</VehicleMode> <!-- See the section "General Noptis to Netex mappings" below -->
                        </ServiceLink>
                        <!-- More ServiceLink elements -->
                    </serviceLinks>
                    <stopAssignments>
                        <!-- RoutePoint, ScheduledStopPoint, PassengerStopAssignment are all based on Noptis.StopPoint -->
                        <PassengerStopAssignment order="0" version="20190426" id="SE:253:PassengerStopAssignment:9022005000001001"> <!-- version=Noptis.StopPoint.ExistsFromDate, id=Noptis.StopPoint.Gid, "order" is always 0 -->
                            <ScheduledStopPointRef ref="SE:253:ScheduledStopPoint:9022005000001001" version="20190426"/>
                            <QuayRef ref="SE:253:Quay:9022005000001001"/>
                        </PassengerStopAssignment>
                        <!-- More PassengerStopAssignment elements -->
                    </stopAssignments>
                    <notices>
                        <!-- Notice is based on Noptis.AdvanceOrderCondition -->
                        <Notice version="any" id="SE:253:Notice:55700000050931583"> <!-- id=Noptis.AdvanceOrderCondition.Id -->
                            <Text>Turen måste förbeställas på 0771 - 71 10 20 senast 2 timmar före avresa från turens starthållplats.</Text> <!-- Noptis.AdvanceOrderCondition.PublicNote -->
                        </Notice>
                        <!-- More Notice elements -->
                    </notices>
                </ServiceFrame>
                <ServiceCalendarFrame version="20191127125021" id="SE:253:ServiceCalendarFrame:1"> <!-- Version is timestamp of export (YYYYMMDDHHmmSS), id is always 1 -->
                    <!-- The content of ServiceCalendarFrame is created based on Noptis.DatedVehicleJourney.OperatingDayDate but a pattern of runnings days and operating period is constructed to represent that data.
                    Each unique combination of operating days of a Noptis.VehicleJourney will create one DayType. -->
                    <dayType
                        <DayType version="any" id="SE:253:DayType:a33m5mgb2thf88dnl75h8a8jt21i3iqu">
                          <properties>
                            <PropertyOfDay>
                              <DaysOfWeek>Monday Tuesday Wednesday Thursday Friday</DaysOfWeek>
                            </PropertyOfDay>
                          </properties>
                        </DayType>
                        <DayType version="any" id="SE:253:DayType:4vfuvln5ed1bte5nrbf56qees9vakerf">
                          <properties>
                            <PropertyOfDay>
                              <DaysOfWeek>Saturday Sunday</DaysOfWeek>
                            </PropertyOfDay>
                          </properties>                        
                        </DayType>
                    </dayTypes>
                    <operatingPeriods>
                        <OperatingPeriod version="any" id="SE:253:OperatingPeriod:221108221209">
                            <FromDate>2022-11-08T00:00:00</FromDate>
                            <ToDate>2022-12-10T00:00:00</ToDate><!-- N.B: The period is valid up-to this time, but NOT including this time. So the last possible trip would depart on 2022-12-09 23:59:59 -->
                        </OperatingPeriod>
                        <OperatingPeriod version="any" id="SE:253:OperatingPeriod:221212230331">
                            <FromDate>2022-12-12T00:00:00</FromDate>
                            <ToDate>2023-04-01T00:00:00</ToDate>
                        </OperatingPeriod>
                    </operatingPeriods>                    
                    <dayTypeAssignments>
                        <DayTypeAssignment order="1" version="any" id="SE:253:DayTypeAssignment:a33m5mgb2thf88dnl75h8a8jt21i3iqu">
                            <OperatingPeriodRef ref="SE:253:OperatingPeriod:221108221209" version="any"/>
                            <DayTypeRef ref="SE:253:DayType:a33m5mgb2thf88dnl75h8a8jt21i3iqu" version="any"/>
                        </DayTypeAssignment>
                        <DayTypeAssignment order="1" version="any" id="SE:253:DayTypeAssignment:4vfuvln5ed1bte5nrbf56qees9vakerf">
                            <OperatingPeriodRef ref="SE:253:OperatingPeriod:221212230331" version="any"/>
                            <DayTypeRef ref="SE:253:DayType:4vfuvln5ed1bte5nrbf56qees9vakerf" version="any"/>
                        </DayTypeAssignment>
                        <DayTypeAssignment order="2" version="any" id="SE:253:DayTypeAssignment:4vfuvln5ed1bte5nrbf56qees9vakerf_221226">
                            <Date>2022-12-26</Date>
                            <DayTypeRef ref="SE:253:DayType:4vfuvln5ed1bte5nrbf56qees9vakerf" version="any"/>
                        </DayTypeAssignment>                        
                        <DayTypeAssignment order="3" version="any" id="SE:253:DayTypeAssignment:4vfuvln5ed1bte5nrbf56qees9vakerf_230107">
                            <Date>2023-01-07</Date>
                            <DayTypeRef ref="SE:253:DayType:4vfuvln5ed1bte5nrbf56qees9vakerf" version="any"/>
                            <isAvailable>false</isAvailable>
                        </DayTypeAssignment>
                        <!-- More DayTypeAssignment elements -->
                    </dayTypeAssignments>
                </ServiceCalendarFrame>
            </frames>
        </CompositeFrame>
    </dataObjects>
</PublicationDelivery>

_stops.xml

This is an a shortened example of the file _stops.xml with explanations on how the different fields and elements are mapped to the Noptis format.

Code Block
breakoutModefull-width
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:ns2="http://www.opengis.net/gml/3.2" xmlns:ns3="http://www.siri.org.uk/siri">
    <PublicationTimestamp>2019-11-27T12:50:21</PublicationTimestamp> <!-- Timestamp of export -->
    <ParticipantRef>SAM</ParticipantRef>
    <dataObjects>
        <SiteFrame version="20191127125021" id="SE:253:SiteFrame:1"> <!-- Version is timestamp of export (YYYYMMDDHHmmSS), id is always 1 -->
            <ValidBetween>
                <FromDate>2005-01-01T00:00:00</FromDate> <!-- Always set to 2005-01-01 -->
            </ValidBetween>
            <codespaces>
                <Codespace id="253"> <!-- id is same as Xmlns -->
                    <Xmlns>253</Xmlns> <!-- From Samtrafiken's registry of producer numbers, based on data source -->
                    <XmlnsUrl>http://www.samtrafiken.se/ns/Östgötatrafiken</XmlnsUrl> <!-- "Östgötatrafiken" is based on data source -->
                </Codespace>
            </codespaces>
            <FrameDefaults>
                <DefaultLocale>
                    <TimeZone>Europe/Stockholm</TimeZone>
                    <DefaultLanguage>se</DefaultLanguage>
                </DefaultLocale>
                <DefaultLocationSystem>4326</DefaultLocationSystem> <!-- All coordinates are WGS84 -->
            </FrameDefaults>

           <!-- WIP, TopographicPlace is based on Noptis.Zone . TopographicPlaces are referenced from Quays through ZoneProjections -->
            <topographicPlaces>
                <TopographicPlace version="any" id="SE:253005:TopographicPlace:1NO">
                    <ValidBetween><IsoCode>NO</IsoCode>
                    <Descriptor>
   <FromDate>2016-12-13T00:00:00</FromDate> <!-- Noptis.Zone.ExistsFromDate -->                     <Name>Norway</Name>
       <!-- ToDate = Noptis.Zone.ExistsToDate, in this case "ExistsToDate" is null -->             </Descriptor>
                    <<TopographicPlaceType>country</ValidBetween>TopographicPlaceType>
                    <CountryRef <Name>Boxholm</Name> <!-- Noptis.Zone.Name -->ref="no"/>
                </TopographicPlace>
               <PrivateCode>0560</PrivateCode> <!-- Noptis.Zone.Number -- <TopographicPlace version="any" id="SE:005:TopographicPlace:SE">
                    <TopographicPlaceType>municipality<<IsoCode>SE</TopographicPlaceType> <!-- Based on Noptis.Zone.ZoneTypeCode -->IsoCode>
                    <Descriptor>
 </TopographicPlace>             </topographicPlaces>          <Name>Sweden</Name>
  <groupsOfStopPlaces>  <!-- GroupOfStopPlace is based on Noptis.Site -->          </Descriptor>
    <GroupOfStopPlaces version="20120623" id="SE:001:GroupOfStopPlaces:9091001000000103"> <!-- version=Noptis.Site.ExistsFromDate, id=Noptis.Site.Gid -->             <TopographicPlaceType>country</TopographicPlaceType>
            <ValidBetween>        <CountryRef ref="se"/>
               <FromDate>2012-06-23T00:00:00</FromDate> <!-- Noptis.Site.ExistsFromDate -->/TopographicPlace>
                <TopographicPlace version="any" id="SE:005:TopographicPlace:SE_1">
   </ValidBetween>                 <PrivateCode>01</PrivateCode>
   <Name>Nämdöböte</Name> <!-- Noptis.Site.Name -->              <IsoCode>SE-01</IsoCode>
      <Description>Nämdö</Description> <!-- Noptis.Site.PublicNote -->           <Descriptor>
         <PrivateCode>103</PrivateCode> <!-- Noptis.Site.Number -->            <Name>Stockholms län</Name>
       <members>             </Descriptor>
           <!-- StopPlaceRefs are based on Noptis.SiteNeighbouringStopArea -->   <TopographicPlaceType>county</TopographicPlaceType>
                    <CountryRef <StopPlaceRef ref="SE:001:StopPlace:9021001000103000" version="20210224"/> <!-- ref=Noptis.StopArea.Gid, version=Noptis.StopArea.ExistsFromDate -->"se"/>
                    <ParentTopographicPlaceRef    </members>ref="SE:005:TopographicPlace:SE" version="any"/>
                </TopographicPlace>
   <Centroid>             <TopographicPlace            <Location srsName="WGS84"> <!-- Noptis.Site.CoordinateSystemName -->version="any" id="SE:005:TopographicPlace:SE_0160">
                    <PrivateCode>0160</PrivateCode>
          <Longitude>18.739921</Longitude> <!-- Noptis.Site.CentroidEastingCoordinate -->       <Descriptor>
                     <Latitude>59.208826</Latitude> <!-- Noptis.Site.CentroidNorthingCoordinate -->
 <Name>Täby kommun</Name>
                       </Location>Descriptor>
                    <<TopographicPlaceType>municipality</Centroid>TopographicPlaceType>
                </GroupOfStopPlaces>    <CountryRef ref="se"/>
       </groupsOfStopPlaces>             <stopPlaces> <!-- StopPlace is based on Noptis.StopArea --><ParentTopographicPlaceRef ref="SE:005:TopographicPlace:SE_1" version="any"/>
                </TopographicPlace>
                <StopPlace<TopographicPlace version="20161213any" id="SE:253005:StopPlaceTopographicPlace:9021005000001000SE_0162">
 <!-- version=Noptis.StopArea.ExistsFromDate, id=Noptis.StopArea.Gid -->                <PrivateCode>0162</PrivateCode>
    <ValidBetween>                <Descriptor>
        <FromDate>2016-12-13T00:00:00</FromDate> <!-- Noptis.StopArea.ExistsFromDate -->             <Name>Danderyds kommun</Name>
          <!-- ToDate = Noptis.StopArea.ExistsToDate, in this case "ExistsToDate" is null --> </Descriptor>
                    <<TopographicPlaceType>municipality</ValidBetween>TopographicPlaceType>
                    <Name>Norr Tull</Name> <!-- Noptis.StopArea.Name --><CountryRef ref="se"/>
                    <ParentTopographicPlaceRef   <ShortName>Norr Tull</ShortName> <!-- Noptis.StopArea.ShortName --ref="SE:005:TopographicPlace:SE_1" version="any"/>
                    <PrivateCode>1</PrivateCode> <!-- Noptis.StopArea.Number --></TopographicPlace>
                <!-- More TopographicPlace elements. All counties and <Centroid>municipalities in Sweden -->                
     <Location>       </topographicPlaces>
            <groupsOfStopPlaces> <!-- GroupOfStopPlace is      <Longitude>16.176723</Longitude> <!--based on Noptis.StopArea.CentroidEastingCoordinateSite -->
              <GroupOfStopPlaces              <Latitude>58.594850</Latitude> version="20120623" id="SE:001:GroupOfStopPlaces:9091001000000103"> <!-- version=Noptis.StopArea.CentroidNorthingCoordinateSite.ExistsFromDate, id=Noptis.Site.Gid -->
                    <ValidBetween>
   </Location>                     </Centroid>
 <FromDate>2012-06-23T00:00:00</FromDate> <!-- Noptis.Site.ExistsFromDate -->
                  <OrganisationRef ref="SE:253:Authority:9010005000000000"/> <!-- Noptis.StopArea.IsDefinedByTransportAuthortiy --> </ValidBetween>
                    <Name>Nämdöböte</Name> <entrances> <!-- Entrances are based on Noptis.Site.StationEntrancePointName -->
                        <StopPlaceEntrance version="20120623" id="SE:275:StopPlaceEntrance:9023001006651001"> <Description>Nämdö</Description> <!-- version=Noptis.StationEntrancePoint.ExistsFromDate, id=Noptis.StationEntrancePoint.GidSite.PublicNote -->
                    <PrivateCode>103</PrivateCode> <!-- Noptis.Site.Number -->
    <ValidBetween>                <members>
                     <FromDate>2014-03-11T00:00:00</FromDate>   <!-- Noptis.StationEntrancePoint.ExistsFromDate but not earlier than parent StopPlace.FromDateStopPlaceRefs are based on Noptis.SiteNeighbouringStopArea -->
                                <StopPlaceRef ref="SE:001:StopPlace:9021001000103000" version="20210224"/> <!-- ToDate ref= Noptis.StationEntrancePointStopArea.ExistsToDate, in this case "ExistsToDate" is null, not later than parent StopPlace.ToDateGid, version=Noptis.StopArea.ExistsFromDate -->
                        <StopPlaceRef    </ValidBetween>
                            <Name>Djursholms Ösby</Name> ref="SE:001:StopPlace:9021005000001000" version="20161213"/> <!-- ref=Noptis.StopArea.Gid, version=Noptis.StationEntrancePointStopArea.NameExistsFromDate -->
                    </members>
       <Centroid>             <Centroid>
                   <Location>     <Location srsName="WGS84"> <!-- Noptis.Site.CoordinateSystemName -->
                            <Longitude>18.058320<739921</Longitude> <!-- Noptis.StationEntrancePointSite.LocationEastingCoordinateCentroidEastingCoordinate -->
                                    <Latitude>59.397925</Latitude> <Latitude>59.208826</Latitude> <!-- Noptis.StationEntrancePointSite.LocationNorthingCoordinateCentroidNorthingCoordinate -->
                        </Location>
        </Location>            </Centroid>
                </Centroid>GroupOfStopPlaces>
            </groupsOfStopPlaces>
           </StopPlaceEntrance>
     <stopPlaces> <!-- StopPlace is based on Noptis.StopArea -->
                <StopPlace version="20161213" id="SE:253:StopPlace:9021005000001000"> <!-- More StopPlaceEntrance elementsversion=Noptis.StopArea.ExistsFromDate, id=Noptis.StopArea.Gid -->
                    </entrances><ValidBetween>
                        <TransportMode>bus</TransportMode><FromDate>2016-12-13T00:00:00</FromDate> <!-- See the section "General Noptis to Netex mappings" below -->Noptis.StopArea.ExistsFromDate -->
                        <!-- ToDate =  <tariffZones>
     Noptis.StopArea.ExistsToDate, in this case "ExistsToDate" is null -->
                  <TariffZoneRef ref="SE:005:TariffZone:9081005201004216" version="160620"/> <!-- Tariff zones this stop area belongs to , Noptis.JourneyPatternPointInZone aggregated on StopArea level  </ValidBetween>
                    <Name>Norr Tull</Name> <!-- Noptis.StopArea.Name -->
                    </tariffZones><ShortName>Norr Tull</ShortName> <!-- Noptis.StopArea.ShortName -->
                    <StopPlaceType>busStation<<PrivateCode>1</StopPlaceType>PrivateCode> <!-- See the section "General Noptis to Netex mappings" below -->Noptis.StopArea.Number -->
                    <Centroid>
               <Weighting>interchangeAllowed</Weighting> <!-- See the section "General Noptis to Netex mappings"<Location>
below -->                     <quays> <!-- Quay is based on Noptis<Longitude>16.StopPoint and176723</Longitude> <!-- Noptis.JourneyPatternPointStopArea.CentroidEastingCoordinate -->
                          <Quay version="20180419" id="SE:253:Quay:9022005000001001"> <Latitude>58.594850</Latitude> <!-- version=Noptis.StopPoint.ExistsFromDate, id=Noptis.StopPoint.GidStopArea.CentroidNorthingCoordinate -->
                        </Location>
   <ValidBetween>                 </Centroid>
                     <FromDate>2019-04-26T00:00:00</FromDate><TopographicPlaceRef ref="SE:005:TopographicPlace:SE_0160" version="any"/> <!-- Noptis.StopPoint.ExistsFromDate but not earlier than parent StopPlace.FromDate -->
         Stops in Sweden are linked to their Municipality. Stops in other countries are linked to their Country. -->
                    <OrganisationRef   ref="SE:253:Authority:9010005000000000"/> <!-- ToDate = Noptis.StopPointStopArea.ExistsToDate, in this case "ExistsToDate" is null, not later than parent StopPlace.ToDate -->IsDefinedByTransportAuthortiy -->
                    <entrances> <!-- Entrances are based on Noptis.StationEntrancePoint -->
           </ValidBetween>             <StopPlaceEntrance                <Name>Norr Tull</Name> version="20120623" id="SE:275:StopPlaceEntrance:9023001006651001"> <!-- version=Noptis.StationEntrancePoint.ExistsFromDate, id=Noptis.StopPointStationEntrancePoint.NameGid -->
                            <ShortName>Norr<ValidBetween>
Tull</ShortName> <!-- Noptis.StopPoint.ShortName -->                             <PrivateCode>1</PrivateCode><FromDate>2014-03-11T00:00:00</FromDate>  <!-- Noptis.StopPoint.LocalNumberStationEntrancePoint.ExistsFromDate but not earlier than parent StopPlace.FromDate -->
                            <Centroid>    <!-- ToDate = Noptis.StationEntrancePoint.ExistsToDate, in this case "ExistsToDate" is null, not later than parent StopPlace.ToDate -->
              <Location>              </ValidBetween>
                            <Name>Djursholms <Longitude>16.177052<Ösby</Longitude>Name> <!-- Noptis.JourneyPatternPointStationEntrancePoint.LocationEastingCoordinateName -->
                            <Centroid>
       <Latitude>58.595038</Latitude> <!-- Noptis.JourneyPatternPoint.LocationNorthingCoordinate -->                         <Location>
              </Location>                      <Longitude>18.058320</Longitude> <!-- Noptis.StationEntrancePoint.LocationEastingCoordinate -->
   </Centroid>                             <!-- WIP, Netex.ZoneProjections are based on<Latitude>59.397925</Latitude> <!-- Noptis.JourneyPatternPointInZoneStationEntrancePoint.LocationNorthingCoordinate -->
                             <projections>   </Location>
                            </Centroid>
<ZoneProjection version="any" id="TEST:ZoneProjection:1">                      </StopPlaceEntrance>
              <ProjectedZoneRef ref="TEST:TopographicPlace:1"/>          <!-- More StopPlaceEntrance elements -->
                    </ZoneProjection>entrances>
                            </projections>
         <TransportMode>bus</TransportMode> <!-- See the section "General Noptis to Netex mappings" below -->
                  <PublicCode>A</PublicCode> <!-- Noptis.StopPoint.Designation --> <tariffZones>
                        <TariffZoneRef ref="SE:005:TariffZone:9081005201004216"    <equipmentPlaces> version="160620"/> <!-- BasedTariff onzones Noptisthis ConnectionLink,stop ObstacleOnLink,area BridgingDevicebelongs -->to , Noptis.JourneyPatternPointInZone aggregated on StopArea level -->
                    </tariffZones>
  <EquipmentPlace version="any" id="SE:001:EquipmentPlace:14010000311143397"> <!-- id = Noptis.BridgingDevice.Id -->           <StopPlaceType>busStation</StopPlaceType> <!-- See the section "General Noptis to Netex mappings" below -->
            <placeEquipments>        <Weighting>interchangeAllowed</Weighting> <!-- See the section "General Noptis to Netex mappings" below -->
                   <EntranceEquipment version="any" id="SE:001:EntranceEquipment:14010000311143397"> <quays> <!-- id =Quay is based on Noptis.BridgingDevice.IdStopPoint and Noptis.JourneyPatternPoint -->
                        <Quay                  <Door>true</Door>version="20180419" id="SE:253:Quay:9022005000001001"> <!-- version=Noptis.BridgingDevice (TypeCode = DOOR)StopPoint.ExistsFromDate, id=Noptis.StopPoint.Gid -->
                            <ValidBetween>
         </EntranceEquipment>                       <FromDate>2019-04-26T00:00:00</FromDate> <!-- Noptis.StopPoint.ExistsFromDate but not earlier than parent StopPlace.FromDate -->
  </placeEquipments>                               </EquipmentPlace>!-- ToDate = Noptis.StopPoint.ExistsToDate, in this case "ExistsToDate" is null, not later than parent StopPlace.ToDate -->
             </equipmentPlaces>               </ValidBetween>
         </Quay>                   <Name>Norr      Tull</Name> <!-- More Quay elements Noptis.StopPoint.Name -->
                    </quays>        <ShortName>Norr Tull</ShortName> <!-- Noptis.StopPoint.ShortName -->
    </StopPlace>                 <!-- More StopPlace elements      <PrivateCode>1</PrivateCode> <!-- Noptis.StopPoint.LocalNumber -->

           </stopPlaces>             <tariffZones>    <Centroid>
            <TariffZone version="160620" id="SE:005:TariffZone:9081005201004216"> <!-- Noptis.Zone where TypeCode == "TARIFFZO". version=Noptis.Zone.ExistsFromDate id=Noptis.Zone.Gid -->         <Location>
           <ValidBetween>                         <FromDate>2016-06-20T00:00:00</FromDate><Longitude>16.177052</Longitude> <!-- existsFromDateNoptis.JourneyPatternPoint.LocationEastingCoordinate -->
                    </ValidBetween>                     <Name>Norrköping</Name><Latitude>58.595038</Latitude> <!-- NameNoptis.JourneyPatternPoint.LocationNorthingCoordinate -->
                    <ShortName>Norrköping</ShortName> <!-- Shortname -->         </Location>
           <PrivateCode>1004216</PrivateCode> <!-- Number -->                 </TariffZone>Centroid>
            </tariffZones>             <navigationPaths>   <!-- WIP, Netex.ZoneProjections are based on Noptis.JourneyPatternPointInZone -->
        <!-- NavigationPath is based on Noptis.ConnectionLink when 'From' and 'To' are both Quay references -->                    <projections>
                <!-- NavigationPath is based on Noptis.StationEntryLink when 'From' is a StopPlaceEntrance reference and 'To' is a Quay reference --<ZoneProjection version="any" id="TEST:ZoneProjection:1">
                <!-- NavigationPath is based on Noptis.StationExitLink when 'From' is a Quay reference and 'To' is a StopPlaceEntrance reference --                    <ProjectedZoneRef ref="TEST:TopographicPlace:1"/>
                <!--  NavigationPath may contain validityConditions and timebands if they have limited dates and opening hours --> </ZoneProjection>
                  <NavigationPath version="20180504" id="SE:253:NavigationPath:55700000046273098"> <!-- version=Noptis.ConnectionLink.ExistsFromDate, id=Noptis.ConnectionLink.Id -->        </projections>
                            <Distance>0<<PublicCode>A</Distance>PublicCode> <!-- version=Noptis.ConnectionLink.DistanceMeters. If null, Distance will be 0 -->StopPoint.Designation -->
                            <equipmentPlaces> <!-- Based on Noptis ConnectionLink, ObstacleOnLink,  <From>BridgingDevice -->
                              <PlaceRef ref<EquipmentPlace version="any" id="SE:253001:QuayEquipmentPlace:9022005000100216" version="20140218"/14010000311143397"> <!-- version=Noptis.StopPoint.ExistsFromDate id=Noptis.StopPoint.Gid fromid = Noptis.ConnectionLinkBridgingDevice.StartsAtJourneyPatternPointId -->
                    </From>              <placeEquipments>
              <To>                        <EntranceEquipment <PlaceRef refversion="any" id="SE:253001:QuayEntranceEquipment:902200500010201714010000311143397" version="20181204"/> <!> <!-- version=Noptis.StopPoint.ExistsFromDate id=Noptis.StopPoint.Gid fromid = Noptis.ConnectionLinkBridgingDevice.EndsAtJourneyPatternPointId -->
                    </To>                     <TransferDuration> <Door>true</Door> <!-- Noptis.BridgingDevice (TypeCode = DOOR) -->
                 <DefaultDuration>PT6M</DefaultDuration> <!-- version=Noptis.ConnectionLink.DefaultDurationSeconds -->                     </TransferDuration>EntranceEquipment>
                    <AccessibilityAssessment version="20180504" id="SE:275:AccessibilityAssessment:4010000565163766"> <!-- SE:<producerNumber>:AccessibilityAssessment:<obstacleOnLinkId> , version=ObstacleOnLink.ExistsFromDate -->       </placeEquipments>
               <MobilityImpairedAccess>unknown</MobilityImpairedAccess>  <!-- Always unknown, required field but data is not available  -->  </EquipmentPlace>
                    <limitations>        </equipmentPlaces>
                  <AccessibilityLimitation>      </Quay>
                        <WheelchairAccess>unknown</WheelchairAccess> <!-- Always unknown, required field but data is not available  -->More Quay elements -->
                    </quays>
                 <StepFreeAccess>false</StepFreeAccess>  <!-- BridgingDevice.TypeCode, “false” if there is a BridgingDevice for which TypeCode == 'STAIRWAY'. </StopPlace>
                <!-- More StopPlace elements -->
            </stopPlaces>
            <tariffZones>
    <EscalatorFreeAccess>unknown</EscalatorFreeAccess> <!-- BridgingDevice.TypeCode, “false” if there is a BridgingDevice for which            <TariffZone version="160620" id="SE:005:TariffZone:9081005201004216"> <!-- Noptis.Zone where TypeCode == 'ESCALAT'.  "TARIFFZO". version=Noptis.Zone.ExistsFromDate id=Noptis.Zone.Gid -->
                    <ValidBetween>
         <LiftFreeAccess>unknown</LiftFreeAccess> <!-- BridgingDevice.TypeCode, “false” if there is a BridgingDevice for which TypeCode == 'ELEVATOR'.  <FromDate>2016-->
  06-20T00:00:00</FromDate> <!-- existsFromDate -->
                    </ValidBetween>
  </AccessibilityLimitation>                  <Name>Norrköping</Name> <!-- Name -->
 </limitations>                   <ShortName>Norrköping</ShortName> </AccessibilityAssessment>!-- Shortname -->
              </NavigationPath>      <PrivateCode>1004216</PrivateCode> <!-- Number -->
       <NavigationPath version="20120623" id="SE:251:NavigationPath:14010000311143757"> <!-- version=Noptis.StationEntryLink.ExistsFromDate, id=Noptis.StationEntryLink.Id -->   </TariffZone>
            </tariffZones>
    <Distance>2.0</Distance> <!-- version=Noptis.StationEntryLink.DistanceMeters. If null, Distance will be 0<navigationPaths> -->
                <!-- NavigationPath is based <From>on Noptis.ConnectionLink when 'From' and 'To' are both Quay references -->
              <PlaceRef ref="SE:251:StopPlaceEntrance:9023001006651002" version="20120623"/> <!-- version=Noptis.StationEntrancePoint.ExistsFromDate id=Noptis.StationEntrancePoint.GidNavigationPath is based on Noptis.StationEntryLink when 'From' is a StopPlaceEntrance reference and 'To' is a Quay reference -->
                <!-- NavigationPath is based on Noptis.StationExitLink when 'From' is a Quay reference and 'To'  </From>is a StopPlaceEntrance reference -->
                <!-- NavigationPath may contain validityConditions and timebands if they have <To>limited dates and opening hours -->  
                <NavigationPath <PlaceRef refversion="20180504" id="SE:251253:Quay:9022003719007001" version="20150827"/NavigationPath:55700000046273098"> <!-- version=Noptis.StopPointConnectionLink.ExistsFromDate, id=Noptis.StopPoint.Gid from Noptis.StationEntryLink.EndsAtJourneyPatternPointConnectionLink.Id -->
                    <<Distance>0</To>
                    <TransferDuration>
                        <DefaultDuration>PT3M1S</DefaultDuration> <!Distance> <!-- version=Noptis.StationEntryLinkConnectionLink.DistanceMeters.DefaultDurationSeconds -->If null, Distance will be 0 -->
              </TransferDuration>      <From>
          </NavigationPath>              <PlaceRef   <NavigationPath versionref="20120623SE:253:Quay:9022005000100216" idversion="SE:251:NavigationPath:14010000311147186"20140218"/> <!-- version=Noptis.StationExitLinkStopPoint.ExistsFromDate, id=Noptis.StationExitLink.Id.StopPoint.Gid from Noptis.ConnectionLink.StartsAtJourneyPatternPoint -->
                    <Distance>3.0<</Distance>From>
<!-- version=Noptis.StationExitLink.DistanceMeters. If null, Distance will be 0 -->            <To>
        <From>                         <PlaceRef ref="SE:251253:Quay:90220037190070029022005000102017" version="2015082720181204"/> <!-- version=Noptis.StopPoint.ExistsFromDate id=Noptis.StopPoint.Gid from Noptis.StationExitLinkConnectionLink.StartsAtJourneyPatternPointEndsAtJourneyPatternPoint -->
                    </From>To>
                    <To><TransferDuration>
                        <PlaceRef ref="SE:251:StopPlaceEntrance:9023001006661001" version="20120623"/><DefaultDuration>PT6M</DefaultDuration> <!-- version=Noptis.StationEntrancePointConnectionLink.ExistsFromDate id=Noptis.StationEntrancePoint.Gid DefaultDurationSeconds -->
                    </To>TransferDuration>
                    <AccessibilityAssessment version="20180504" id="SE:275:AccessibilityAssessment:4010000565163766"> <!--  <TransferDuration>
 SE:<producerNumber>:AccessibilityAssessment:<obstacleOnLinkId> , version=ObstacleOnLink.ExistsFromDate -->
                      <DefaultDuration>PT3M2S<<MobilityImpairedAccess>unknown</DefaultDuration>MobilityImpairedAccess>  <!-- version=Noptis.StationExitLink.DefaultDurationSeconds -->
       Always unknown, required field but data is not available  -->
            </TransferDuration>          <limitations>
      </NavigationPath>                 <pathLinksInSequence>   <AccessibilityLimitation>
                 <PathLinkInSequence order="1" version="any" id="SE:001:PathLinkInSequence:14010000311183662-1">          <WheelchairAccess>unknown</WheelchairAccess> <!-- Always unknown, required field but data is not available  -->
  <LinkSequenceRef ref="SE:001:PathLink:14010000311183662-1" version="20120623"/> <!-- ref=Noptis.ConnectionLink.Id-1, version=Noptis.ConnectionLink.ExistsFrom -->                            <<StepFreeAccess>false</PathLinkInSequence>StepFreeAccess>  <!-- BridgingDevice.TypeCode, “false” if there is a BridgingDevice for which TypeCode == 'STAIRWAY'.  -->
    <PathLinkInSequence order="2" version="any" id="SE:001:PathLinkInSequence:14010000311183662-2">                         <LinkSequenceRef ref="SE:001:PathLink:14010000311183662-2" version="20120623"/><EscalatorFreeAccess>unknown</EscalatorFreeAccess> <!-- ref=Noptis.ConnectionLink.Id-2, version=Noptis.ConnectionLink.ExistsFrom -->
          BridgingDevice.TypeCode, “false” if there is a BridgingDevice for which TypeCode == 'ESCALAT'.  -->
         </PathLinkInSequence>                 </pathLinksInSequence>    <LiftFreeAccess>unknown</LiftFreeAccess> <!-- BridgingDevice.TypeCode, “false” if there is a BridgingDevice for which TypeCode == 'ELEVATOR'.  <!-- More NavigationPath elements -->>
                          </navigationPaths>AccessibilityLimitation>
                    <pathLinks>  </limitations>
            <PathLink version="20120623" id="SE:001:PathLink:14010000311183662-1">  <!-- id=Noptis.ConnectionLink.Id-1, version=Noptis.ConnectionLink.ExistsFrom --> </AccessibilityAssessment>
                <ValidBetween></NavigationPath>
                <NavigationPath  <FromDate>2019-02-13T00:00:00</FromDate>version="20120623" id="SE:251:NavigationPath:14010000311143757"> <!-- version=Noptis.ConnectionLinkStationEntryLink.ExistsFromDate, id=Noptis.StationEntryLink.Id -->
                    <Distance>2.0</Distance> <!-- ToDate version= Noptis.ConnectionLinkStationEntryLink.ExistsToDate,DistanceMeters. inIf thisnull, caseDistance "ExistsToDate"will isbe null0 -->
  
             </ValidBetween>       <From>
         <From>                   <PlaceRef ref="SE:001251:QuayStopPlaceEntrance:90220010704620029023001006651002" version="2014060320120623"/> <!-- idversion=Noptis.StopPointStationEntrancePoint.Gid,ExistsFromDate versionid=Noptis.StopPointStationEntrancePoint.Gid -->
                    </From>
                    <To>
                        <PlaceRef ref="SE:001251:EquipmentPlaceQuay:140100003111433979022003719007001" version="any20150827"/> <!-- version=Noptis.StopPoint.ExistsFromDate id=Noptis.BridgingDevice.idStopPoint.Gid from Noptis.StationEntryLink.EndsAtJourneyPatternPoint -->
                    </To>
                    <TransferDuration>
      </PathLink>               <PathLink version="20120623" id="SE:001:PathLink:14010000311183662-2">  <DefaultDuration>PT3M1S</DefaultDuration> <!-- id=Noptis.ConnectionLink.Id-2, version=Noptis.ConnectionLinkStationEntryLink.ExistsFromDefaultDurationSeconds -->
                <From>    </TransferDuration>
              <PlaceRef ref="SE:001:EquipmentPlace:14010000311143397" version="any"/ </NavigationPath>
                <NavigationPath version="20120623" id="SE:251:NavigationPath:14010000311147186"> <!-- version=Noptis.StationExitLink.ExistsFromDate, id=Noptis.BridgingDeviceStationExitLink.idId -->
                </From>    <Distance>3.0</Distance> <!-- version=Noptis.StationExitLink.DistanceMeters. If null, Distance will be 0 -->
                    <From>
     <To>                   <PlaceRef ref="SE:001251:Quay:90220010704620019022003719007002" version="2014060320150827"/> <!-- idversion=Noptis.StopPoint.Gid,ExistsFromDate versionid=Noptis.StopPoint.Gid from Noptis.StationExitLink.StartsAtJourneyPatternPoint -->
                    </To>From>
                   </PathLink> <To>
           </pathLinks>         </SiteFrame>     </dataObjects>
</PublicationDelivery>

line_{Noptis.TransportAuthority.Number}_{Noptis.Line.Number}_
{Noptis.Line.Gid}.xml (line_253_53_9011005005300000.xml)

This is an example of a line file with explanations on how the different fields and elements are mapped to the Noptis format.

Code Block
breakoutModefull-width
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:ns2="http://www.opengis.net/gml/3.2" xmlns:ns3="http://www.siri.org.uk/siri">
    <PublicationTimestamp>2019-11-27T12:50:21</PublicationTimestamp> <!-- Timestamp of export<PlaceRef ref="SE:251:StopPlaceEntrance:9023001006661001" version="20120623"/> <!-- version=Noptis.StationEntrancePoint.ExistsFromDate id=Noptis.StationEntrancePoint.Gid -->
                    </To>
                    <TransferDuration>
                        <DefaultDuration>PT3M2S</DefaultDuration> <!-- version=Noptis.StationExitLink.DefaultDurationSeconds -->
                    </TransferDuration>
                </NavigationPath>
                <pathLinksInSequence>
                    <PathLinkInSequence order="1" version="any" id="SE:001:PathLinkInSequence:14010000311183662-1">
                        <LinkSequenceRef ref="SE:001:PathLink:14010000311183662-1" version="20120623"/> <!-- ref=Noptis.ConnectionLink.Id-1, version=Noptis.ConnectionLink.ExistsFrom -->
                    </PathLinkInSequence>
                    <PathLinkInSequence order="2" version="any" id="SE:001:PathLinkInSequence:14010000311183662-2">
                        <LinkSequenceRef ref="SE:001:PathLink:14010000311183662-2" version="20120623"/> <!-- ref=Noptis.ConnectionLink.Id-2, version=Noptis.ConnectionLink.ExistsFrom -->
                    </PathLinkInSequence>
                </pathLinksInSequence>
                <!-- More NavigationPath elements -->
            </navigationPaths>
            <pathLinks>
              <PathLink version="20120623" id="SE:001:PathLink:14010000311183662-1">  <!-- id=Noptis.ConnectionLink.Id-1, version=Noptis.ConnectionLink.ExistsFrom -->
                <ValidBetween>
                  <FromDate>2019-02-13T00:00:00</FromDate> <!-- Noptis.ConnectionLink.ExistsFromDate -->
                  <!-- ToDate = Noptis.ConnectionLink.ExistsToDate, in this case "ExistsToDate" is null -->
                </ValidBetween>
                <From>
                  <PlaceRef ref="SE:001:Quay:9022001070462002" version="20140603"/> <!-- id=Noptis.StopPoint.Gid, version=Noptis.StopPoint.Gid -->
                </From>
                <To>
                  <PlaceRef ref="SE:001:EquipmentPlace:14010000311143397" version="any"/> <!-- id=Noptis.BridgingDevice.id -->
                </To>
              </PathLink>
              <PathLink version="20120623" id="SE:001:PathLink:14010000311183662-2">  <!-- id=Noptis.ConnectionLink.Id-2, version=Noptis.ConnectionLink.ExistsFrom -->
                <From>
                  <PlaceRef ref="SE:001:EquipmentPlace:14010000311143397" version="any"/> <!-- id=Noptis.BridgingDevice.id -->
                </From>
                <To>
                  <PlaceRef ref="SE:001:Quay:9022001070462001" version="20140603"/> <!-- id=Noptis.StopPoint.Gid, version=Noptis.StopPoint.Gid -->
                </To>
              </PathLink>
            </pathLinks>
        </SiteFrame>
    </dataObjects>
</PublicationDelivery>

line_{Noptis.TransportAuthority.Number}_{Noptis.Line.Number}_
{Noptis.Line.Gid}.xml (line_253_53_9011005005300000.xml)

This is an example of a line file with explanations on how the different fields and elements are mapped to the Noptis format.

Code Block
breakoutModefull-width
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:ns2="http://www.opengis.net/gml/3.2" xmlns:ns3="http://www.siri.org.uk/siri">
    <PublicationTimestamp>2019-11-27T12:50:21</PublicationTimestamp> <!-- Timestamp of export -->
    <ParticipantRef>SAM</ParticipantRef>
    <dataObjects>
        <CompositeFrame created="2019-11-27T12:50:21" version="20191127125021" id="SE:253:CompositeFrame:9011005005300000"> <!-- Version is timestamp of export (YYYYMMDDHHmmSS), id will always be 1 -->
            <ValidBetween>
                <FromDate>2005-01-01T00:00:00</FromDate> <!-- Always set to 2005-01-01 -->
            </ValidBetween>
            <codespaces>
                <Codespace id="253"> <!-- id is same as Xmlns -->
                    <Xmlns>253</Xmlns> <!-- From Samtrafiken's registry of producer numbers, based on data source -->
                    <XmlnsUrl>http://www.samtrafiken.se/ns/Östgötatrafiken</XmlnsUrl> <!-- "Östgötatrafiken" is based on data source -->
                </Codespace>
            </codespaces>
            <FrameDefaults>
                <DefaultLocale>
                    <TimeZone>Europe/Stockholm</TimeZone>
                    <DefaultLanguage>se</DefaultLanguage>
                </DefaultLocale>
                <DefaultLocationSystem>4326</DefaultLocationSystem> <!-- All coordinates are WGS84 -->
    <ParticipantRef>SAM</ParticipantRef>        </FrameDefaults>
            <frames>
      <dataObjects>         <CompositeFrame created="2019-11-27T12:50:21" <ServiceFrame version="20191127125021" id="SE:253:CompositeFrameServiceFrame:9011005005300000"> <!-- Version is timestamp of export (YYYYMMDDHHmmSS), id will always be 1 -->=Noptis.Line.Gid -->
                    <routes>
                         <ValidBetween>
         <!-- Route is based on Noptis.JourneyPattern and Noptis.DirectionOfLine. Each Noptis.JourneyPattern will create a Route. -->
      <FromDate>2005-01-01T00:00:00</FromDate> <!-- Always set to 2005-01-01 -->             </ValidBetween>
<Route version="any" id="SE:253:Route:55700000035050824">
           <codespaces>                 <Codespace id="253"><Name>Motala</Name> <!-- id is same as Xmlns Noptis.DirectionOfLine.Name -->
                    <Xmlns>253</Xmlns> <!-- From Samtrafiken's registry of producer numbers, based on data source --><LineRef ref="SE:253:Line:9011005005300000" version="20131215"/>
                      <XmlnsUrl>http://www.samtrafiken.se/ns/Östgötatrafiken</XmlnsUrl> <!-- "Östgötatrafiken" is based on data source <DirectionType>outbound</DirectionType> <!-->
                </Codespace> Noptis.DirectionOfLine.DirectionCode. ODD = outbound, EVEN = inbound. -->
               </codespaces>             <FrameDefaults><pointsInSequence>
                <DefaultLocale>                <!-- PointOnRoute is based  <TimeZone>Europe/Stockholm</TimeZone>
on Noptis.PointInJourneyPattern -->
                   <DefaultLanguage>se</DefaultLanguage>             <PointOnRoute order="1" version="any" id="SE:253:PointOnRoute:55700000035050829"> </DefaultLocale>
  !-- order=Noptis.PointInJourneyPattern.SequenceNumber, id=Noptis.PointInJourneyPattern.Id -->
             <DefaultLocationSystem>4326</DefaultLocationSystem> <!-- All coordinates are WGS84 -->             </FrameDefaults>    <RoutePointRef ref="SE:253:RoutePoint:9022005000050016"/>
       <frames>                 <ServiceFrame version="20191127125021" id="SE:253:ServiceFrame:9011005005300000"> <!-- Version is timestamp of export (YYYYMMDDHHmmSS), id=Noptis.Line.Gid -->
   </PointOnRoute>
                  <routes>              <!-- More PointOnRoute elements -->
       <!-- Route is based on Noptis.JourneyPattern and Noptis.DirectionOfLine. Each Noptis.JourneyPattern will create a Route. -->       </pointsInSequence>
                 <Route version="any" id="SE:253:Route:55700000035050824">     </Route>
                       <Name>Motala</Name> <!-- Noptis.DirectionOfLine.NameMore Route elements -->
                    </routes>
       <LineRef ref="SE:253:Line:9011005005300000" version="20131215"/>             <lines>
                       <DirectionType>outbound</DirectionType> <!-- Noptis.DirectionOfLine.DirectionCode. ODD = outbound, EVEN = inbound.Line is based on Noptis.Line -->
                        <Line version="20131215"   <pointsInSequence>
           id="SE:253:Line:9011005005300000"> <!-- version=Noptis.Line.ExistsFromDate, id=Noptis.Line.Gid -->
                    <!-- PointOnRoute is based on Noptis.PointInJourneyPattern -->  <ValidBetween>
                              <PointOnRoute order="1" version="any" id="SE:253:PointOnRoute:55700000035050829"> <FromDate>2019-02-13T00:00:00</FromDate> <!-- order=Noptis.PointInJourneyPatternLine.SequenceNumber, id=Noptis.PointInJourneyPattern.Id ExistsFromDate -->
                                <!-- ToDate =  <RoutePointRef ref="SE:253:RoutePoint:9022005000050016"/>
  Noptis.Line.ExistsToDate, in this case "ExistsToDate" is null -->
                             </PointOnRoute>ValidBetween>
                              <Name>53</Name>  <!-- More PointOnRoute elementsNoptis.Line.Name, eller Noptis.Line.Designation om Noptis.Line.Name är tom -->
                            <<TransportMode>rail</pointsInSequence>TransportMode> <!-- See the section "General Noptis   to Netex mappings" below -->
           </Route>                 <TransportSubmode>
       <!-- More Route elements -->                     <<RailSubmode>unknown</routes>RailSubmode> <!-- Netex.TransportSubmode is always mapped to UNKNOWN since that information is not available in NOPTIS. -->
    <lines>                         <!-- Line is based on Noptis.Line --></TransportSubmode>
                           <Line version="20131215" id="SE:253:Line:9011005005300000">  <PublicCode>53</PublicCode> <!-- version=Noptis.Line.ExistsFromDate, id=Noptis.Line.GidDesignation -->
                            <ValidBetween>
  <PrivateCode>53</PrivateCode> <!-- Noptis.Line.Number -->
                             <FromDate>2019-02-13T00:00:00</FromDate> <!-- Noptis.Line.ExistsFromDate -->
         <RepresentedByGroupRef ref="SE:253:Network:9010005000000000"/>
                      <!-- ToDate = Noptis.Line.ExistsToDate, in this case "ExistsToDate" is null --></Line>
                    </lines>
               </ValidBetween>     <journeyPatterns>
                       <Name>53</Name> <!-- Noptis.Line.Name, eller Noptis.Line.Designation omJourneyPattern is based on Noptis.Line.Name är tom NamedJourneyPattern -->
                        <JourneyPattern version="any"   <TransportMode>rail</TransportMode> id="SE:253:JourneyPattern:55700000035050824"> <!-- See the section "General Noptis to Netex mappings" below -->id=Noptis.NamedJourneyPattern.Id -->
                            <RouteRef ref="SE:253:Route:55700000035050824" version="any"/>
 <TransportSubmode>                           <pointsInSequence>
     <RailSubmode>unknown</RailSubmode> <!-- Netex.TransportSubmode is always mapped to UNKNOWN since that information is not available in NOPTIS. -->           <!-- StopPointInJourneyPattern is based on Noptis.PointInJourneyPattern -->
           </TransportSubmode>                     <StopPointInJourneyPattern order="1" version="any" id="SE:253:StopPointInJourneyPattern:55700000035050829"> 
   <PublicCode>53</PublicCode> <!-- Noptis.Line.Designation -->                             <PrivateCode>53</PrivateCode> <!-- order=Noptis.Line.NumberPointInJourneyPattern.SequenceNumber, id=Noptis.PointInJourneyPattern.Id -->
                                    <RepresentedByGroupRef<ScheduledStopPointRef ref="SE:253:NetworkScheduledStopPoint:90100050000000009022005000050016"/>
                        </Line>            <ForAlighting>false</ForAlighting> <!-- See the section "General Noptis to  </lines>Netex mappings" below -->
                      <journeyPatterns>              <ForBoarding>true</ForBoarding> <!-- See the section "General Noptis to Netex mappings" below <!-->
JourneyPattern      is based on Noptis.NamedJourneyPattern -->                         <JourneyPattern version="any" id<DestinationDisplayRef ref="SE:253:JourneyPattern:55700000035050824"> <!-- id=Noptis.NamedJourneyPattern.Id --DestinationDisplay:55700000037211691"/>
                            <RouteRef ref="SE:253:Route:55700000035050824" version="any"/>      <RequestStop>true</RequestStop> <!-- See the section "General Noptis to Netex mappings" below -->
           <pointsInSequence>                     </StopPointInJourneyPattern>
           <!-- StopPointInJourneyPattern is based on Noptis.PointInJourneyPattern -->               <!-- More StopPointInJourneyPattern elements -->
             <StopPointInJourneyPattern order="1" version="any" id="SE:253:StopPointInJourneyPattern:55700000035050829">            </pointsInSequence>
                         <!-- order=Noptis.PointInJourneyPattern.SequenceNumber, id=Noptis.PointInJourneyPattern.Id --> <linksInSequence>
                                <ServiceLinkInJourneyPattern order="1"   <ScheduledStopPointRef refversion="any" id="SE:253:ScheduledStopPoint:9022005000050016"/>ServiceLinkInJourneyPattern:BUS_391"> <!-- order=Noptis.PointInJourneyPattern.SequenceNumber, 
                                    id  <ForAlighting>false</ForAlighting> <!-- See the section "General Noptis to Netex mappings" below -->is Noptis.Line.DefaultTransportModeCode + a counter. -->
                                    <ServiceLinkRef ref="SE:253:ServiceLink:BUS_9025005000005016_9025005000122302"/>
         <ForBoarding>true</ForBoarding> <!-- See the section "General Noptis to Netex mappings" below -->            </ServiceLinkInJourneyPattern>
                        <DestinationDisplayRef ref="SE:253:DestinationDisplay:55700000037211691"/>       <!-- More ServiceLinkInJourneyPattern elements -->
                         <RequestStop>true</RequestStop> <!-- See the</linksInSequence>
section "General Noptis to Netex mappings" below -->                 </JourneyPattern>
               </StopPointInJourneyPattern>     </journeyPatterns>
                </ServiceFrame>
          <!-- More StopPointInJourneyPattern elements -->  <TimetableFrame version="20191127125021" id="SE:253:TimetableFrame:9011005005300000"> <!-- Version is timestamp of export (YYYYMMDDHHmmSS), id=Noptis.Line.Gid -->
               </pointsInSequence>     <vehicleJourneys>
                       <linksInSequence> <!-- ServiceJourney is based on Noptis.VehicleJourney -->
                         <ServiceLinkInJourneyPattern order="1" <ServiceJourney version="any" id="SE:253:ServiceLinkInJourneyPatternServiceJourney:BUS_39155700000049527547"> <!-- orderid=Noptis.PointInJourneyPatternVehicleJourney.SequenceNumber,Id -->
                            <PrivateCode>123</PrivateCode> <!-- Not in Noptis but in Stip  id is Noptis.Line.DefaultTransportModeCode + a counteras VehicleJourney.InternalJourneyNumber. Currently only imported from TRP.30-Post.TURNR and Netex.ServiceJourney. -->
                            <TransportMode>rail</TransportMode> <!-- See the section "General Noptis to <ServiceLinkRefNetex ref="SE:253:ServiceLink:BUS_9025005000005016_9025005000122302"/>
 mappings" below -->
                              </ServiceLinkInJourneyPattern>
      <TransportSubmode>
                         <!-- More ServiceLinkInJourneyPattern elements -->   <RailSubmode>unknown</RailSubmode> <!-- Netex.TransportSubmode is always mapped to UNKNOWN since that information is not available in NOPTIS. -->
         </linksInSequence>                   </TransportSubmode>
     </JourneyPattern>                     </journeyPatterns>  <dayTypes>
              </ServiceFrame>                 <TimetableFrame version="20191127125021" id<DayTypeRef ref="SE:253:TimetableFrameDayType:90110050053000001"/> <!-- See Versionthe isexplanation timestampfor ofServiceCalendarFrame export (YYYYMMDDHHmmSS), id=Noptis.Line.Gidin the "_shared_data.xml" section -->
                    <vehicleJourneys>        </dayTypes>
                        <!-- ServiceJourney is based on Noptis.VehicleJourney --<JourneyPatternRef ref="SE:253:JourneyPattern:55700000035050824" version="any"/>
                        <ServiceJourney version="any" id="SE:253:ServiceJourney:55700000049527547"> <!-- id=Noptis.VehicleJourney.Id -- <OperatorRef ref="SE:253:Operator:9013005918200000"/>
                            <PrivateCode>123</PrivateCode><trainNumbers> <!-- Not in Noptis but in Stip as VehicleJourney.InternalJourneyNumber. Currently only imported from TRP.30-Post.TURNR and Netex.ServiceJourney.TrainNumbers exists only for ServiceJourneys that are trains. -->
     
                      <TransportMode>rail</TransportMode> <!-- See the section "General Noptis to Netex mappings" below <!--> Normally there will only be one TrainNumberRef here. For Trains that change their announced train number during their journey (also called vagnskurs/kursvagnar) there will be multiple TrainNumberRefs (as <TransportSubmode>restricted by JourneyPart-elements). -->
                             <RailSubmode>unknown</RailSubmode> <!-- Netex.TransportSubmode is always mapped to UNKNOWN since that information is not available in NOPTIS. --><TrainNumberRef ref="SE:253:TrainNumber:9011074007000000_74" versionRef="any"/>
                                <TrainNumberRef    </TransportSubmode>ref="SE:253:TrainNumber:9011074007000000_70" versionRef="any"/>
                            <dayTypes></trainNumbers>
                            <passingTimes>
   <DayTypeRef ref="SE:253:DayType:1"/> <!-- See the explanation for ServiceCalendarFrame in the "_shared_data.xml" section -->                 <!-- TimetabledPassingTime is based on CallOnTimedJourneyPattern -->
     </dayTypes>                           <TimetabledPassingTime  <JourneyPatternRef refversion="any" id="SE:253:JourneyPatternTimetabledPassingTime:5570000003505082455700000049527529" version="any"/>> <!-- id=Noptis.CallOnTimedJourneyPattern.Id -->
                             <OperatorRef       <StopPointInJourneyPatternRef ref="SE:253:Operator:9013005918200000StopPointInJourneyPattern:55700000035050829" version="any"/>
                               <trainNumbers> <!-- TrainNumbers exists only for ServiceJourneys that are trains. <DepartureTime>06:40:00</DepartureTime> <!-- Noptis.VehicleJourney.PlannedStartOffsetDayTime and Noptis.CallOnTimedJourneyPattern.EarliestDepartureTimeOffsetSeconds -->
                                <!-- Normally there will only be one TrainNumberRef here. For Trains that change their announced train number during their journey (also called vagnskurs/kursvagnar) there will be multiple TrainNumberRefs (as restricted by JourneyPart-elements). -->/TimetabledPassingTime>
                                <TimetabledPassingTime version="any" id="SE:253:TimetabledPassingTime:55700000049527530">
                                 <TrainNumberRef   <StopPointInJourneyPatternRef ref="SE:253:TrainNumberStopPointInJourneyPattern:9011074007000000_7455700000035050830" versionRefversion="any"/>
                                <TrainNumberRef ref="SE:253:TrainNumber:9011074007000000_70" versionRef="any"/>    <ArrivalTime>06:41:28</ArrivalTime> <!-- Noptis.VehicleJourney.PlannedStartOffsetDayTime and Noptis.CallOnTimedJourneyPattern.LatestArrivalTimeOffsetSeconds -->
                                    <DepartureTime>06:41:28</DepartureTime>
      </trainNumbers>                          </TimetabledPassingTime>
  <passingTimes>                                 <!-- TimetabledPassingTimeMore is based on CallOnTimedJourneyPatternTimtabledPassingTime elements -->
                                <TimetabledPassingTime version="any" id="SE:253:TimetabledPassingTime:55700000049527529"> <!-- id=Noptis.CallOnTimedJourneyPattern.Id --55700000049527544">
                                    <StopPointInJourneyPatternRef ref="SE:253:StopPointInJourneyPattern:5570000003505082955700000035050844" version="any"/>
                                    <DepartureTime>06<ArrivalTime>07:4050:00</DepartureTime> <!-- Noptis.VehicleJourney.PlannedStartOffsetDayTime and Noptis.CallOnTimedJourneyPattern.EarliestDepartureTimeOffsetSeconds -->ArrivalTime>
                                    <DepartureTime>07:51:00</DepartureTime>
                                </TimetabledPassingTime>
                                <TimetabledPassingTime version="any" id="SE:253:TimetabledPassingTime:55700000049527530"55700000049527545">
                                    <StopPointInJourneyPatternRef ref="SE:253:StopPointInJourneyPattern:55700000035050845" version="any"/>
                                    <StopPointInJourneyPatternRef ref="SE:253:StopPointInJourneyPattern:55700000035050830" version="any"/><ArrivalTime>01:20:00</ArrivalTime>
                                    <ArrivalTime>06:41:28</ArrivalTime><ArrivalDayOffset>1</ArrivalDayOffset> <!-- Noptis.VehicleJourney.PlannedStartOffsetDayTime and Noptis.CallOnTimedJourneyPattern.LatestArrivalTimeOffsetSeconds(the day value -1) -->
                                    <DepartureTime>06<DepartureTime>01:4121:28<00</DepartureTime>
                                </TimetabledPassingTime>
       <DepartureDayOffset>1</DepartureDayOffset> <!-- Noptis.VehicleJourney.PlannedEndOffsetDayTime (the day value -1) -->
                            <!-- More TimtabledPassingTime elements --> </TimetabledPassingTime>
                                <TimetabledPassingTime version="any" id="SE:253:TimetabledPassingTime:5570000004952754455700000049527546">
                                    <StopPointInJourneyPatternRef ref="SE:253:StopPointInJourneyPattern:5570000003505084455700000035050846" version="any"/>
                                    <ArrivalTime>07<ArrivalTime>02:5000:00</ArrivalTime>
                                    <DepartureTime>07:51:00</DepartureTime><ArrivalDayOffset>1</ArrivalDayOffset>
                                </TimetabledPassingTime>
                                <TimetabledPassingTime version="any" id="SE:253:TimetabledPassingTime:55700000049527545">
   
                            </passingTimes>
   <StopPointInJourneyPatternRef ref="SE:253:StopPointInJourneyPattern:55700000035050845" version="any"/>                       <FlexibleServiceProperties> <!-- Noptis.AdvanceOrderCondition -->
          <ArrivalTime>01:20:00</ArrivalTime>                    <FlexibleServiceType>fixedPassingTimes</FlexibleServiceType> <!-- this value is always set to fixedPassingTimes -->
       <ArrivalDayOffset>1</ArrivalDayOffset> <!-- Noptis.VehicleJourney.PlannedStartOffsetDayTime (the day value -1) -->                <BookingContact>
                    <DepartureTime>01:21:00</DepartureTime>            <Phone>07717110120</Phone> <!-- Noptis.AdvanceOrderCondition.TelephoneNumber -->
                     <DepartureDayOffset>1</DepartureDayOffset> <!-- Noptis.VehicleJourney.PlannedEndOffsetDayTime (the day value -1) -->  </BookingContact>
                              </TimetabledPassingTime>!-- Either BookWhen AND LatestBookingTime are set, OR only MinimumBookingPeriod is set -->
                    <TimetabledPassingTime version="any" id="SE:253:TimetabledPassingTime:55700000049527546">          <BookWhen>advanceAndDayOfTravel</BookWhen> <!-- Noptis.AdvanceOrderCondition.MinimumDaysInAdvanceCount. advanceAndDayOfTravel = 0, untilPreviousDay = 1 -->
                 <StopPointInJourneyPatternRef ref="SE:253:StopPointInJourneyPattern:55700000035050846" version="any"/>           <LatestBookingTime>18:00:00</LatestBookingTime> <!-- Noptis.AdvanceOrderCondition.LatestAbsoluteTime -->
                      <ArrivalTime>02:00:00</ArrivalTime>        <!-- <MinimumBookingPeriod>PT2H</MinimumBookingPeriod> <!-- Noptis.AdvanceOrderCondition.LatestTimeSpanInAdvanceDurationSeconds --> This is just an example of how it would look like-->
             <ArrivalDayOffset>1</ArrivalDayOffset>                 <BookingNote>Turen måste förbeställas  0771 - 71 10 20 senast 2 timmar före avresa från turens starthållplats.</TimetabledPassingTime>BookingNote> <!-- Noptis.AdvanceOrderCondition.PublicNote -->
                            </passingTimes>FlexibleServiceProperties>
                            <parts>
                                <!-- JourneyParts with TrainNumberRefs only exists for ServiceJourneys that are trains. -->
                                <!-- JourneyParts with TrainNumberRefs exists for trains that change their announced train number during their journey (also called vagnskurs/kursvagnar). -->
                                <!-- The StopPointRefs and times in the example below are wrong with regard to the journeypattern and passingtimes of this ServiceJourney -->
                                <JourneyPart version="any" id="SE:253:JourneyPart:323200000000003266_tn_0">
                                    <!-- MainPartRef is a self-reference that only exists to pass Netex-validation -->
                                    <MainPartRef ref="SE:253:JourneyPart:323200000000003266_tn_0" version="any"/>
                                    <TrainNumberRef ref="SE:253:TrainNumber:9011074007000000_70" versionRef="any"/>
                                    <FromStopPointRef ref="SE:253:ScheduledStopPoint:9022005000050016"/>
                                    <ToStopPointRef ref="SE:253:ScheduledStopPoint:9022005000050019"/>
                                    <StartTime>06:40:00</StartTime>
                                    <EndTime>07:50:00</EndTime>
                                </JourneyPart>
                                <JourneyPart version="any" id="SE:253:JourneyPart:323200000000003266_tn_1">
                                    <MainPartRef ref="SE:253:JourneyPart:323200000000003266_tn_1" version="any"/>
                                    <TrainNumberRef ref="SE:253:TrainNumber:9011074007000000_74" versionRef="any"/>
                                    <FromStopPointRef ref="SE:253:ScheduledStopPoint:9022005000050020"/>
                                    <ToStopPointRef ref="SE:253:ScheduledStopPoint:9022005000050021"/>
                                    <StartTime>01:21:00</StartTime>
                                    <!-- The StartTimeDayOffset must match the DepartureDayOffset of the TimetabledPassingTime. -->
                                    <!-- If the value is 0 (which is the most common case) this field will not be set at all, like in the JourneyPart example above. -->
                                    <StartTimeDayOffset>1</StartTimeDayOffset> 
                                    <EndTime>02:00:00</EndTime>
                                    <!-- The EndTimeDayOffset must match the ArrivalDayOffset of the TimetabledPassingTime. -->
                                    <!-- If the value is 0 (which is the most common case) this field will not be set at all, like in the JourneyPart example above. -->
                                    <EndTimeDayOffset>1</EndTimeDayOffset>
                                </JourneyPart>
                            </parts>
                        </ServiceJourney>
                    </vehicleJourneys>
                    <!-- Train numbers for TrainNumberRefs for all of the ServiceJourneys in this Line-file. -->
                    <trainNumbers>
                        <TrainNumber version="any" id="SE:253:TrainNumber:9011074007000000_70">
                            <!-- ForAdvertisement contains the announced train number which should be displayed for passengers. -->
                            <ForAdvertisement>70</ForAdvertisement>
                        </TrainNumber>
                        <TrainNumber version="any" id="SE:253:TrainNumber:9011074007000000_74">
                            <ForAdvertisement>74</ForAdvertisement>
                        </TrainNumber>
                    </trainNumbers>
                    <journeyInterchanges>
                        <!-- ServiceJourneyInterchange is based on Noptis.ConnectionCandidate -->
                        <ServiceJourneyInterchange version="any" id="SE:253:ServiceJourneyInterchange:55700000051347301_1A_9022005004136002_55700000050225029_55700000051347301"> <!-- id=Noptis.VehicleJourney.IdA/B + FromPoint + FromJourney + counterToJourney -->
                            <Priority>0</Priority> <!--0 = Interchange allowed, -1 = Interchange not allowed -->
                            <Guaranteed>false</Guaranteed> <!-- Always false -->
                            <Advertised>true</Advertised> <!-- Always true -->
                            <FromPointRef ref="SE:253:ScheduledStopPoint:9022005004136002"/> <!-- Noptis.ConnectionCandidate.IsFromFeederVehicleJourneyId -->
                            <ToPointRef ref="SE:253:ScheduledStopPoint:9022005004136006" version="20190516"/> <!-- Noptis.ConnectionCandidate.IsFromFeederVehicleJourneyId -->
                            <FromJourneyRef ref="SE:253:ServiceJourney:55700000050225029"/>  <!-- Noptis.ConnectionCandidate.IsFromFeederVehicleJourneyId -->
                            <ToJourneyRef ref="SE:253:ServiceJourney:55700000051347301" version="any"/>  <!-- Noptis.ConnectionCandidate.IsToFetcherVehicleJourneyId -->
                        </ServiceJourneyInterchange>
                    </journeyInterchanges>
                </TimetableFrame>
            </frames>
        </CompositeFrame>
    </dataObjects>
</PublicationDelivery>

...