This object is in archive! 

GraphHopper plugin update

Tigus shared this question 8 years ago
Answered

Hi good day.

I am a GraphHopper user. While I know that it has been done and a great effort is being made to integrate BRouter as an off-line route engine, I think that GraphHopper is still a very good option.

In October a new version was released, 0.8. My question is if you are upgrading the GraphHopper plugin? If you are going to continue maintenance?

Question aside, but related to the topic. Have you done a comparative analysis of GraphHopper vs Brouter, beyond knowing that BRouter allows you to customize the profiles? Example, route calculation time, resources consumed, updating of base data for the calculation, etc.

Greetings.

Replies (15)

photo
1

Hello, I wanted to ask if there is any news?

Thank you.

photo
1

Good day Tigus,

I'm aware of this topic and have it marked as "todo", but because of quite well working integration of BRouter routing engine, GraphHopper currently have little priority for us.

photo
1

Hello Menion, first of all thanks for replying.

It is good to know that updating the GraphHopper plugin is in the to do list.

Personally I use GraphHopper for the simple to install and do not require configuration. In addition it allows to generate the data to use basic as routing, so it can be kept up to date (just download a map portion in pbf).

The current locus plugin works great.

I do not know at the level of resource consumption and precision which one is more efficient ...

Have you done any comparative between both alternatives (BRouter / GraphHopper)?

On the page that allows you to use BRouter you can select alternate results / routes, that's a good point. From Locus can you use that feature?

photo
1

Hello Tigus,

sorry for a late reply.


I also never tested quality of both engines, sorry. I remember I used GraphHopper on my last vacation last-last summer (1,5 years back) and I was not too happy with result for a bike, anyway since then, situation changed a lot.


Alternative routes from BRouter are not currently supported in Locus Map.

photo
1

Hello Menion, thank you for replying.

I will wait for progress in the integration of the new version of the GH.

Greetings.

photo
1

Hi good day.

Just to keep the question alive :). Anything new with updating the GraphHopper plugin? Not long ago, version 0.9 was released. Are there plans to try to integrate the new version?

I posted the same question in the forum, but there is not much movement in that thread, apologies for the double post.

Greetings.

photo
1

Good day Tigus,

as I see, API for access web services ( https://mvnrepository.com/artifact/com.graphhopper/graphhopper-web ) is already in mentioned version 0.9 , but API that is needed for add-on is still in older version 0.7 ( https://mvnrepository.com/artifact/com.graphhopper/graphhopper ).


Because we have some problems with MapQuest ( old data + inadequate price ), I'll try to implement online GraphHopper routing during next weeks. If results will be useful, I may try to contact developer about option to update it's offline solution as well.

photo
1

Hi Menion, what good news! It is a very good first step to try the online version. Hopefully you can contact the developer to update the offline version (plugin).

I regularly use the file generator that is needed for offline use that you have published. This allows me to have updated the necessary data for the routing based on pbf files that I download from bbbike.org.

Thank you!

Greetings.

photo
1

Hello guys,


News:


- Online GraphHopper implemented in latest Beta version, suggest to try, works perfectly!!

- Offline GraphHopper updated to latest GH version 0.9.0 & generated new data: https://nas.asamm.com/share.cgi?ssid=0GmHJnN

photo
1

Very good news Minion! I'm glad you had good results.

I'll try it, thank you very much.

Greetings.

photo
1

Hello Menion.

I wanted to do a couple of queries:

1. Why are there two versions of the plugin available? I installed the last one and it worked very well, but with the data for the calculation of the route that are also in the link.

2. It is possible to put in the link the script that generates the data that is used for the calculation of the route. I tried the last version of the plugin with the data generated with a previous script that you had published and it gives error. So I tried with the data that you have published (argentina.osm.gh) and it worked.

This to ask if you can publish the script is because living near the border of two countries generated the data with both together so that it can trace a route from one to another. It also serves to keep the data up to date.

Thank you very much.

Greetings.

photo
1

Hello Menion, I found everything I needed in the forum http://forum.locusmap.eu/index.php?topic=4036.0.

Thank you!

photo
1

Ah perfect :).

photo
1

Hello Menion, I wanted to check if you saw that there is a difference between generating a route with the profile "foot" to do with the "hike" profile. The plugin only allows you to choose one, which apparently by drawing the icon is hike, but seeing the config.properties file is generated for foot.

I tried changing it in the file and generate for both, foot and hike, but the plugin only lets you choose one of them.

graph.flag_encoders = car | turn_costs = true, bike, foot, hike

Is it possible to add both? Do you think it useful?

At least testing at https://graphhopper.com/maps/ there is difference between the route drawn for one and another profile (foot vs hike).

Greetings.

photo
1

Good day Tigus,

good observation, I'll look at it.

Menion


EDIT: 0.4.2 published

photo
1

Hello Menion, it worked very well adding the new profile.

Just by way of comment, why the name "fast"? I think the name "fast" for the profile may confuse and does not reflect what the profile is actually ... can you switch to "hike"? This would be the same as how the profile is known in graphhopper.

Thank you.

photo
1

May you post me a screenshot? Because "hike" profile should be really named as "hike" in Locus Map as well. "Fast" is used only for "car fast" and "cycle fast" possibilities.

photo
1

I pass the screenshots.

photo
1

Ah oki, old version, not latest Beta. This was already changed to "hike".

photo
1

Well, I'll wait for the next version :).

Thank you.

Greetings.

photo
1

Can anyone who uses the Graphhopper routing-engine comment on the following observation:

If a road or trail crosses a stream via a ford (walk through the water, no bridge, no culvert), Graphhopper refuses to route through it.

In OpenStreetMap, the node where the trail and stream cross is tagged with "ford=yes". BRouter has no problem routing through the ford but Graphhopper refuses.

The only way to make Graphhopper route through the ford is to add "foot=yes" to the node (assuming it is a foot-trail). However, this is not an OSM standard for a ford and is uniquely required by Graphhopper.

http://wiki.openstreetmap.org/wiki/Key:ford

Do the Graphhopper developers expect OSM editors to modify the tens of thousands of fords in OSM so their routing engine will work correctly?

photo
1

Good day Taras,


no matter what problem with GraphHopper routing results is, I believe that best how to improve it is:

  1. confirm behavior on GraphHopper online map: https://graphhopper.com/maps/
  2. report issue on GraphHopper dev forum: https://discuss.graphhopper.com/

Thank you for understanding.

photo
1

Yes, you're right! Sorry, I was a bit frustrated. :(

According to the link you provided (thank you!) they made an improvement this year in May. Now if you indicate the activity is "hiking", Graphhopper will route through all fords.

Here's an example of a hiking route running through two fords. Notice the "vehicle=hike" option.

https://graphhopper.com/maps/?point=Marcy%20Dam%2C%20United%20States%20of%20America&point=Mount%20Marcy%2C%20United%20States%20of%20America&locale=en-us&vehicle=hike&weighting=fastest&elevation=true&use_miles=false&layer=Omniscale

photo
1

Heh, very nice example ... mainly compare hike vs walk.


Hmm so after all these tests, most logical selection of routing types is:

  • car with turn instructions
  • bike2 (which consider elevation)
  • hike

photo
1

I just wanted to try this and got the GraphHopper plugin installed and recognized from Locus. But how would I do navigation without downloading offline maps, e.g. navigating via the GraphHopper Directions API and using thunderforest tiles - or is this not yet possible or only possible with a different plugin and this plugin is just about offline routing?

At the moment it says: 'no valid routing item selected' when I try to navigate.

photo
1

Good day Peter,

this plugin is really just about offline routing, it do nothing more.


In Locus Map, choose whatever map you wants to use, it does not matter.

In GraphHopper add-on, you need to select required data used for routing. All needed is wrote here in first post: http://forum.locusmap.eu/index.php?topic=4036.msg30647#msg30647


Did you expected something "more" from this add-on? Feel free to ask if something won't be clear!

Replies have been locked on this page!