Versions Compared

Key

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

Header

GTFS Realtime

Value

Comment

header.gtfs_realtime_version

“2.0”

header.incrementality

FULL_DATASET

header.timestamp

UTC time in seconds of file creation

Example: 1611317753

Service alerts

GTFS Realtime

NOPTIS ROI

Comment

id

DeviationMessageVersion.Id

alert.active_period.start

DeviationMessageVersion.PublishFromDateTime

alert.active_period.end

DeviationMessageVersion.PublishUpToDateTime

alert.header_text.translation.text

DeviationMessage.Content (UsageTypeShortName=HEADER)
OR
DeviationMessageVersion.PublicNote

alert.description_text.translation.text

DeviationMessage.Content (UsageTypeShortName=DETAILS)
OR
DeviationMessageVersion.PublicNote

alert.active_period.start

DeviationMessageVersion.PublishFromDateTime

alert.active_period.end

DeviationMessageVersion.PublishUpToDateTime

alert.cause

UNKNOWN_CAUSE
OR
DeviationReasonStandardCategoryCode → alert.cause

  • MEDICAL → MEDICAL_EMERGENCY

  • POLICEDECISION → POLICE_ACTIVITY

  • ROADWORK → CONSTRUCTION

  • MAINTENANCE → MAINTENANCE

  • WEATHER → WEATHER

  • ACCIDENT → ACCIDENT

  • STRIKE → STRIKE

  • VEHICLEBREAKDOWN, TECHNICALFAILURE → TECHNICAL_PROBLEM

  • ELSE → OTHER_CAUSE

alert.informed_entity.route_id

Line.Gid

alert.informed_entity.stop_id

StopPoint.Gid
OR
StopArea.Gid

alert.informed_entity.agency_id

TransportAuhtority.Id

alert.informed_entity.trip.trip_id

VehicleJourney.Id

alert.informed_entity.trip.schedule_relationship

-

Vehicle positions

GTFS Realtime

NOPTIS

id

Position.Nr

vehicle.trip.trip_id

VehicleJourney.Id

vehicle.trip.route_id

Line.Gid

vehicle.trip.direction_id

DirectionOfLine.DirectionCode → vehicle.trip.direction_id

  • EVEN → 0

  • ODD → 1

vehicle.trip.start_time

DatedVehicleJourney.TimetabledStartDateTime

vehicle.trip.start_date

DatedVehicleJourney.TimetabledStartDateTime

vehicle.trip.schedule_relationship

SCHEDULED; if planned vehicle journey exists
OR
ADDED; if planned vehicle journey is missing

vehicle.position.latitude

Position.Northing

vehicle.position.longitude

Position.Easting

vehicle.position.bearing

Position.Heading

vehicle.position.speed

Position.Speed

vehicle.timestamp

Position.Timestamp

vehicle.vehicle.id

Position.Vehicle

Trip updates

GTFS Realtime

NOPTIS ROI

Comment

trip.trip_id

trip.start_date

DatedVehicleJourney.TimetabledStartDateTime

trip.schedule_relationship

vehicle.id

MonitoredVehicleJourney.IsAssignedToVehicleGid

stop_time_update.stop_sequence

stop_time_update.arrival.delay

stop_time_update.arrival.time

stop_time_update.arrival.uncertainty

stop_time_update.departure.delay

stop_time_update.departure.time

stop_time_update.departure.uncertainty

stop_time_update.stop_id

timestamp

Vehicle positions

Comment

GTFS Realtime

NOPTIS POSROI