transit_recorder

command module
v0.0.0-...-a17a027 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

README

transit_recorder

Record TTC route vehicle locations for replay.

Usage

To record vehicle locations for a route:

%> go run . --route 510,504 record
Recording route "510"...
Recording route "504"...
510 updated with 11 active vehicles
504 updated with 26 active vehicles
...

To export them later:

%> go run . --routes 504,506 --start 2023-05-01T10:00:00Z --end 2023-05-01T14:00:00Z export

That will export the recorded locations into a JSON file.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package recording contains code for recording vehicle location data.
Package recording contains code for recording vehicle location data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL