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

GraphHopper: loading multiple OSM files to self-hosted server

I have set up a local server of GraphHopper for Navigation/Routing on a virtual machine running Ubuntu 15.10 as the Guest OS. To initialise the server, one needs to specify the following command (in a terminal): java -jar…
bilo-io
  • 597
  • 3
  • 17
7
votes
3 answers

Self hosting GraphHopper Directions API

We are looking for an offline routing and reverse geocoding service. GraphHopper advertises that its Directions API can be self-hosted: GraphHopper Directions API Self-Hosting / On-Premises The Directions API comes as a cloud service where you pay…
Dave New
  • 38,496
  • 59
  • 215
  • 394
6
votes
1 answer

Graphhopper API vs Graphhopper app

I'm using Graphhopper core library to compute distance and best path between 2 points, i read about Graphhopper Routing API and as explained here, API has a pricing scheme , so my question is what actually will the add-on that's provided by API…
Eslam Hamdy
  • 7,126
  • 27
  • 105
  • 165
6
votes
2 answers

Gradle: How to use specific version of snapshot?

I'm using SNAPSHOT version of graphhopper library. Is there posibility to use older version of snapshot? I tried: compile(group: 'com.graphhopper', name: 'graphhopper', version: '0.6-20151126.110118-54') { exclude group:…
Derek K
  • 2,756
  • 1
  • 21
  • 37
6
votes
1 answer

GraphHopper vehicle=car works but foot or bike don't work

I have an issue with the GraphHopper routing engine stable version 0.5 I can get directions when using the vehicle=car, but this fails with bike and foot. Here is an example of a roughly 3-minute walk on GraphHopper Maps: This yields a result on…
bilo-io
  • 597
  • 3
  • 17
5
votes
0 answers

Allow vehicle through private road OSM GraphHopper

I am trying to modify CarFlagEncoder.java so that GraphHopper will use two pieces of road which it does not by default: http://www.openstreetmap.org/way/181263007 http://www.openstreetmap.org/way/37720333 Am I right in saying that to allow access to…
user3605739
  • 495
  • 3
  • 6
  • 17
5
votes
1 answer

Graphhopper cannot find the point

I have installed Graphhopper in Ubuntu Server using the $ git clone command and using the asian map available here. I started my server using the following command: $ ./graphhopper.sh web asia_india.pbf I then get an error while sending the…
DJM
  • 594
  • 1
  • 5
  • 18
4
votes
2 answers

Offline routing ... where to start as a beginner

Hello everybody I am currently an intern at a company which does business applications. First my task was to implement an GiS component who queried google directions api (this was straight forward). Now I have implement an offline routing GiS…
David Lehnherr
  • 225
  • 1
  • 10
4
votes
1 answer

Is there a method to get ID of a way an edge belongs to?

Is it possible? I need to jump to a way from any edge. Way ID seems very convenient mechanism considering it's already generated in OSM. However I can't find anything yet. If you wonder why I need this, it's simple - a way can be used as a container…
Schultz9999
  • 8,717
  • 8
  • 48
  • 87
4
votes
1 answer

Graphhopper on Android offline routing pbf file error

I'm trying to create an application that combines Osmdroid with Graphhoper to achieve offline routing on a city area. I exported osm file from Open Street Maps and converted that file to pbf. The problem is that an application fails to load the pbf…
jere_hr
  • 284
  • 3
  • 11
4
votes
2 answers

Graphhopper, osmdroid for osmdroid offline routing

I have been messing around for a while with osmdroid and osm bonus pack(amazing libs!), and have been pondering on the idea of offline routing and turn by turn navigation, now, I haven't tried anything yet, but something sounds very promising in…
maxandonuts
  • 595
  • 7
  • 19
4
votes
1 answer

How to Quickstart graphhopper with my own graph - The Basics

After two hard days getting through the unit tests and snippets of graphhopper on GitHub and the JavaDocs, thinking that I might be able to put all together in a very basic java app, I have to come to the conclusion, that I am not able :( All I want…
Jürgen Zornig
  • 1,174
  • 20
  • 48
4
votes
1 answer

Trick to use largeHeap on older Androids < 3?

When I tried to allocate more than approx. 30MB on Android 2.3 (an Samsung Galaxy 1) for my graphhopper project I run into OutOfMemory errors. But I recognized that for applications like Firefox and skobbler on the same device it is somehow possible…
Karussell
  • 17,085
  • 16
  • 97
  • 197
3
votes
0 answers

Eliminating erroneous GPS points and snap route to road with realtime data

I'm in the process of creating a offline GPS navigation application using Graphhopper-offline, OpenStreetMap data and GPS coordinates read every second from a android device. So far I have managed to read in the GPS coordinates, get route…
Isuru Pathirana
  • 1,060
  • 1
  • 16
  • 37
3
votes
1 answer

GraphHopper .jar only log Errors, Bad Requests, etc

I'm using GrpahHopper's self hosted routing server v0.5, running on Ubuntu 15.10. The solution is run via a terminal with a jar file and arbitrary OSM data. Is there a way to control the logged output of the server (e.g. to only show exceptions, bad…
bilo-io
  • 597
  • 3
  • 17
1
2 3
14 15