From 0e00ca1906259ec8b76f334d8c766ae4144f419a Mon Sep 17 00:00:00 2001 From: Derf Null Date: Mon, 29 May 2023 15:59:55 +0200 Subject: Stop: Fix lat/lon mixup --- lib/Travel/Status/DE/HAFAS/Stop.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Travel') 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}, }; -- cgit v1.2.3