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
1
vote
1 answer

Graphhopper - java.lang.IllegalStateException: Call load or importOrLoad before routing

I have developed and API which uses Graphhopper, and deployed it on a test server. I tested it and it works correctlty. The problem is that when uploading the same project to another server, when I make an API request it crashes, showing this…
Ortzi
  • 363
  • 1
  • 6
  • 17
1
vote
1 answer

How does GraphHopper handle a point on a highway intersections?

I have 2750 city centers in Belgium. I need to know the distances between every 2 city centers. But that results in an matrix of 57MB, just to remember those distances (not even the routes), so that scales terribly. Instead, I am looking at using…
Geoffrey De Smet
  • 26,223
  • 11
  • 73
  • 120
1
vote
1 answer

Graphhopper understanding and snap to road

As I needed to implement "snap GPS location to road" function for an Android application I've modified Android example of https://github.com/graphhopper to suit my needs. It actually did what was expected, but now I'm quite confused about data…
Patman
  • 185
  • 1
  • 13
1
vote
1 answer

Indoor routing using Graphhopper

I am new to Graphhopper, I am building indoor routing. Currently everything worked fine in a floor. I was wondering how to use graphhopper to navigate/routing between floors? I know that Graphhopper support elevation, can I use it? Can someone give…
sharon
  • 135
  • 1
  • 7
1
vote
1 answer

GraphHopper: use shape file to create graph for routing

I am evaluating GraphHopper for calculate routes. From what I read, it is surely going to be my choice, specially because it has various algorithms and also web API. However, GraphHopper works with OSM format, and the data that I have is in a big…
1
vote
1 answer

Graphhopper on emulator - No maps in list

After installing graphhopper and maps (/sdcard/graphhopper/maps) into emulator, the dropdown list is empty. I have followed all the instructions as given inthe github-wiki. is there anything else that needs to be done? I tried even with the demo…
1
vote
1 answer

How to insert a Path in between an existing Path

I am working on an implementation to generate alternate Paths using via node method. While checking for local optimality I do the following forwardEdge = bestWeightMapFrom.get(viaNode); reverseEdge = bestWeightMapTo.get(viaNode); double…
Chaits
  • 438
  • 4
  • 8
1
vote
0 answers

Modifying Graph Hopper with traffic_signal tags

We want to use graph hopper to route by avoiding all traffic_signals. These are the steps we have done so far: Download the graphhopper-master branch (https://github.com/graphhopper/graphhopper/) Ran the shell script ($ ./graphhopper.sh web…
1
vote
1 answer

Shortest distance between point and path in OSM Magsforge (offline) map

In an App I load an OSM / Mapsforge offline map. How can I determine the shortest distance between a coordinate (waypoint) and the nearest path in that Mapsforge file? The info I got is the Mapsforge (offline) map. Sorry - to repost this - I now…
tm1701
  • 7,307
  • 17
  • 79
  • 168
1
vote
2 answers

Extract street as a polygon in Openstreetmap

I'm using Graphhopper as a routing service for my Android project and I want to know how can I extract street data (as a polygon) from *.osm.pbf format? Later I want to use that data so that I could detect if user is within boundaries of that…
IgnasK
  • 384
  • 2
  • 19
1
vote
1 answer

Cannot load more than one osm files at a time

Hi Can any one please provide me some way to read more than one OSM file at a time ? Actually I tried with this to read an osm file using Graph Hopper application API. GraphHopperAPI instance = new GraphHopper().setInMemory(true, true) …
1
vote
1 answer

Graphhopper Demo Apk Error

I'm a newbie with maps & routing. I'm running the demo apk on my device Huawei Ascend g610 and on a Sony Xperia ZL but in both of them the app shows a message saying: "To get downloadable areas restart when connected to the internet. Problem while…
1
vote
1 answer

How to Quickstart Graphhopper with my own multimodal graph

I would like to implement my own routing web service in play framework (due to the fact that it's java and it's a rapid prototyping framework). I also would like to use graphhopper as the routing engine. My Basic requirements are: The routing…
Jürgen Zornig
  • 1,174
  • 20
  • 48
0
votes
0 answers

Android Navigation SDK for custom maps

I am currently entering my final year of college and for my final presentation I want to build an android app for the local zoo in my hometown. In said app I would like to include a map of the area where the zoo is located and add to it the layout…
0
votes
0 answers

Return multiple routes using Graphhopper

I have a local instance of graphhopper running on the back-end using java spring boot. this is the code: package com.example.greenpathsbe.Services; import com.graphhopper.GraphHopper; import com.graphhopper.GraphHopperConfig; import…
SVG
  • 1
  • 1