-
-
Save theqp/92298a1f47586f3062b01c8611b09788 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private final PMap hints = | |
new PMap(ImmutableMap.of("calc_points", "false", "instructions", "false")); | |
private GraphHopper initGraphHopper() { | |
return new GraphHopperOSM() | |
.setDataReaderFile("gh/hungary.osm.pbf") | |
.setGraphHopperLocation("gh") | |
.setEncodingManager(EncodingManager.create("car")) | |
.forDesktop() | |
.setMinNetworkSize(200, 200) // https://discuss.graphhopper.com/t/93 | |
.importOrLoad(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment