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

graphhoper maps for offline routing

I'm trying to create an application with graphhoper for offline routing . This Application can download map of some countries for example Now I have a directory with the extension "-gh", inside there are files: "edges", "nodes", "geometry" and a…
Mary
  • 41
  • 8
0
votes
2 answers

Mapsforge on Android Studio

I been Working for an offline map for almost 3days. Then someone recommended me Mapsforge. What i've done so far is i downloaded my MAP here http://download.mapsforge.org/maps/asia/. After that i put it in my Device storage and run this code in my…
Charles Galvez
  • 1,100
  • 5
  • 19
  • 41
0
votes
2 answers

How to disable Graphhopper API key checking

I have downloaded GraphHopper and needed area of OSM map. After starting graphhopper I go to http://localhost:8989 and see "API key not valid for this application (Referrer URL)". How I can disable API key check on self-hosted GraphHopper?
alexBl
  • 33
  • 1
  • 5
0
votes
1 answer

Graphhopper demo project doesn't work on Android Studio

I tried to work on Graphhopper demo project on Android Studio, which i found here: https://github.com/graphhopper/graphhopper/tree/master/android After the Gradle building i got this error: Error:Failed to resolve:…
petebp
  • 33
  • 1
  • 5
0
votes
1 answer

Adding Maven dependencies back into GraphHopper's Classpath causes a working Tomcat server to fail

I must preface my question with the fact that I am a complete novice when it comes to Java. I have been trying to host graphhopper on a local tomcat server and I get right to the end of the online guide here before my progress falls apart. Prior to…
roganjosh
  • 12,594
  • 4
  • 29
  • 46
0
votes
1 answer

GraphHopper cannot find route

GraphHopper couldn't find route between two two points below: double latFrom = -19.637121; double lonFrom = 134.192328; double latTo = -37.7988237; double lonTo = 144.9593481; I tried this using online graphhopper demo, but it also didn't…
Nurlan
  • 2,860
  • 19
  • 47
  • 64
0
votes
1 answer

Allow POST method

I need to change the request method that is sent to GraphHopper to a POST method. Indeed I send so many points that the GET one crashes. POST requests do not seem to be allowed since I get a 405 error from the server. How can I allow to send POST…
user3890394
  • 99
  • 1
  • 7
0
votes
1 answer

Block nodes/edges in graphhopper routing - wrong edges are getting blocked

I'm trying to block edges in my graphhopper routing, following the example described in the docs (https://github.com/graphhopper/graphhopper/blob/master/docs/core/weighting.md). I try to find the edges which have to get blocked with…
0
votes
1 answer

Graph topology (OSM data)

I'm making some deep tests of Graphhopper and I wonder what the created graph (from osm data) topology looks like ? Especially, I wonder if it looks like this : First possible topology or this : Second possible topology In other words, are nodes…
user3890394
  • 99
  • 1
  • 7
0
votes
0 answers

Cross-Origin Request Blocked graphhopper routing service

I got this error when I tried to call graphhopper routing service from my html page with jQuery ajax. It work when I run html page in browser but not work when I hosted the page on web server. $.ajax({ timeout: 5000, url:…
0
votes
1 answer

GraphHopper does not obey bicycle=no

I have installed a local copy of GraphHopper yesterday, but its result is not consistent with the demo server, specifically it routes through sections marked with bicycle=no: My server…
Michael Tsang
  • 678
  • 5
  • 16
0
votes
1 answer

GraphHopper finding point in route

Given a route between point A and B, starting at time T0, being travelled at constant velocity. Something like the image below: Does anybody knows if GraphHopper (or something similar) can say exactly (lat, lon) where in between these two points…
Uilian
  • 656
  • 8
  • 19
0
votes
1 answer

Graphhopper exclude some roads

I need to exclude some roads from routing. I solve this problem implementing it with EdgefFilter Or Is it better to use Weeighting interface? Thanks Antonio
0
votes
1 answer

Graphhopper can't route using dynamic edge weights?

We are thinking to make some special edges not to use in the routing temporarily. I found a question very similar to our question: Does GraphHopper support dynamic edge weights? So I not use the CH algorithm, change their distance to huge value…
0
votes
1 answer

How to see GHResponse on map by using GraphHopperWeb

I am trying to use GraphHopperWeb in order to see route response on the web. I am probably does not know how to use it, but i don't get what is wrong. I am using the following code (in java) in order to find some path from one point to other point…
Emma
  • 1