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.

Show posts Menu

Messages - develar

0.9 still has issues with "problem with service".

I planned route using "plan route". Saved track, and then navigate.

But when I cut down the route, navigation stopped work (no new voice navigation). I invoke "recalculate", and got "problem with service on orange toast." (several times, no luck to make it working).

The only solution was to change navigation provider to graphhopper online :(
@john_percy Looks like notifications about new messages are not delivered to me :) Better to file issue on GitHub

> for fast cycle and racing cycle but not for the others. I get T: problem with service on orange toast.

Yes, I confirm that. For the same route `bike` works, but doesn't work for `hike`.
I fixed it (at least, works for me now), please see
Other features / Re: Mapsforge 0.5
January 03, 2019, 11:46:51
Locus is the only game in town. For simple navigation maybe another apps are suitable, but if you hike with small children, or hike so actively that need to manage your tracks and display on the map, Locus is the only choice for now (I have tried a lot of apps, and bought Android smartphone specially for navigation because Locus not available for iOS).

But problem is that default theme is not so good as Elevate from @Tobias. I have tried to file issues (, but Elevate has not only minor advantages, but a major advantages also (e.g. compare presentation of cable car near Mittenwald (Germany) — Locus theme doesn't render cable car name opposite to Elevate, so, I have to guess what is this).

So, even if I buy LoMaps (to financially support Locus development), I don't use it. Because as far I understand (and I as far I experienced) for Elevate themes better to use openandromaps.

And now Tobias announced that "OpenAndroMaps will switch to Multilanguage "V4" Maps mid of 2019.". And stated that "The ony real disadvantage over V3 maps, as I know, is that Locus does not support automatic map switching with V4 maps." (because Locus will use not optimised mapsforge engine to render V4 maps). But from this topic I see that maybe will number of other issues. Or it is fixed now?

Could you please shed light on current situation? Tobias answer was a little bit pessimistic — Does it mean that you (Locus team) gave up to first class support of Elevate theme? Autoloading not important for me, I worry about battery consumption and potential rendering issues.
You cannot use turn costs for now. I didn't yet publish PR to Locus add-on.
About memory on mobile — Locus add-on correctly set MMAP instead of RAM_STORE. It works very fast because provided graphs by are sorted. Yes, there is penalty, but insignificant — you can build europe wide route (900 km) in _several seconds_. The only downside of large regions — disk space (e.g. de-at-ch takes 5GB). But SD cards are cheap nowadays :)
@Bucky Kid

> however anyway I brush up against problem of memory limitation so wasn't able to generate combined routing data even only for 3 countries, so seamless routing will only be possible by adding support for automatic region selection in graphopper app.

`export JAVA_OPTS="-Xmx15g -Xms10g -XX:+UseG1GC"`

where `15g` it is `available RAM - 1GB` (1GB for system). Change `-Xms10g`  if you don't have 10GB.

and if your machine doesn't have enough memory (estimate: num of encoders * size of input map), use MMAP instead of RAM_STORE.

Or you can stop wasting your time and file issue to ;)
@Bucky Kid Please see

Issue is opened. I don't test it (I use macOS).

> I am unable to compile from sources.

Process is not easy. That's why I created and any user can request any region to be added to avoid low-level things.
> 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

In general, you need to draw wanted region using, download europe.pbf from some public  source (,  and then

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

where extracts.json something like

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 and I will add wanted region to provided list (main problem not first import, but keep it up to date).
It is Locus bug, I have filed

As workaround, please download and extract manually (btw, it will be cool if Locus can download in parallel, as 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
@john_percy Car routing with turn restrictions is not possible at the moment —

Without discussion with GraphHopper developers I don't want to publish car routing using CH because I think that turn restrictions ( 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).
@john_percy I will add CH data to support car mode, it seems as separate graph routing data because of
> while the offline version provides four, with no car mode

@ john_percy  Please see "Which vehicles are supported?"

> 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).
I published locus action files to simplify routing data installing and updating — As for openandromaps, now you can simply click "Locus" link to install or update.
Thanks a lot for add-on.

My PR 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)

(` 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) —

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.