Feature Plan - Planned Vehicle Journey Occupancy

Feature Plan - Planned Vehicle Journey Occupancy

Import/Export OccupancyLevel/OccupancyPercentage associated to NeTEx Service Journeys

The user can import and export NeTEx Service Journeys with occupancy attributes:

<ServiceJourney id="AAMV1" version="any"> <Name>AAMV1</Name> <occupancies> <OccupancyView id="occ" version="any"> <OccupancyLevel>fewSeatsAvailable</OccupancyLevel> <OccupancyPercentage>80</OccupancyPercentage> </OccupancyView> </occupancies> <dayTypes> <DayTypeRef ref="chouette:TimeTable:dc120ad9-090c-4358-92bd-96a7b91b34fb:LOC" version="any"/> </dayTypes> <JourneyPatternRef ref="chouette:JourneyPattern:ca809292-588a-4bf9-9df5-4d6fbaa6f1da:LOC" version="any"/> <passingTimes> <TimetabledPassingTime id="time1" version="any"> <StopPointInJourneyPatternRef ref="chouette:StopPointInJourneyPattern:ca809292-588a-4bf9-9df5-4d6fbaa6f1da-3500a177-6395-4c14-b57e-ee5757768336:LOC" version="any"/> <ArrivalTime>08:00:00</ArrivalTime> <ArrivalDayOffset>0</ArrivalDayOffset> <DepartureTime>08:00:00</DepartureTime> <DepartureDayOffset>0</DepartureDayOffset> <occupancies> <OccupancyView id="occ1" version="any"> <OccupancyLevel>fewSeatsAvailable</OccupancyLevel> <OccupancyPercentage>80</OccupancyPercentage> </OccupancyView> </occupancies> </TimetabledPassingTime> <TimetabledPassingTime id="time2" version="any"> <StopPointInJourneyPatternRef ref="chouette:StopPointInJourneyPattern:ca809292-588a-4bf9-9df5-4d6fbaa6f1da-7d74004f-dc79-4d81-9687-affde08f5bfa:LOC" version="any"/> <ArrivalTime>09:00:00</ArrivalTime> <ArrivalDayOffset>0</ArrivalDayOffset> <DepartureTime>09:00:00</DepartureTime> <DepartureDayOffset>0</DepartureDayOffset> </TimetabledPassingTime> </passingTimes> </ServiceJourney>

The OccupancyLevel/OccupancyPercentage attributes can be associated to:

  • the whole ServiceJourney (as a default value for all passing times)

  • and/or each TimetabledPassingTime (to override the ServiceJourney values if exist)

The possible values for OccupancyLevel attribute are:

  • unknown

  • empty

  • manySeatsAvailable

  • fewSeatsAvailable

  • standingRoomOnly

  • crushedStandingRoomOnly

  • full

  • notAcceptingPassengers

  • seatsAvailable

  • standingAvailable

The undefinedvalue is ignored.

The OccupancyPercentage attribute must be a numeric vaue between 0 and 100.

All these attributes are optional. The attributes are only present in the exported file when defined in the dataset.

The payload is compatible for the latest version of XSD NeTEx. See https://github.com/NeTEx-CEN/NeTEx for more details.

The OccupancyView identifiers are ignored by Chouette import.

Manage Vehicle Journey occupancies

The user can view and define Occupancy level and percentage on:

  • each Service Journey (as a default value)

  • each passing time of the Service Journey (to override the Service Journey values if exist)

vehicle_journeys - occupancy.png
Manage occupancy attributes associated to Chouette Vehicle Journey

All these attributes are optional.

Control presence of Occupancy attributes

The user can control the presence of Occupancy attributes:

  • Occupancy Level

  • Occupancy Percentage

on Vehicle Journey or Vehicle Journey Stop:

control-presence-occupancy.png

When the control is used on Vehicle Journey Stop model, the associated Vehicle Journey is reported with the number of invalid stops.