From d5e3ae4971e005e9098d7f77bf95cb913f1b3d64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 08:31:30 +0000 Subject: [PATCH 1/2] build(deps): bump com.graphhopper:graphhopper-core from 8.0 to 9.1 Bumps [com.graphhopper:graphhopper-core](https://github.com/graphhopper/graphhopper) from 8.0 to 9.1. - [Release notes](https://github.com/graphhopper/graphhopper/releases) - [Changelog](https://github.com/graphhopper/graphhopper/blob/master/CHANGELOG.md) - [Commits](https://github.com/graphhopper/graphhopper/compare/8.0...9.1) --- updated-dependencies: - dependency-name: com.graphhopper:graphhopper-core dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- contribs/vsp/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contribs/vsp/pom.xml b/contribs/vsp/pom.xml index 112e7c259af..fe92d90b3a5 100644 --- a/contribs/vsp/pom.xml +++ b/contribs/vsp/pom.xml @@ -189,7 +189,7 @@ com.graphhopper graphhopper-core - 8.0 + 9.1 From 4390f0a626c29a8bd562ed619d5c7a69e34d6722 Mon Sep 17 00:00:00 2001 From: u229187 Date: Thu, 13 Jun 2024 15:31:23 +0200 Subject: [PATCH 2/2] add a fixme and comment out API change in LinkTurnDirectionAttributesFromGraphHopper --- .../LinkTurnDirectionAttributesFromGraphHopper.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contribs/vsp/src/main/java/playground/vsp/flowEfficiency/LinkTurnDirectionAttributesFromGraphHopper.java b/contribs/vsp/src/main/java/playground/vsp/flowEfficiency/LinkTurnDirectionAttributesFromGraphHopper.java index eaddca54ee5..dccd3716f6c 100644 --- a/contribs/vsp/src/main/java/playground/vsp/flowEfficiency/LinkTurnDirectionAttributesFromGraphHopper.java +++ b/contribs/vsp/src/main/java/playground/vsp/flowEfficiency/LinkTurnDirectionAttributesFromGraphHopper.java @@ -26,6 +26,7 @@ import com.graphhopper.ResponsePath; import com.graphhopper.config.CHProfile; import com.graphhopper.config.Profile; +import com.graphhopper.util.CustomModel; import com.graphhopper.util.Instruction; import com.graphhopper.util.InstructionList; import org.apache.logging.log4j.LogManager; @@ -162,7 +163,8 @@ private static GraphHopper createGraphHopperInstance(String ghLoc) { hopper.setGraphHopperLocation("target/routing-graph-cache"); // see docs/core/profiles.md to learn more about profiles - hopper.setProfiles(new Profile("car").setVehicle("car").setWeighting("fastest").setTurnCosts(false)); + //fixme: "Graphhopper profiles have changed" + //hopper.setProfiles(new Profile("car").setCustomModel(new CustomModel()).setWeighting("fastest").setTurnCosts(false)); // this enables speed mode for the profile we called car hopper.getCHPreparationHandler().setCHProfiles(new CHProfile("car"));