summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Travel/Status/DE/HAFAS/Journey.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm
index 5f1290b..b236e5d 100644
--- a/lib/Travel/Status/DE/HAFAS/Journey.pm
+++ b/lib/Travel/Status/DE/HAFAS/Journey.pm
@@ -428,6 +428,14 @@ otherwise. May be undef.
True if the real-time platform is known and it is not the scheduled one.
+=item $journey->load (station only)
+
+Expected passenger load (i.e., how full the vehicle is) at the requested stop.
+If known, returns a hashref that maps classes (typically FIRST/SECOND) to
+load estimation numbers. The DB backend uses 1 (low to medium), 2 (high),
+3 (very high), and 4 (exceptionally high, train is booked out).
+Undef if unknown.
+
=item $journey->messages
Returns a list of message strings related to this journey. Messages usually are
@@ -476,6 +484,8 @@ entire route. Each hash contains the following keys:
=item * direction (direction signage from this stop on, undef if unchanged)
+=item * load (expected utilization / passenger load from this stop on)
+
=back
Individual entries may be undef.