Skip to content

.NET console app for storing high-frequency vehicle positioning MQTT events.

License

Notifications You must be signed in to change notification settings

bt-skyrise/hrt-position-storage

Repository files navigation

Helsinki Region Transport position storage

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:

Running

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.

HRT data license

© Helsinki Region Transport 2021 Creative Commons BY 4.0 International

About

.NET console app for storing high-frequency vehicle positioning MQTT events.

Resources

License

Stars

Watchers

Forks

Languages