Versions Compared

Key

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

...

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>
        <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">
                    <IsoCode>SE</IsoCode>
                    <Descriptor>
                        <Name>Sweden</Name>
                    </Descriptor>
                    <TopographicPlaceType>country</TopographicPlaceType>
                    <CountryRef ref="se"/>
                </TopographicPlace>
                <TopographicPlace version="any" id="SE:005:TopographicPlace:SE_1">
                    <PrivateCode>01</PrivateCode>
                    <IsoCode>SE-01</IsoCode>
                    <Descriptor>
                        <Name>Stockholms län</Name>
                    </Descriptor>
                    <TopographicPlaceType>county</TopographicPlaceType>
                    <CountryRef ref="se"/>
                    <ParentTopographicPlaceRef ref="SE:005:TopographicPlace:SE" version="any"/>
                </TopographicPlace>
                <TopographicPlace version="any" id="SE:005:TopographicPlace:SE_0160">
                    <PrivateCode>0160</PrivateCode>
                    <Descriptor>
                        <Name>Täby kommun</Name>
                    </Descriptor>
                    <TopographicPlaceType>municipality</TopographicPlaceType>
                    <CountryRef ref="se"/>
                    <ParentTopographicPlaceRef ref="SE:005:TopographicPlace:SE_1" version="any"/>
                </TopographicPlace>
                <TopographicPlace version="any" id="SE:005:TopographicPlace:SE_0162">
                    <PrivateCode>0162</PrivateCode>
                    <Descriptor>
                        <Name>Danderyds kommun</Name>
                    </Descriptor>
                    <TopographicPlaceType>municipality</TopographicPlaceType>
                    <CountryRef ref="se"/>
                    <ParentTopographicPlaceRef ref="SE:005:TopographicPlace:SE_1" version="any"/>
                <TopographicPlaceType>municipality</TopographicPlaceType></TopographicPlace>
                <!-- BasedMore onTopographicPlace Noptis.Zone.ZoneTypeCodeelements. All counties and municipalities in Sweden -->
                </TopographicPlace>
            </topographicPlaces>
            <groupsOfStopPlaces> <!-- GroupOfStopPlace is based on Noptis.Site -->
              <GroupOfStopPlaces version="20120623" id="SE:001:GroupOfStopPlaces:9091001000000103"> <!-- version=Noptis.Site.ExistsFromDate, id=Noptis.Site.Gid -->
                    <ValidBetween>
                        <FromDate>2012-06-23T00:00:00</FromDate> <!-- Noptis.Site.ExistsFromDate -->
                    </ValidBetween>
                    <Name>Nämdöböte</Name> <!-- Noptis.Site.Name -->
                    <Description>Nämdö</Description> <!-- Noptis.Site.PublicNote -->
                    <PrivateCode>103</PrivateCode> <!-- Noptis.Site.Number -->
                    <members>
                        <!-- StopPlaceRefs are based on Noptis.SiteNeighbouringStopArea -->
                        <StopPlaceRef ref="SE:001:StopPlace:9021001000103000" version="20210224"/> <!-- ref=Noptis.StopArea.Gid, version=Noptis.StopArea.ExistsFromDate -->
                        <StopPlaceRef ref="SE:001:StopPlace:9021005000001000" version="20161213"/> <!-- ref=Noptis.StopArea.Gid, version=Noptis.StopArea.ExistsFromDate -->
                    </members>
                    <Centroid>
                        <Location srsName="WGS84"> <!-- Noptis.Site.CoordinateSystemName -->
                            <Longitude>18.739921</Longitude> <!-- Noptis.Site.CentroidEastingCoordinate -->
                            <Latitude>59.208826</Latitude> <!-- Noptis.Site.CentroidNorthingCoordinate -->
                        </Location>
                    </Centroid>
                </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>
                    <TopographicPlaceRef ref="SE:005:TopographicPlace:SE_0160" version="any"/>
                    <OrganisationRef ref="SE:253:Authority:9010005000000000"/> <!-- Noptis.StopArea.IsDefinedByTransportAuthortiy -->
                    <entrances> <!-- Entrances are based on Noptis.StationEntrancePoint -->
                        <StopPlaceEntrance version="20120623" id="SE:275:StopPlaceEntrance:9023001006651001"> <!-- version=Noptis.StationEntrancePoint.ExistsFromDate, id=Noptis.StationEntrancePoint.Gid -->
                            <ValidBetween>
                                <FromDate>2014-03-11T00:00:00</FromDate>  <!-- Noptis.StationEntrancePoint.ExistsFromDate but not earlier than parent StopPlace.FromDate -->
                                <!-- ToDate = Noptis.StationEntrancePoint.ExistsToDate, in this case "ExistsToDate" is null, not later than parent StopPlace.ToDate -->
                            </ValidBetween>
                            <Name>Djursholms Ösby</Name> <!-- Noptis.StationEntrancePoint.Name -->
                            <Centroid>
                                <Location>
                                    <Longitude>18.058320</Longitude> <!-- Noptis.StationEntrancePoint.LocationEastingCoordinate -->
                                    <Latitude>59.397925</Latitude> <!-- Noptis.StationEntrancePoint.LocationNorthingCoordinate -->
                                </Location>
                            </Centroid>
                        </StopPlaceEntrance>
                        <!-- More StopPlaceEntrance elements -->
                    </entrances>
                    <TransportMode>bus</TransportMode> <!-- See the section "General Noptis to Netex mappings" below -->
                    <tariffZones>
                        <TariffZoneRef ref="SE:005:TariffZone:9081005201004216" version="160620"/> <!-- Tariff zones this stop area belongs to , Noptis.JourneyPatternPointInZone aggregated on StopArea level -->
                    </tariffZones>
                    <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.LocationEastingCoordinate -->
                                    <Latitude>58.595038</Latitude> <!-- Noptis.JourneyPatternPoint.LocationNorthingCoordinate -->
                                </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 -->
                            <equipmentPlaces> <!-- Based on Noptis ConnectionLink, ObstacleOnLink, BridgingDevice -->
                              <EquipmentPlace version="any" id="SE:001:EquipmentPlace:14010000311143397"> <!-- id = Noptis.BridgingDevice.Id -->
                                  <placeEquipments>
                                      <EntranceEquipment version="any" id="SE:001:EntranceEquipment:14010000311143397"> <!-- id = Noptis.BridgingDevice.Id -->
                                          <Door>true</Door> <!-- Noptis.BridgingDevice (TypeCode = DOOR) -->
                                      </EntranceEquipment>
                                  </placeEquipments>
                              </EquipmentPlace>
                            </equipmentPlaces>
                        </Quay>
                        <!-- More Quay elements -->
                    </quays>
                </StopPlace>
                <!-- More StopPlace elements -->
            </stopPlaces>
            <tariffZones>
                <TariffZone version="160620" id="SE:005:TariffZone:9081005201004216"> <!-- Noptis.Zone where TypeCode == "TARIFFZO". version=Noptis.Zone.ExistsFromDate id=Noptis.Zone.Gid -->
                    <ValidBetween>
                        <FromDate>2016-06-20T00:00:00</FromDate> <!-- existsFromDate -->
                    </ValidBetween>
                    <Name>Norrköping</Name> <!-- Name -->
                    <ShortName>Norrköping</ShortName> <!-- Shortname -->
                    <PrivateCode>1004216</PrivateCode> <!-- Number -->
                </TariffZone>
            </tariffZones>
            <navigationPaths> 
                <!-- NavigationPath is based on Noptis.ConnectionLink when 'From' and 'To' are both Quay references -->
                <!-- NavigationPath 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' is a StopPlaceEntrance reference -->
                <!-- NavigationPath may contain validityConditions and timebands if they have limited dates and opening hours -->  
                <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>
                    <AccessibilityAssessment version="20180504" id="SE:275:AccessibilityAssessment:4010000565163766"> <!-- SE:<producerNumber>:AccessibilityAssessment:<obstacleOnLinkId> , version=ObstacleOnLink.ExistsFromDate -->
                      <MobilityImpairedAccess>unknown</MobilityImpairedAccess>  <!-- Always unknown, required field but data is not available  -->
                      <limitations>
                          <AccessibilityLimitation>
                              <WheelchairAccess>unknown</WheelchairAccess> <!-- Always unknown, required field but data is not available  -->
                              <StepFreeAccess>false</StepFreeAccess>  <!-- BridgingDevice.TypeCode, “false” if there is a BridgingDevice for which TypeCode == 'STAIRWAY'.  -->
                              <EscalatorFreeAccess>unknown</EscalatorFreeAccess> <!-- BridgingDevice.TypeCode, “false” if there is a BridgingDevice for which TypeCode == 'ESCALAT'.  -->
                              <LiftFreeAccess>unknown</LiftFreeAccess> <!-- BridgingDevice.TypeCode, “false” if there is a BridgingDevice for which TypeCode == 'ELEVATOR'.  -->
                          </AccessibilityLimitation>
                      </limitations>
                   </AccessibilityAssessment>
                </NavigationPath>
                <NavigationPath version="20120623" id="SE:251:NavigationPath:14010000311143757"> <!-- version=Noptis.StationEntryLink.ExistsFromDate, id=Noptis.StationEntryLink.Id -->
                    <Distance>2.0</Distance> <!-- version=Noptis.StationEntryLink.DistanceMeters. If null, Distance will be 0 -->
                    <From>
                        <PlaceRef ref="SE:251:StopPlaceEntrance:9023001006651002" version="20120623"/> <!-- version=Noptis.StationEntrancePoint.ExistsFromDate id=Noptis.StationEntrancePoint.Gid -->
                    </From>
                    <To>
                        <PlaceRef ref="SE:251:Quay:9022003719007001" version="20150827"/> <!-- version=Noptis.StopPoint.ExistsFromDate id=Noptis.StopPoint.Gid from Noptis.StationEntryLink.EndsAtJourneyPatternPoint -->
                    </To>
                    <TransferDuration>
                        <DefaultDuration>PT3M1S</DefaultDuration> <!-- version=Noptis.StationEntryLink.DefaultDurationSeconds -->
                    </TransferDuration>
                </NavigationPath>
                <NavigationPath version="20120623" id="SE:251:NavigationPath:14010000311147186"> <!-- version=Noptis.StationExitLink.ExistsFromDate, id=Noptis.StationExitLink.Id -->
                    <Distance>3.0</Distance> <!-- version=Noptis.StationExitLink.DistanceMeters. If null, Distance will be 0 -->
                    <From>
                        <PlaceRef ref="SE:251:Quay:9022003719007002" version="20150827"/> <!-- version=Noptis.StopPoint.ExistsFromDate id=Noptis.StopPoint.Gid from Noptis.StationExitLink.StartsAtJourneyPatternPoint -->
                    </From>
                    <To>
                        <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>

...