fixed bugs with coords:

argument order is now [lat, lon] everywhere

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-01-01 10:44:32 +01:00
parent 211c92b0e3
commit d9e5475962
6 changed files with 33 additions and 9 deletions
@@ -59,7 +59,7 @@ public class Util {
try {
var lat = Double.parseDouble(parts[0].trim());
var lon = Double.parseDouble(parts[1].trim());
return Payload.of(new Coords(lon, lat));
return Payload.of(new Coords(lat, lon));
} catch (NumberFormatException nfe) {
return error(nfe, "Failed to parse coords from %s", coords);
}