Versions Compared

Key

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

...

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>UTC</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:253:TopographicPlace:1">
                    <ValidBetween>
                        <FromDate>2016-12-13T00:00:00</FromDate> <!-- Noptis.Zone.ExistsFromDate -->
                        <!-- ToDate = Noptis.Zone.ExistsToDate, in this case "ExistsToDate" is null -->
                    </ValidBetween>
                    <Name>Boxholm</Name> <!-- Noptis.Zone.Name -->
                    <PrivateCode>0560</PrivateCode> <!-- Noptis.Zone.Number -->
                    <TopographicPlaceType>municipality</TopographicPlaceType> <!-- Based on Noptis.Zone.ZoneTypeCode -->
                </TopographicPlace>
            </topographicPlaces>
            <!-- WIP, GroupOfStopPlace is based on Noptis.Site --> 
            <groupsOfStopPlaces>
              <GroupOfStopPlaces></GroupOfStopPlaces>
            </groupsOfStopPlaces>
            <stopPlaces> <!-- StopPlace is based on Noptis.StopArea -->
                <StopPlace version="20161213" id="SE:253:StopPlace:9021005000001000"> <!-- version=Noptis.StopArea.ExistsFromDate, id=Noptis.StopArea.Gid -->
                    <ValidBetween>
                        <FromDate>2016-12-13T00:00:00</FromDate> <!-- Noptis.StopArea.ExistsFromDate -->
                        <!-- ToDate = Noptis.StopArea.ExistsToDate, in this case "ExistsToDate" is null -->
                    </ValidBetween>
                    <Name>Norr Tull</Name> <!-- Noptis.StopArea.Name -->
                    <ShortName>Norr Tull</ShortName> <!-- Noptis.StopArea.ShortName -->
                    <PrivateCode>1</PrivateCode> <!-- Noptis.StopArea.Number -->
                    <Centroid>
                        <Location>
                            <Longitude>16.176723</Longitude> <!-- Noptis.StopArea.CentroidEastingCoordinate -->
                            <Latitude>58.594850</Latitude> <!-- Noptis.StopArea.CentroidNorthingCoordinate -->
                        </Location>
                    </Centroid>
                    <OrganisationRef ref="SE:253:Authority:9010005000000000"/> <!-- Noptis.StopArea.IsDefinedByTransportAuthortiy -->
                    <TransportMode>bus</TransportMode> <!-- See the section "General Noptis to Netex mappings" below -->
                    <StopPlaceType>busStation</StopPlaceType> <!-- See the section "General Noptis to Netex mappings" below -->
                    <Weighting>interchangeAllowed</Weighting> <!-- See the section "General Noptis to Netex mappings" below -->
                    <quays> <!-- Quay is based on Noptis.StopPoint and Noptis.JourneyPatternPoint -->
                        <Quay version="20180419" id="SE:253:Quay:9022005000001001"> <!-- version=Noptis.StopPoint.ExistsFromDate, id=Noptis.StopPoint.Gid -->
                            <ValidBetween>
                                <FromDate>2019-04-26T00:00:00</FromDate> <!-- Noptis.StopPoint.ExistsFromDate but not earlier than parent StopPlace.FromDate -->
                                <!-- ToDate = Noptis.StopPoint.ExistsToDate, in this case "ExistsToDate" is null, not later than parent StopPlace.ToDate -->
                            </ValidBetween>
                            <Name>Norr Tull</Name> <!-- Noptis.StopPoint.Name -->
                            <ShortName>Norr Tull</ShortName> <!-- Noptis.StopPoint.ShortName -->
                            <PrivateCode>1</PrivateCode> <!-- Noptis.StopPoint.LocalNumber -->
                            <Centroid>
                                <Location>
                                    <Longitude>16.177052</Longitude> <!-- Noptis.JourneyPatternPoint.CentroidEastingCoordinateLocationEastingCoordinate -->
                                    <Latitude>58.595038</Latitude> <!-- Noptis.JourneyPatternPoint.CentroidNorthingCoordinateLocationNorthingCoordinate -->
                                </Location>
                            </Centroid>
                            <!-- WIP, Netex.ZoneProjections are based on Noptis.JourneyPatternPointInZone -->
                            <projections>
                                <ZoneProjection version="any" id="TEST:ZoneProjection:1">
                                    <ProjectedZoneRef ref="TEST:TopographicPlace:1"/>
                                </ZoneProjection>
                            </projections>
                            <PublicCode>A</PublicCode> <!-- Noptis.StopPoint.Designation -->
                        </Quay>
                        <!-- More Quay elements -->
                    </quays>
                </StopPlace>
                <!-- More StopPlace elements -->
            </stopPlaces>
            <navigationPaths> <!-- NavigationPath is based on Noptis.ConnectionLink -->
                <NavigationPath version="20180504" id="SE:253:NavigationPath:55700000046273098"> <!-- version=Noptis.ConnectionLink.ExistsFromDate, id=Noptis.ConnectionLink.Id -->
                    <Distance>0</Distance> <!-- version=Noptis.ConnectionLink.DistanceMeters. If null, Distance will be 0 -->
                    <From>
                        <PlaceRef ref="SE:253:Quay:9022005000100216" version="20140218"/> <!-- version=Noptis.StopPoint.ExistsFromDate id=Noptis.StopPoint.Gid from Noptis.ConnectionLink.StartsAtJourneyPatternPoint -->
                    </From>
                    <To>
                        <PlaceRef ref="SE:253:Quay:9022005000102017" version="20181204"/> <!-- version=Noptis.StopPoint.ExistsFromDate id=Noptis.StopPoint.Gid from Noptis.ConnectionLink.EndsAtJourneyPatternPoint -->
                    </To>
                    <TransferDuration>
                        <DefaultDuration>PT6M</DefaultDuration> <!-- version=Noptis.ConnectionLink.DefaultDurationSeconds -->
                    </TransferDuration>
                </NavigationPath>
                <!-- More NavigationPath elements -->
            </navigationPaths>
        </SiteFrame>
    </dataObjects>
</PublicationDelivery>

...