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
2 answers

Where can i find jar files for graphhopper?

I am new in working with Graphhopper. I want to integrate Graphhopper in my Android project but i cannot find any jar files which are to be included as library in my project. I use eclipse for my android development. Where can i find jar files for…
Udit Shah
  • 241
  • 2
  • 14
0
votes
1 answer

Graphhopper - Loading routing information from a mounted obb file system error

I'm trying to load the routing information from an obb file. I mounted the obb file correctly. I'm using the following code to load: GraphHopper tmpHoppFOOT = new GraphHopper().forMobile(); tmpHoppFOOT.setCHShortcuts("fastest");…
0
votes
1 answer

points decodePath function, having geometry directly

in graphhopper the points are encoded then decoded in javascript but i'd like to have the points not encoded, how is it possible ? is there a php alternative of the decodePath(encoded, is3D) function ? thanks
freaks
  • 9
  • 4
0
votes
0 answers

Graphhopper access restriction

Graphhopper obeys access restrictions like gates with attribute "access = no" (OSM). But additional attributes like "bicycle = yes" are ignored. Question: is it possible to tell Graphhopper to pass a gate when bikes are allowed and routing is…
Gantter
  • 13
  • 4
0
votes
1 answer

graphhopper GHRequest not fetching

I have a problem with this code: GraphHopperAPI gh = new GraphHopperWeb(); gh.load("http://localhost:8989/api/route"); GHResponse ph = gh.route(new GHRequest(45.104546,7.69043,45.104546,7.69043)); It gives me this…
A_Borgs
  • 11
  • 1
0
votes
0 answers

Getting started with graphhopper

I'm getting start with a graphhopper sw, i've installed the maps but now i'm developing the sw in java code. GraphHopperAPI gh = new GraphHopperWeb(); gh.load("Address-of-maps"); And it required graphhopper classes but, where i can find these…
A_Borgs
  • 11
  • 1
0
votes
1 answer

Graphhopper: edit motorway speed online

I'm trying to edit the motorway speed to the user's preferences and return a route as a result of this change. I would have an input field labeled 'motorway' on the webpage's form and when submitting, this value would change the speed of all the…
Highfield
  • 15
  • 1
  • 5
0
votes
2 answers

create GraphHopper API for Desktop

I would like to use GraphHopper to create my own API for routing. I have taken a look into the GraphHopper.java to create my own class. I put a OSM file into the API I get a directory with edges, nodes etc. This seems to work well. My question is,…
flashpixx
  • 11
  • 3
0
votes
1 answer

Where are the logs of jetty server?

I installed graphhopper. According to https://github.com/graphhopper/graphhopper/issues/118 I should look into jetty's server logs. Where are the logs of jetty server? Is there an exception or stacktrace in them? Do I need to enable them or are they…
Gewinn
  • 135
  • 1
  • 11
0
votes
3 answers

Bash script expecting then, when else is needed

I am trying to run a shell script called graphhopper.sh in Ubuntu 12.04 which was given by a website. When I run it, terminal produces : not found.sh: 2: graphhopper.sh: graphhopper.sh: 39: graphhopper.sh: Syntax error: "else" unexpected (expecting…
MWH
  • 399
  • 1
  • 5
  • 19
0
votes
2 answers

Can't create handler inside thread that has not called Looper.prepare() Graphhopper

I ran into following error. logUser("An error happend while creating graph:"+ getErrorMessage()); Where getErrorMessage() is Can't create handler inside thread that has not called Looper.prepare() and logUser is a function which just show toast…
Khayam Gondal
  • 2,366
  • 2
  • 28
  • 40
-1
votes
2 answers

How do I apply the Graphhopper library for coordinates with given latitude/longitude?

I want to calculate the shortest route from one to many places with coordinates (latitude, longitude). The question is now how to apply the Graphhopper library for coordinates with given latitude/longitude. For example with the coordinates of some…
beub
  • 43
  • 11
-2
votes
1 answer

"Error: Unable to access jarfile *.jar" - what's the remedy?

the error was in response to command: C:\Users\User1>java -Ddw.graphhopper.datareader.file=berlin-latest.osm.pbf -jar *.jar server config-example.yml the previous command: wget…
AlonTAU
  • 1
  • 2
1 2 3
14
15