diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-10-16 22:29:56 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-10-16 22:29:56 +0200 |
commit | da949651df5e187248067b1c58a778506083a502 (patch) | |
tree | 9c7dc8a9710544ce4a64c6c1a06bda80e4cba762 | |
parent | 4239add446bf42fa5503a321943bb29ceee93920 (diff) |
journey: parse lon/lat
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Journey.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm index c14a53e..006edd9 100644 --- a/lib/Travel/Status/DE/HAFAS/Journey.pm +++ b/lib/Travel/Status/DE/HAFAS/Journey.pm @@ -102,6 +102,8 @@ sub new { { name => $loc->{name}, eva => $loc->{extId} + 0, + lon => $loc->{crd}{x} * 1e-6, + lat => $loc->{crd}{y} * 1e-6, sched_arr => $sched_arr, rt_arr => $rt_arr, sched_dep => $sched_dep, |