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 |
|
develop |
Building this project depends on transitdata-common, which is available from GitHub Packages. Make sure you have configured access to GitHub Packages.
mvn compilemvn package
- Use this script to build the Docker image
- Pulsar
PROCESSOR_VEHICLE_POSITION_MAX_TIME_DIFFERENCE: maximum time difference of the HFP timestamp relative to the current timeADDED_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