A simple .NET console app that subscribes to high-frequency vehicle positioning MQTT broker from Helsinki Region Transport and stores all events in JSON Lines text file.
Live data from HRT is used in Real-time Map, which is a Proto.Actor library showcase. Proto.Actor is a cross-platform actors solution for .NET and Go.
The purpose of this app is to gather some events in case HRT stops publishing them in the future (so the Real-time Map can still be run).
Possibly this repo will contain a second app for publishing previously collected events.
More info on data:
Run the app:
cd HelsinkiRegionTransportPositionStorage.Recorder
dotnet run
The results will be written to a following file: hrt_positions_<start datetime>.jsonl
. When run from an IDE, that file will be in bin\Debug\net5.0
directory.
© Helsinki Region Transport 2021 Creative Commons BY 4.0 International