summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-04-28 19:42:58 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-04-28 19:42:58 +0200
commitb93ac311ce6e979ccab13a35448b1c5d6e442c86 (patch)
treee58095eef0964f35087206b28473dd48956e2394
parentf1f04bb7cf4e59ca33c9627d5b7e858169c5cef9 (diff)
carriage formation == coach sequence
-rwxr-xr-xbin/db-wagenreihung10
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung.pm11
2 files changed, 11 insertions, 10 deletions
diff --git a/bin/db-wagenreihung b/bin/db-wagenreihung
index ed8b76f..068241b 100755
--- a/bin/db-wagenreihung
+++ b/bin/db-wagenreihung
@@ -195,11 +195,11 @@ This is beta software: API and output format may change without notice.
=head1 DESCRIPTION
-db-wagenreihung shows the carriage formation of train I<train-number> at
-station I<station> (must be a name or DS100 code) as reported by the Deutsche
-Bahn Wagenreihung API. As of April 2024, it has mature support for
-long-distance (IC/EC/ICE) trains and a growing number of regional transport
-providers that also offer mostly correct carriage formation data.
+db-wagenreihung shows the carriage formation (also known as coach sequence) of
+train I<train-number> at station I<station> (must be a name or DS100 code) as
+reported by the Deutsche Bahn Wagenreihung API. As of April 2024, it has mature
+support for long-distance (IC/EC/ICE) trains and a growing number of regional
+transport providers that also offer mostly correct carriage formation data.
It is not possible to request the carriage formation at a train's terminus
station. This is a known limitation.
diff --git a/lib/Travel/Status/DE/DBWagenreihung.pm b/lib/Travel/Status/DE/DBWagenreihung.pm
index 7832d9a..77813d5 100644
--- a/lib/Travel/Status/DE/DBWagenreihung.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung.pm
@@ -785,11 +785,12 @@ This is beta software. The API may change without notice.
=head1 DESCRIPTION
Travel:Status:DE::DBWagenreihung is an unofficial interface to the Deutsche
-Bahn carriage formation API at L<https://ist-wr.noncd.db.de/wagenreihung/1.0>.
-It returns station-specific carriage formations for a variety of trains in the
-rail network associated with Deutsche Bahn. Data includes carriage positions
-on the platform, train type (e.g. ICE series), carriage-specific attributes
-such as first/second class, and the internal type and number of each carriage.
+Bahn carriage formation (API at L<https://ist-wr.noncd.db.de/wagenreihung/1.0>.
+It returns station-specific carriage formations (also kwnown as coach
+sequences) for a variety of trains in the rail network associated with Deutsche
+Bahn. Data includes carriage positions on the platform, train type (e.g. ICE
+series), carriage-specific attributes such as first/second class, and the
+internal type and number of each carriage.
Positions on the platform are given both in meters and percent (relative to
platform length).