From bac1e81e51fc4d3f377edf37d061babdbcd28719 Mon Sep 17 00:00:00 2001 From: gwehr1 <91168723+gwehr1@users.noreply.github.com> Date: Thu, 1 Feb 2024 17:38:07 +1100 Subject: [PATCH] Modified the source CRS input to DeckglTripsData.java to use the MATSIM global CRS instead, so that the transform of trips into EPSG:4326 in the class works correctly. --- ees/src/main/java/io/github/agentsoz/ees/Run.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ees/src/main/java/io/github/agentsoz/ees/Run.java b/ees/src/main/java/io/github/agentsoz/ees/Run.java index 264e8c10..cbf37019 100644 --- a/ees/src/main/java/io/github/agentsoz/ees/Run.java +++ b/ees/src/main/java/io/github/agentsoz/ees/Run.java @@ -168,7 +168,7 @@ public void start(Config cfg, Map> bdiMap) { DeckglTripsData deckglTripsData = null; String deckglCfg = cfg.getGlobalConfig(Config.eGlobalDeckGlOutFile); if (deckglCfg != null) { - deckglTripsData = new DeckglTripsData(cfg.getGlobalConfig(Config.eGlobalCoordinateSystem)); + deckglTripsData = new DeckglTripsData(matsimEvacModel.getScenario().getConfig().global().getCoordinateSystem()); } // --- initialize and start MATSim