Skip to content

Commit

Permalink
Merge pull request #3256 from matsim-org/dependabot/maven/com.graphho…
Browse files Browse the repository at this point in the history
…pper-graphhopper-core-9.1

build(deps): bump com.graphhopper:graphhopper-core from 8.0 to 9.1
  • Loading branch information
jfbischoff authored Jun 13, 2024
2 parents 8d02df1 + c8a045d commit b6b7a07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contribs/vsp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
<dependency>
<groupId>com.graphhopper</groupId>
<artifactId>graphhopper-core</artifactId>
<version>8.0</version>
<version>9.1</version>
</dependency>
<!-- Enforce version -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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"));
Expand Down

0 comments on commit b6b7a07

Please sign in to comment.