Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - develar

Pages: [1]
1
> generate single custom .pbf file based on own region in order to seamlessly cross the borders?

You can specify required for you countries and I will add specified region to https://graphhopper.develar.org

In general, you need to draw wanted region using http://geojson.io, download europe.pbf from some public  source (http://download.geofabrik.de/index.html),  and then

```
osmium extract --overwrite --config=extracts.json --strategy=smart europe-latest.osm.pbf
```

where extracts.json something like https://github.com/develar/gh-routing-data/blob/master/configs/extracts.json

and then build graph for result pbf file.

Since Locus is so awesome, I think it is not good that users need to do such low-level tasks to enjoy offline navigation, that's why I suggest you to file issue to https://github.com/develar/gh-routing-data/issues and I will add wanted region to provided list (main problem not first import, but keep it up to date).

2
It is Locus bug, I have filed http://help.locusmap.eu/topic/locus-action-extract-doesnt-support-large-files

As workaround, please download and extract manually (btw, it will be cool if Locus can download in parallel, as https://play.google.com/store/apps/details?id=com.dv.adm&hl=en does).

Routing data only for Baern/Austria/CZ is available to avoid the whole Germany.

PS. To avoid polluting this topic, I suggest report bugs about routing data to https://github.com/develar/gh-routing-data/issues

3
@john_percy Car routing with turn restrictions is not possible at the moment — https://github.com/graphhopper/graphhopper/issues/1401

Without discussion with GraphHopper developers I don't want to publish car routing using CH because I think that turn restrictions (https://github.com/graphhopper/graphhopper/blob/master/docs/core/turn-restrictions.md) is very important. If will be confirmed that landmarks algo is very slow and it is not possible to speed up on mobile, CH will be published with a warning that  turn restrictions not supported (well, you have to always follow actual road signs, but people are people).

4
@john_percy I will add CH data to support car mode, it seems as separate graph routing data because of https://github.com/graphhopper/graphhopper/issues/1398

5
> while the offline version provides four, with no car mode

@ john_percy  Please see "Which vehicles are supported?"  https://graphhopper.develar.org/#maps

> Is this intentional?

Mode list depends on supported vehicles in a routing graph. I decided to not support car (for car probably better to use another app) and foot (hike is enough) to reduce size of graph. If you need "car", I can add it (or as separate files or include into graph if size will be acceptable).

6
I published locus action files to simplify routing data installing and updating — https://graphhopper.develar.org As for openandromaps, now you can simply click "Locus" link to install or update.

7
Thanks a lot for add-on.

My PR https://github.com/asamm/locus-addon-graphhopper/pull/1 to update GH to 0.11.0-pre1 is merged, thanks (updated to 0.10 because it is latest release).
 
GH vs Brouter:

1) better routes (at least for racing bike).
2) much, much faster. Instant result (of course, if contraction hierarchies (CH) were prepared for routing data).
3) GH is everywhere - Komoot uses GH, Locus uses online GH API. So, you get nearly the same route regardless of online status.

@menion Could you please add note to first topic about recommended (I would say even required) options to build routing data:

```
  graph.flag_encoders: bike2,racingbike,mtb,hike
  graph.bytes_for_flags: 8
  graph.elevation.provider: cgiar
```

(add `car|turn_costs=true` if need car routing)

(`prepare.ch.weightings: fastest` is set by default, should be not set to no)

I shared correct and up to date routing data for Germany+Austria+Switzerland (dach osm map) (keep in mind that GH doesn't support multiple files, so, if you need to cross borders, you have to use not country routing data, but some merged) — https://github.com/develar/gh-routing-data/blob/master/README.md#germany-austria-and-switzerland

Route calculation time is instant even for large distance with prepared CH. But size of routing data... (e.g. shortcuts_fastest_bike2 for DASH 929MB). Maybe a new “ landmark algorithm” is an option, but "Still the speed of contraction hierarchies is ~10 times faster on average". In any case SD card is cheap and modern phones have enough internal space in any case.

Pages: [1]