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

Can I implement offline navigation in osmdroid?

I'm developing an app that uses offline maps. Now I need to implement offline navigation in the app. Can I implement offline navigation? UPD: I tried grapphopper, but it doesn't work offline. GeoPoint startPoint = new…
TikTak
  • 713
  • 1
  • 11
  • 23
1
vote
1 answer

How do I convert an API response to a Polygon object in R? Graphhopper API in R - Isochrones

I am new to API's and R, and I was wondering how to use this GraphHopper API.(https://graphhopper.com/api/1/docs/isochrone/https://graphhopper.com/api/1/docs/isochrone/) At the page above there is this: curl…
Claudio Paladini
  • 1,000
  • 1
  • 10
  • 20
1
vote
1 answer

Using GraphHopper in a building - Indoor Navigation

I'm trying to use GraphHopper core to create a indoor navigation app. I already create a .osm file of the building(with 2 floors) containing all the possible routes inside the building. The problem that I'm facing now is that there is no way to…
nuno407
  • 13
  • 5
1
vote
0 answers

How to set priority on routes using Graphhopper

I am currently using graphhopper to build a navigation system for a park. Within the park, there are two types of routes and when the weather is bad, one type of route should be set with higher priority during navigation. How could I approach to…
pushian
  • 11
  • 2
1
vote
0 answers

Getting the optimize flag to work on a local GraphHopper Routing Service

I have setup a local GraphHopper service on a local server and it works as advertised. I can pass it a set of points via rest, and get back a happy little JSON file of directions and an encoded route. Of course, "out of the box" the routing API is…
theDom
  • 339
  • 1
  • 4
  • 7
1
vote
0 answers

NoClassDefFoundError mapsforge - Android studio?

I am using from mapforgs but when I run app get me bellow error : java.lang.NoClassDefFoundError: org.mapsforge.map.android.view.MapView at com.example.asheq.locationappandroid_1.MapOfflineActivity.onCreate(MapOfflineActivity.java:69) at…
user4813855
1
vote
1 answer

How to keep gradle dependencies intent specific

I am building a gps application wherein I am using Graphhopper and oscim to display a map offline.(the graphhopper demo app) Now I want to add a Mapbox map for online use as well. The problem is that when I add the dependency, the offline map gets…
1
vote
2 answers

Android studio. Duplicate entry: org/slf4j/helpers/BasicMarker.class

After I had added Graphhoper into my project - I faced with a problem. I'm new in Android, please help me. As I understand, I've to exclude this class from compiled code? But how? Who can show me. Error:Execution failed for task…
some one here
  • 103
  • 1
  • 8
1
vote
1 answer

How to create&sample routes using OSM

I wish to use OSM (or an open, OSM based service) in order to "create" routes between aleatory points and then sample those routes an unlimited amount of time. Sample as in get lan+lat and various other info if available (e.g. elevation, points of…
George
  • 3,521
  • 4
  • 30
  • 75
1
vote
2 answers

Graphhopper disable instructions

I'm using Leaflet Routing Machine libraries for routes in my project and a Graphhopper server. When inspecting network in my browser the library always gets a response from the graphhopper server with a parameter "instructions" as true but i don't…
Hassan ALAMI
  • 318
  • 1
  • 5
  • 18
1
vote
1 answer

How to make an AJAX call to GraphHopper Route Optimization API?

I'm trying to use GraphHopper Route Optimization API for solving VRP with pickups and deliveries. I want to test it with an example from https://graphhopper.com/dashboard/#/editor. My request goes like this: var vrp = { "vehicles": [ …
Maxim Fedorov
  • 55
  • 1
  • 8
1
vote
1 answer

Graphhopper: Cannot create location index when graph has invalid bounds

I am using graphhopper 0.8 via maven in my java project. I create a network with the folling code FlagEncoder encoder = new CarFlagEncoder(); EncodingManager em = new EncodingManager(encoder); // Creating and saving the graph GraphBuilder gb = new…
Andreas
  • 127
  • 1
  • 1
  • 8
1
vote
1 answer

Graphhopper. Can I load only part of graph files to avoid OutOfMemory error?

I've been testing graphhopper on Android for some weeks on different devices. Today I got an OutOfMemory error during GraphHopper load(...) function executing. This happens on Xiaomi Mi4 phone. Graph is exported for car, bike and foot with fastest…
Derek K
  • 2,756
  • 1
  • 21
  • 37
1
vote
1 answer

Graphhopper Alternative Routes Android

Is there a way to get more alternative routes in Graphhopper androd, I seem to be getting 2/3 routes at most in a calculation.I have a map containing information about CCTV camera locations, and I am trying to find the route that has maximum number…
user2070333
  • 335
  • 2
  • 11
1
vote
1 answer

public transport routing with OSM

is it possible "public transport routing" with OSM? Using osmDroid, Graphhopper or other Libs. I build a navigation app and i wanna navigat with car, bike, foot and public transport.
optimum
  • 13
  • 4