summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-05-29 15:59:55 +0200
committerDerf Null <derf@finalrewind.org>2023-05-29 15:59:55 +0200
commit0e00ca1906259ec8b76f334d8c766ae4144f419a (patch)
tree5a6b0306d8c4bef4e67a11226818e55c2bfdd7f1
parentea79d2d4c0f8e4f40106ea52d4e06e3977c43391 (diff)
Stop: Fix lat/lon mixup
-rw-r--r--lib/Travel/Status/DE/HAFAS/Stop.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/HAFAS/Stop.pm b/lib/Travel/Status/DE/HAFAS/Stop.pm
index 01e364d..9948e77 100644
--- a/lib/Travel/Status/DE/HAFAS/Stop.pm
+++ b/lib/Travel/Status/DE/HAFAS/Stop.pm
@@ -22,8 +22,8 @@ sub new {
my $ref = {
eva => $loc->{extId} + 0,
name => $loc->{name},
- lat => $loc->{crd}{x} * 1e-6,
- lon => $loc->{crd}{y} * 1e-6,
+ lat => $loc->{crd}{y} * 1e-6,
+ lon => $loc->{crd}{x} * 1e-6,
weight => $loc->{wt},
distance_m => $loc->{dist},
};