aboutsummaryrefslogtreecommitdiff
path: root/GLOSSARY.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--GLOSSARY.md35
1 files changed, 22 insertions, 13 deletions
diff --git a/GLOSSARY.md b/GLOSSARY.md
index 664edd9..062f897 100644
--- a/GLOSSARY.md
+++ b/GLOSSARY.md
@@ -8,24 +8,33 @@ terminology used by GTFS.
## Terms
+Ticket
+: A single tracked trip. These are imported from the GTFS (or couple be created
+ manually via the web interface), and are independent from it, i.e. they are
+ saved in tracktrain's data base and won't change with subsequent GTFS updates,
+ but would have to be deleted and reimported instead.
+
+ This prevents tracktrain from ending up with invalid data if a trip's id
+ or stops change retroactively.
+
+Trip (don't confuse with Train)
+: Used as in GTFS: a trip is a defined sequence of *stops*, referred to by
+ a number (called its trip ID, e.g. IC 94). Usually runs on multiple
+ days. Always has an associated *shape*.
+
+ (might match your intuition for "train line")
+
(Calendar-)Date / Day
: A single, unique day (e.g. 1970-01-01). Usually used to indicate if a
*trip* is running on that day or not.
-Time (of Day)
+Seconds (on a given Day)
: Time on a given day, given in seconds (though often displayed as
minutes) since midnight. If a trip crosses midnight it is treated as if
it took place entirely on the previous day, and times simply count up
beyond the total number of seconds in a day (note that that's a
timezone-series dependent number).
-Trip (don't confuse with Train)
-: Used as in GTFS: a trip is a defined sequence of *stops*, referred to by
- a number (called its trip ID, e.g. IC 94). Usually runs on multiple
- days. Always has an associated *shape*.
-
- (might match your intuition for "train line")
-
Stop
: A *station* with associated arrival/departure *time*.
@@ -37,11 +46,6 @@ Shape
: A sequence of geolocations describing a line between stations,
describing the physical railway along which trains travel.
-Train (don't confuse with Trip)
-: A single instance of a *trip* on a concrete *date*. Tracktrain mostly
- concerns itself with keeping track of those; the rest is just additional
- stuff.
-
Vehicle
: An actual, physical vehicle, which might act as the *train* going along
a *trip* on a certain *date*.
@@ -57,6 +61,11 @@ Announcement
: A single packet of data sent from a train's *OBU*. Might arrive in some
arbitrary order.
+(Train-)Anchor
+: An "anchored" point of position of a train along a trip; a snapshot of its
+ delay and state at a known position. These are generated from train pings,
+ and are the basis for extrapolating future delays for passanger information.
+
Control Room
: The "admin interface" of tracktrain, which is not meant to be used by
on-board staff.