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

How to do a gps map-matching with graphhopper for a bicycle-track

I need to match gps-tracks recorded by bicycle to openstreetmap. For this I use the map-matching extension for graphhopper. The routing default is for car, however there is a parameter vehicle= I tried ./map-matching.sh action=import…
telemachos
  • 151
  • 1
  • 13
1
vote
1 answer

Turn restrictions not working in GraphHopper

With GraphHopper 0.4.0, I cannot enable car + bike2 + foot with turnCosts=true I systematically get an error, I can only use 2 modes. But with GraphHopper 0.4.1 and 0.5 graphhopper-web-0.5-20150422.180133-28-bin it’s even worth, the turn…
M-Rick
  • 141
  • 3
1
vote
1 answer

Generate API key on self-hosted instance

I would like to know if it is possible to generate Web API keys to make requests on my GraphHopper instance? Is there an existing protocol for generation?
Notiggsam
  • 111
  • 1
  • 13
1
vote
1 answer

In Graphhopper, how can I retrieve the set of edges contained in a route?

I am currently using GraphHopper within an application that detects whether a customer's route goes past a specific point of interest (PoI). One PoI has one or more roads through which a customer can pass it (predefined for each PoI). The fastest…
1
vote
1 answer

How map osm way in graphhopper?

I need to store an edgeId-osmWayId Map during import from OSM file, to use it during routing. Is it possible? Any suggestion?
1
vote
1 answer

Using actual road speeds with Graphhopper

I'm looking into creating an Android routing app that locally saves the actual speeds of driven roads and uses those for weighting. To do that, my idea would be to save those speeds in a separate database with the edge ids as keys. I'd then have to…
zottel
  • 13
  • 2
1
vote
1 answer

How to add a GeoJSON layer in GraphHopper?

I have a GeoJSON file containing POIs that I'd like to be able to display within a separate GraphHopper layer. After several tries and search over internet, I just can't manage to get a way to do it. This is a sample of the GeoJSON file (I checked…
M-Rick
  • 141
  • 3
1
vote
1 answer

Voice guided navigation on Graphopper

I have been looking at how to implement voice guided navigation on android using OSM data, but there seems to be not enough documentation online.Does any one know what it might take to add voice guided navigation to graphhopper routing on android?…
DonKariro
  • 71
  • 7
1
vote
1 answer

Find the right instruction after GPS fix lost using Graphhopper

I would like to create an app that shows the instructions to the user while traveling. The problem is that when you receive no positions for a while then probably the user went trough 2-3 instructions. After it when a new position arrives I would…
Blehi
  • 1,990
  • 1
  • 18
  • 20
1
vote
1 answer

Select objects in offline .map in android in mapsforge

I have developed an android application that uses the mapsforge library to display the offline map and the offline map is in .map of osm map of my area. Now I need to get all the hospitals location in my map so that I can calculate the route to the…
Su_race
  • 47
  • 1
  • 10
1
vote
0 answers

creating a modified graphhopper instance with updated edge weights

How can I create multiple graphs each with their own set of edge weights? For example, NY area with edge weights at 12AM, 6AM, 12PM, etc. How can I update a graph with changes and save my changes to be loaded later. Is this possible? Or is there…
shiran
  • 11
  • 2
1
vote
1 answer

Using OSM node/way id in Graphhopper

I want to use Graphhopper for routing, by marking start and stop points using their OSM id instead of lat,lon coordinates. Is this possible? Is it also possible to get an edge using its OSM id? Thanks
DonKariro
  • 71
  • 7
1
vote
0 answers

OpenStreetMap - Alternate routes for given source and destination

I want to get multiple or alternate routes for a given source and destination from OpenStreetMap like Google Direction API Currently I am using GraphHopper API for the routing service built on top of OSM. I am getting one route for a given source…
Riz
  • 368
  • 4
  • 18
1
vote
1 answer

GraphHopper inconsistent routes

We get one route when running GraphHopper with Contraction Hierarchies enabled and a different route when we disable Contraction Hierarchies. Why is that happening? A running example can be downloaded…
regispires
  • 73
  • 1
  • 5
1
vote
3 answers

Graphhopper 0.3 in Android studio not compiling: Dex Exception

I am exploring the possibility of using mapsfoge/graphhopper in an android application, but am not able to get the test to compile with graphhopper. Based on research, I believe the problem is with dependencies within graphhopper and mapsforge. Here…
SjB
  • 213
  • 4
  • 16