This object is in archive! 

Locus Map Pro, problem with GraphHopper offline

Thierry Boington shared this problem 5 years ago
Solved

Hello.

Since the update in version 3.39.2 (Android) i can no longer use Locus Map Offline.

Thank you for your help

Replies (2)

photo
1

I get this error if it helps any:

2019-07-30 13:14:32.506 12354-12372/com.asamm.locus.addon.graphhopper D/RoutingService: calculating path for mtb
2019-07-30 13:14:32.519 12354-12372/com.asamm.locus.addon.graphhopper E/ComputeTrackService: computeTrack(locus.api.android.objects.ParcelableContainer@f8b3bc9)
java.lang.IllegalArgumentException: Heading -Infinity must be in range (0,360) or NaN
at com.graphhopper.GHRequest.validateAzimuthValue(GHRequest.java:182)
at com.graphhopper.GHRequest.addPoint(GHRequest.java:146)
at com.asamm.locus.addon.graphhopper.RoutingService.calcPath(RoutingService.java:368)
at com.asamm.locus.addon.graphhopper.RoutingService.computeTrack(RoutingService.java:248)
at locus.api.android.features.computeTrack.ComputeTrackService$1.computeTrack(ComputeTrackService.java:65)
at locus.api.android.features.computeTrack.IComputeTrackService$Stub.onTransact(IComputeTrackService.java:85)
at android.os.Binder.execTransact(Binder.java:697)

photo
1

Good day Igor,

thanks for the bug report and also a stacktrace. Interesting is that there were no changes in Locus Map related to routing system of offline graphHopper.

May you please try to enable GPS in Locus Map if this makes a difference?

If you need an offline routine now, it is possible to a) downgrade to 3.37.2 version or b) use BRouter as alternative offline routing.

I have made a small fix in the app now that should help on this issue so it the next Locus Map (Beta) version, the issue should be solved.

Menion

photo
1

Hello Menion,

turning on location services makes no differences in 3.39.2.

I have another phone with 3.38.7 and it works there so I can plan routes there at the moment. Brouter is no option for me cause I have custom routing data of my area made for graphhopper.

photo
3

Hello Igor,

understand.

May you give a try to this test version? I made a small change in code that should help here.

Version install as Locus Map Free, so if you use Pro version, just install it side-by-side without worry. Thank you.

Menion

photo
1

Hello Menion,

i did a quick test and looks like it is working.

Thanks for prompt solution.

photo
2

Hello,

oki perfect. You may keep this test version if you need. New regular version over Google Play will probably take some time, maybe 14+ days.

Menion

Replies have been locked on this page!