Questions tagged [graphhopper]

GraphHopper is a fast and Open Source route planner library and server written in Java.

GraphHopper is a fast and Open Source road routing engine written in Java. Running in desktop, mobile and server environments. It is customizable but provides pedestrian, bicycle and car routing per default.

223 questions
0
votes
0 answers

How can i sync graphooper or maps.me map data (mwm or .map file and offline routing data) with server and device

I want to edit map data from server , for example i want to close a street from server and offline routing will update and users dont route from closed street, after a time street will be open from server. how can i do this?
TohidNajafi
  • 56
  • 1
  • 5
0
votes
1 answer

Hard score calculation in vehicle routing

Currently using OptaPlanner for calculating score in a CVRP problem. if (demand > capacity) hardScore -= (demand - capacity); If there is a heterogeneous fleet, how can I calculate a hard score? I want to use a vehicle with small capacity if…
0
votes
0 answers

To get an optimizing solution for VRP using Graphhopper/jsprit

While solving Vehicle Routing problem using Graphhopper/jsprit, For example , we get the solution as follows Pickup1 - job1 Pickup2 - job2 Pickup3 - job3 Delivery1 - job1 Delivery2 - job2 Pickup4 - job4 So the problem i have with this solution…
0
votes
1 answer

how to use road speed per request in graphhopper routing

As per the graphhopper 0.9 release, it says A new graph change API to change road speed and access properties, #845. Can be applied before preprocessing or per-request. how do i use it, can someone point me to the documentation with example ? thanks…
DJM
  • 594
  • 1
  • 5
  • 18
0
votes
1 answer

how to enable hybrid mode in graphhopper for traffic data

how to enable hybrid mode for graphhopper 0.9 version. in the config file, what all we need to enable/disable/change my intention is to use traffic data using the link graphhopper-traffic-data-integration i am not able make it work, when i feed the…
DJM
  • 594
  • 1
  • 5
  • 18
0
votes
1 answer

Custom VRP datasets using graph hopper

I am looking for a java code or library to generate the custom VRP datasets with road distances using graph hopper. Could you please share the details.
0
votes
1 answer

Optaplanner/graphhopper: how to solve VRP minimax optimization?

I have a route planning problem that consists of N vehicles and > 2N waypoints. I want to optimize their route such that the maximum time/cost of all vehicles is minimized. The only options in JVM are either optaplanner or graphhopper. This problem…
0
votes
0 answers

Detect off-route with graphhopper offline navigation

I'm developing an app with navigation system using graphhopper offline. I have a gpx route displayed correctly with map-matching and the goal is the user needs to follow this route. If the user needs to take other way for some circumstances the app…
ariel
  • 253
  • 5
  • 9
0
votes
0 answers

How to include in GHResponse all nodes from a straight line

When requesting a route between to points, the container GHResponse doesn't include all the points in the way, i.e, if the route is a line some points are omitted. How can I retrieve all the points/nodes that are in the line?
nuno407
  • 13
  • 5
0
votes
0 answers

How to resolve TransformException: java.util.zip.ZipException: duplicate entry :com/vividsolutions/jts/algorithm/Angle.class?

Everything was working fine , I added a button in my MainActivity and I had this error : Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException:…
Amina T
  • 21
  • 4
0
votes
1 answer

Can Graphhopper Matrix API be used offline? (Embedded mode)

I'd like to use the Graphhopper Matrix API offline similar how I can use the Graphopper Directions API offline. Is this possible? Or is the Matrix API only accessible through HTTP request? Thanks
0
votes
0 answers

Modify or create different ployline for graph-hopper

Good day i am rather new to osm navigation. I like the graphhopper library however i wish to modify the route as the user traverses with a winking indicator in real time. How can be approach.
Remario
  • 3,813
  • 2
  • 18
  • 25
0
votes
1 answer

Graphhopper not working in release apk.

I have developed an android application using the graphhopper routing library. The library works fine in debug mode or in app-debug.apk but when I create a release apk of the app the library wont work. It is giving me…
0
votes
1 answer

Graphhopper: ClassCastException when calculating path with CH Astar/Dikstra Bi

Using only WGS84 coordinates I can write the graph and index to disk. In another java project I read graph and index from disk. This also works fine with the following code. FlagEncoder encoder = new CarFlagEncoder(); EncodingManager em = new…
Andreas
  • 127
  • 1
  • 1
  • 8
0
votes
1 answer

Graphhopper Dijkstra One-To-Many Memory Error

No matter the size of the graph and the server I use, any time I attempt to route by the dijkstra_one_to_many algorithm, I overflow my heap. Test environment is a m3.2xlarge with 30gb of RAM and 2x80gb SSD drives. java.lang.OutOfMemoryError: Java…
Chadderall
  • 89
  • 9