Content
Bryn skole, Oslo
Monomodal StopPlace with two Quays
Bryn skole (at Ole Deviks vei) is modeled as a monomodal stop place (a stop place for one single type of transport) with two quays, and serves as an example of a stop place which operated only by bus. All stop places that are served by only one type of transport, such as tram, metro, train or boat, are modeled this manner.
The stop place for Bryn skole has no facilities beyond a sign showing that there is a bus stop, with information board for the bus route, with a timetable.
Link
The entire XML example file is located in the GitHub-repository at https://github.com/entur/profile-norway-examples/blob/master/netex/stops/BasicStopPlace-two-quays_example.xml
Elements
The following is a more detailed description of the most important elements that must be included in the data transfer to the stop place registry:
PublicationDelivery
All XML files according to the Norwegian NeTEx-profile should be of type PublicationDelivery containing relevant Frames. (See GitHub for complete example.)
Validity
Describes validity criteria for the dataset. In this example an open ended validity period, from a specific date, without end date.
<validityConditions> <AvailabilityCondition version="any" id="NSR:AvailabilityCondition:1"> <FromDate>2017-03-08T12:12:00.0Z</FromDate> </AvailabilityCondition> </validityConditions>
Organization
Each operator, as well as other authorities, has its own "namespace" - Xmlns - (cf. Administration Code) which guarantees the uniqueness of the contents of the dataset.
In Norway these codes are set by the national stop place registry.
<codespaces> <Codespace id="NRS"> <Xmlns>NSR</Xmlns> <XmlnsUrl>http://www.entur.org/ns/nsr</XmlnsUrl> </Codespace> </codespaces>
Site Frame
This block contains the information relevant for describing "physical" objects, including StopPlace, Quay and Facilities/Equipment found on them.
<SiteFrame version="any" id="NSR:SiteFrame:1"> <!-- ===StopPlaces=== --> <!-- Details for StopPlace and Quay can be found further down in the example --> <stopPlaces> <StopPlace> [...] <quays> <Quay>[...]</Quay> </quays> </StopPlace> </stopPlaces> <siteFacilitySets> <SiteFacilitySet id="NSR:SiteFacilitySet:timetablePoster" version="any"> <PassengerInformationEquipmentList>timetablePoster</PassengerInformationEquipmentList> </SiteFacilitySet> <SiteFacilitySet id="NSR:SiteFacilitySet:lineNetworkPlan" version="any"> <PassengerInformationEquipmentList>lineNetworkPlan</PassengerInformationEquipmentList> </SiteFacilitySet> <SiteFacilitySet id="NSR:SiteFacilitySet:fareInformation" version="any"> <PassengerInformationEquipmentList>fareInformation</PassengerInformationEquipmentList> </SiteFacilitySet> </siteFacilitySets> </SiteFrame>
Stop Place
The stop place is generally described with name, transport mode, and location, and should have accessibility information defined to satisfy universal design requirements. (Accessibility can also be modeled as NavigationPaths if relevant.)
<!-- Note: StopPlace-ID must be generated by the stop place registry --> <StopPlace version="any" id="NSR:StopPlace:12345678"> <Centroid> <Location srsName="WGS84" id="NSR:Location:1"> <Longitude>10.824609</Longitude> <Latitude>59.913915</Latitude> </Location> </Centroid> <AccessibilityAssessment version="any" id="NSR:AccessibilityAssessment:1"> <MobilityImpairedAccess>true</MobilityImpairedAccess> <limitations> <AccessibilityLimitation> <WheelchairAccess>true</WheelchairAccess> <StepFreeAccess>true</StepFreeAccess> </AccessibilityLimitation> </limitations> </AccessibilityAssessment> <placeEquipments> <GeneralSign id="NSR:GeneralSign:1" version="any"> <PrivateCode>512</PrivateCode> <SignContentType>transportMode</SignContentType> </GeneralSign> </placeEquipments> <TransportMode>bus</TransportMode> <StopPlaceType>onstreetBus</StopPlaceType> <quays> [...] </quays> </StopPlace>
Quay
An individual (and exact) position for boarding/alighting is defined as a Quay. It can have references to nearby roads, facilities, compass bearing etc. Its most prominent features are coordinate and PublicCode (platform identifyer). The Quay always inherts name from its parent StopPlace.
<Quay version="any" id="NSR:Quay:12345679"> <Centroid> <Location> <Longitude>59.9139819</Longitude> <Latitude>10.8247039</Latitude> </Location> </Centroid> <Lighting>poorlyLit</Lighting> <facilities> <SiteFacilitySetRef ref="NSR:SiteFacilitySet:timetablePoster"/> <SiteFacilitySetRef ref="NSR:SiteFacilitySet:fareInformation"/> </facilities> <PublicCode>A</PublicCode> <CompassBearing>200</CompassBearing> </Quay>