Versions Compared

Key

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

InnholdContent

Table of Contents

Bryn

...

skole, Oslo

Monomodal StopPlace

...

with two Quays

Bryn skole (i at Ole Deviks vei) modelleres som en is modelled as a monomodal stop place (stoppested for én transporttype) med to quays, og fungerer som eksempel på et stoppested som kun betjenes av buss. Stoppested som kun betjenes av én type transportmiddel, som for eksempel trikk, T-bane, tog eller båt, skal modelleres på tilsvarende måte.

Stoppestedet for Bryn Skole har ingen fasiliteter utover et skilt som viser at det er busstopp, med informasjonstavle som viser bussruten og tidtabell.

Lenke

Hele XML eksempelfilen ligger på prosjektets GitHub-repository under a stop place for one single type of transport) with two quays, and serves as an example of a stop place which is served only by bus. All stop places that are served by only one type of transport, such as tram, metro, train or boat, are modelled in 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.

The XML example in it its entirety can be found in the GitHub repository: https://github.com/entur/profile-norway-examples/blob/master/netex/stops/BasicStopPlace-two-quays_example.xml

Elementer

...

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

Alle XML-filer etter norsk NeTEx-profil skal være av type PublicationDelivery som inneholder relevante Frames. (Se GitHub for komplett eksempel.)

Gyldighet

Beskriver gyldighetskriterier for datasettet, i eksempelet gyldighet fra en gitt dato (uten sluttdato).All XML files according to the Norwegian NeTEx-profile should be of type PublicationDelivery containing relevant Frames. (See GitHub for a complete example.)

Validity

Describes the validity criteria for the dataset. In this example, an open-ended validity period, from a specific date, without an end date.

ValidityConditions
Code Block
languagexml
titleValidityConditions
<validityConditions>
	<AvailabilityCondition version="any" id="NSR:AvailabilityCondition:1">
		<FromDate>2017-03-08T12:12:00.0Z</FromDate>
	</AvailabilityCondition>
</validityConditions>

...

Organization

Hver operatør, samt andre autoriteter, har sitt eget Each operator, as well as other authorities, has its own "namespace" - Xmlns - (jfcf. Administrasjonskode) som unikt definerer innsender av datasettet.

...

Administration Code) which guarantees the uniqueness of the contents of the dataset.

Info

In Norway, these codes are set by the national stop place registry.

Codespace
Code Block
languagexmltitleCodespace
<codespaces>
	<Codespace id="NRS">
		<Xmlns>NSR</Xmlns>
		<XmlnsUrl>http://www.entur.org/ns/nsr</XmlnsUrl>
	</Codespace>
</codespaces>

Site Frame

Denne blokken inneholder informasjonen som er This block contains the information relevant for å beskrive describing "fysiskephysical" objekterobjects, herunder including StopPlace, Quay og and Facilities/Equipment som finnes på dissefound on them.

Code Block
languagexml
<SiteFrame version="any" id="NSR:SiteFrame:1">
	<!-- ===StoppestederStopPlaces=== -->
	<!-- DetaljeneDetails for StopPlace ogand Quay vises lenger ned i eksempelet 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

Stoppestedet beskrives overordnet med navn, kortnavn, lokasjon og skal som minimum ha definert overordnet tilgjenelighetsinformasjon for å tilfredsstille krav om universell utforming. (Merk at for mer kompliserte stoppestedet bør dette modeleres som NavigationPaths når relevant.)

Stoppestedet skal også definere transporttype og stoppestedstype.

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 modelled as NavigationPaths if relevant.)

Code Block
languagexml
<!-- MerkNote: HoldeplassStopPlace-ID vil komme fra Holdeplassregisteretmust 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

Det enkelte sted for av-/påstigning defineres som en Quay med tilknytningsbeskrivelse, f.eks. relevante nærliggende veier, retning og relevant info som skal presenteres til publikumAn 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 identifier). The Quay always inherits name from its parent StopPlace.

Code Block
languagexml
<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>Sør<<PublicCode>A</PublicCode>
	<CompassBearing>200</CompassBearing>
</Quay>

...