Skip to content

HSLdevcom/transitdata-vehicleposition-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transitdata-vehicleposition-processor

transitdata-vehicleposition-processor converts HFP messages into GTFS-RT vehicle positions. Optionally, it is also possible to add passenger count data from APC messages to the GTFS-RT vehicle positions.

This project is part of transitdata pipeline.

Branch Build status
master Test and create Docker image
develop Test and create Docker image

Building

Building this project depends on transitdata-common, which is available from GitHub Packages. Make sure you have configured access to GitHub Packages.

Locally

  1. mvn compile
  2. mvn package

Docker

Running

Dependencies

  • Pulsar

Environment variables

  • PROCESSOR_VEHICLE_POSITION_MAX_TIME_DIFFERENCE: maximum time difference of the HFP timestamp relative to the current time
  • ADDED_TRIPS_ENABLED_MODES: transport modes for which GTFS-RT ADDED trips are enabled (i.e. whether to create vehicle positions for all vehicles when more than one vehicle is serving the same trip)
  • PASSENGER_COUNT_ENABLED_VEHICLES: whether passenger count data should be used in the GTFS-RT vehicle positions

About

Generates GTFS-RT vehicle positions from HFP data

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages