# Make app more tolerant of GPS loss in predictable situations (tunnels)

**URL:** <https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952>\
**Category:** App\
**Tags:** navigation\
**Created:** [November 7, 2018, 11:48am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952 "2018-11-07T11:48:19Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patrick](https://forum.kurviger.com/user_avatar/forum.kurviger.com/patrick/32/7292_2.png) [@Patrick](https://forum.kurviger.com/u/Patrick)\
**Post date:** [November 7, 2018, 11:48am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/1 "2018-11-07T11:48:19Z")

</div>

One feature request/bug I was thinking about constantly during my last trip to the alpes:

I think the app should be a little more tolerant/forgiving/forecasting when losing GPS in a situation that can be expected: in tunnels, galleries, underpasses etc. This is especially relevant in northern Italy and southern Switzerland, where they build a lot of roads in so called “gallerias”. They often have nearby towns or local roads and Kurviger is quick to think you’re on one of those instead

 ![grafik](https://forum.kurviger.com/uploads/default/original/1X/c11fdbe0fe48a46c65466fccb8fbd562929a0a28.jpeg)  
Something like this: [https://kurv.gr/VfJiH](https://kurv.gr/VfJiH)

Now I don’t think this thread is a duplicate, I know that we already had [discussions](https://forum.kurviger.com/t/app-will-mich-zum-ausgangspunkt-zuruckfuhren/799) about [rerouting](https://forum.kurviger.com/t/sometimes-rarely-navigation-stops-working/941/3) and I know that I could disable it. But let’s assume I don’t want to disable rerouting. I want to talk more about the general sensibility to GPS loss. Most other Navigation devices/apps try to simulate your position and move the marker with an approximate speed inside the tunnel. Kurviger on the other hand is very trigger-happy.

It can have bad results when you want to take an exit directly after a tunnel and almost miss it because Kurviger is super sure that you’re on the road on the other side of the mountain that it jumped to once it lost GPS 😃  
I almost missed this exit for example: [https://kurv.gr/FSj1S](https://kurv.gr/FSj1S)

I don’t know how hard this is to code, but I would really love to have this. Thanks!

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [November 7, 2018, 12:08pm UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/2 "2018-11-07T12:08:57Z")

</div>

Thanks for the request!

Do you have [Kalman filter](https://en.wikipedia.org/wiki/Kalman_filter) enabled in `Settings | Map`?

It can certainly help with predictions in such situations.

---

<div class="post-metadata">

**Author:** ![Patrick](https://forum.kurviger.com/user_avatar/forum.kurviger.com/patrick/32/7292_2.png) [@Patrick](https://forum.kurviger.com/u/Patrick)\
**Post date:** [November 7, 2018, 12:11pm UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/3 "2018-11-07T12:11:02Z")

</div>

One second lemme check… yes, enabled. Oh god, it could have been even worse if I had this disabled? 😃  
Nah just kidding, it’s probably no easy task, thanks for recognizing my request

---

<div class="post-metadata">

**Author:** ![boldtrn](https://forum.kurviger.com/user_avatar/forum.kurviger.com/boldtrn/32/360_2.png) [@boldtrn](https://forum.kurviger.com/u/boldtrn)\
**Post date:** [November 7, 2018, 12:31pm UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/4 "2018-11-07T12:31:49Z")

</div>

Thanks for letting us know, the situation in tunnels especially is a known limitation right now and we should look at options on how to improve this.

---

<div class="post-metadata">

**Author:** ![RHoffner](https://forum.kurviger.com/letter_avatar_proxy/v4/letter/r/3da27b/32.png) [@RHoffner](https://forum.kurviger.com/u/RHoffner)\
**Post date:** [April 23, 2022, 10:19am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/5 "2022-04-23T10:19:47Z")

</div>

Same experience on my side on my trip to Lago di Garda.  
However for me ist really annoying when Kurviger tries to Rerounte several times in tunnels. Turn rerouting off is not an option for me, i like this feature und use it often.  
Possiblilities for me here :

1. Otion to turn Rerouting off in tunnels. This check could be based on OSM Data
2. Option to use Acceleration Sensor of Handy to determine the speed and Coordinates via OSM Data and then simulate the driving. Several navigation apps do it this way. Its not 100% accurate but it helps a lot.

Would be a very helpful feature even in switzerland and north italy.

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [April 23, 2022, 10:38am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/6 "2022-04-23T10:38:52Z")

</div>

Predictability and computer navigation are opposite concepts.  
The excessive automation can be risky and difficult to handle.

* * *

You can use manual rerouting, it is the recommended option:  
(should probably be the default)

- [How and why can I navigate with manual rerouting? [Kurviger Knowledgebase]](https://docs.kurviger.de/app/faq/navigate_with_manual_rerouting)

---

<div class="post-metadata">

**Author:** ![RHoffner](https://forum.kurviger.com/letter_avatar_proxy/v4/letter/r/3da27b/32.png) [@RHoffner](https://forum.kurviger.com/u/RHoffner)\
**Post date:** [April 23, 2022, 1:14pm UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/7 "2022-04-23T13:14:24Z")

</div>

Yes that is a possibility. But what about automatik calculation based on Accelaration Sensor and OSM coordinates. Is this possible to implement?

---

<div class="post-metadata">

**Author:** ![RHoffner](https://forum.kurviger.com/letter_avatar_proxy/v4/letter/r/3da27b/32.png) [@RHoffner](https://forum.kurviger.com/u/RHoffner)\
**Post date:** [April 30, 2022, 10:43am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/8 "2022-04-30T10:43:45Z")

</div>

I opened this as a new topic to share an idea for kurviger

In tunnels there are different issues, because GPS is lost:

1. Speed can not be calculated
2. Junctions can not be found and announced in tunnels and at the end of a tunnel
3. Speed Limits can not be set, because position is unknown

Suggestion:  
Automatic calculation of position and speed based on Accelerometer data of the mobile phone and OSM coordinates. Nearly the same as you do it in Simulation Mode.  
The KalmanFilter is very inaccurate, because it only depends on the sensors to find the position.  
The position in tunnels can be used from OSM Data and only the speed can be used by sensors.  
This would be more accurate.

Would be very helpful in Switzerland and Northern Italy with many tunnels.

---

<div class="post-metadata">

**Author:** ![Ciutnik](https://forum.kurviger.com/user_avatar/forum.kurviger.com/ciutnik/32/1700_2.png) [@Ciutnik](https://forum.kurviger.com/u/Ciutnik)\
**Post date:** [April 30, 2022, 12:58pm UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/9 "2022-04-30T12:58:29Z")

</div>

> [@RHoffner](#):
>
> Automatic calculation of position and speed based on Accelerometer data

Hi. Many times before I wondered how reliable and accurate such data is. Wouldn’t it be easier to assume a constant speed - e.g. 60 km/h when the GPS signal is lost? I know, there may be a traffic jam or some other delay, but will the accelerometer handle such difficulties?

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [April 30, 2022, 1:06pm UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/10 "2022-04-30T13:06:43Z")

</div>

> [@Ciutnik](#):
>
> Many times before I wondered how reliable and accurate such data is.

It is not.

We may see in the future, however unreal navigation without GPS is not safe.

> [@Make app more tolerant of GPS loss in predictable situations (tunnels)](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/6):
>
> Predictability and computer navigation are opposite concepts. The excessive automation can be risky and difficult to handle. You can use manual rerouting, it is the recommended option: (should probably be the default) [https://docs.kurviger.de/app/faq/navigate\_with\_manual\_rerouting](https://docs.kurviger.de/app/faq/navigate_with_manual_rerouting)

---

<div class="post-metadata">

**Author:** ![Hobbyfahrer](https://forum.kurviger.com/user_avatar/forum.kurviger.com/hobbyfahrer/32/32029_2.png) [@Hobbyfahrer](https://forum.kurviger.com/u/Hobbyfahrer)\
**Post date:** [May 1, 2022, 10:16am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/11 "2022-05-01T10:16:01Z")

</div>

Mit TomTom Go kann man sehr gut auch im Tunnel navigieren. Wie die das machen keine Ahnung aber ich meine hier wird mit der Durchschnittsgeschwindigkeit gearbeitet.

Hatte das Thema Tunnel hier auch schon angesprochen, weil es mit Kurviger unmöglich in Tunneln zu navigieren und es gibt viele Tunnel mit Abfahrten usw.

---

<div class="post-metadata">

**Author:** ![RHoffner](https://forum.kurviger.com/letter_avatar_proxy/v4/letter/r/3da27b/32.png) [@RHoffner](https://forum.kurviger.com/u/RHoffner)\
**Post date:** [May 2, 2022, 5:32am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/12 "2022-05-02T05:32:39Z")

</div>

Die Navigation muss in Tunnels ja nicht akkurat sein, aber zumindest einen groben Anhaltspunkt hätte ich auch gerne. Und bei TomTom geht es ja, habe ich auch schon gehört.

---

<div class="post-metadata">

**Author:** ![ramondevic](https://forum.kurviger.com/user_avatar/forum.kurviger.com/ramondevic/32/4631_2.png) [@ramondevic](https://forum.kurviger.com/u/ramondevic)\
**Post date:** [May 2, 2022, 9:55am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/13 "2022-05-02T09:55:38Z")

</div>

Yes, I think it would be interesting to know roughly where you are inside the tunnel even if it is not very accurate.

---

<div class="post-metadata">

**Author:** ![Voigasbiker](https://forum.kurviger.com/user_avatar/forum.kurviger.com/voigasbiker/32/6697_2.png) [@Voigasbiker](https://forum.kurviger.com/u/Voigasbiker)\
**Post date:** [June 13, 2022, 9:01am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/14 "2022-06-13T09:01:33Z")

</div>

Hallo, ich finde die App echt toll und bin froh eine Alternative zu Sygic gefunden zu haben, was aber echt nervt ist die Navigation durch Tunnels, das navi bleibt dann mit letzter bekannten Geschwindigkeit und Richtung und “fährt” ins Nichts und verliert die Route… Soweit kein Problem, außer du must im Tunnel oder kurz danach abbiegen… Das Navi weiß das ich mich im Tunnel befinde, es kennt auch den Streckenverlauf des Tunnels, wieso also folgt er diesen nicht einfach mit der erlaubten Geschwindigkeit? Andere Navis machen das auch so

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [June 13, 2022, 9:36am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/15 "2022-06-13T09:36:42Z")

</div>

> [@Voigasbiker](#):
>
> Das Navi weiß das ich mich im Tunnel befinde, es kennt auch den Streckenverlauf des Tunnels, wieso also folgt er diesen nicht einfach mit der erlaubten Geschwindigkeit?

No, the tunnels are not known.

Navigation uses GPS location. Without GPS there can be no navigation.  
Otherwise, the phones would not need a GPS sensor for the location.

---

<div class="post-metadata">

**Author:** ![Voigasbiker](https://forum.kurviger.com/user_avatar/forum.kurviger.com/voigasbiker/32/6697_2.png) [@Voigasbiker](https://forum.kurviger.com/u/Voigasbiker)\
**Post date:** [June 13, 2022, 12:27pm UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/16 "2022-06-13T12:27:01Z")

</div>

You really want tell me that you don’t know where are tunnels? Anyway when you loose the GPS signal, you could following the track until you get a new signal, would be better as to going nowhere…

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [June 13, 2022, 12:37pm UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/17 "2022-06-13T12:37:40Z")

</div>

> [@Voigasbiker](#):
>
> You really want tell me that you don’t know where are tunnels?

The only route details currently in use are: max speed, street name.  
Route information details are not currently in use.

> [@Voigasbiker](#):
>
> Anyway when you loose the GPS signal, you could following the track until you get a new signal, would be better as to going nowhere…

Everything seems easy with words. 🙂

To all those who suggest location without GPS, please show the real Android code,  
how it can be done…

---

<div class="post-metadata">

**Author:** ![rumbrummer](https://forum.kurviger.com/user_avatar/forum.kurviger.com/rumbrummer/32/113_2.png) [@rumbrummer](https://forum.kurviger.com/u/rumbrummer)\
**Post date:** [June 15, 2022, 5:35am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/18 "2022-06-15T05:35:00Z")

</div>

I think there is a misunderstanding:

The information about tunnels is available in OSM data (so you also can see that on several maps).

But for navigation the app uses the information inside the .kurviger file provided by routing algorithm - I do not know if information about tunnels is in that file.

My Garmin Navis extrapolate the position, if GPS signal is lost and according to map data there is a tunnel: They assume that you continue riding on the planned route with the speed measured before loosing GPS signal.

But this is not very precise, especially if you change the speed in the tunnel - and I think the effort for implementing such a feature is high (please keep in mind that the development of the app is a one man show, as far as I know).

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [June 15, 2022, 6:49am UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/19 "2022-06-15T06:49:10Z")

</div>

> [@rumbrummer](#):
>
> But for navigation the app uses the information inside the .kurviger file provided by routing algorithm - I do not know if information about tunnels is in that file.

It may be used in the future.

> [@rumbrummer](#):
>
> They assume that you continue riding on the planned route with the speed measured before loosing GPS signal.

And that tunnels are straight.

> [@rumbrummer](#):
>
> But this is not very precise, especially if you change the speed in the tunnel - and I think the effort for implementing such a feature is high

Precisely.

Something that could be done more effortlessly is to see from route details  
when be in tunnels and _temporarily_ disable automatic rerouting (if enabled).

However, follow user location → turn instructions cannot work without GPS.

> [@rumbrummer](#):
>
> please keep in mind that the development of the app is a one man show

Most users do not know it or prefer to forget it.  
Maybe we should put a reminder somewhere. 🙂

---

<div class="post-metadata">

**Author:** ![rumbrummer](https://forum.kurviger.com/user_avatar/forum.kurviger.com/rumbrummer/32/113_2.png) [@rumbrummer](https://forum.kurviger.com/u/rumbrummer)\
**Post date:** [June 15, 2022, 7:48pm UTC](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952/20 "2022-06-15T19:48:35Z")

</div>

> [@devemux86](#):
>
> And that tunnels are straight.

No - it also works on a tunnel curve (Navi assumes that you follow the planned route, and this can also contain a curved tunnel).  
Example: Pfändertunnel

> **[The Best Motorcycle Route Planner - Plan your next Tour | Kurviger](https://kurviger.com/?point=47.53973,9.755201&point=47.486707,9.744198&weighting=curvature&additional_weighting=&avoid_ferries=false&avoid_main_roads=false&avoid_main_roads_factor=2&avoid_motorways=false&avoid_small_roads=false&avoid_toll_roads=false&avoid_toll_roads_factor=1&avoid_unpaved_roads=true&ch.disable=true)**
>
> Plan your motorcycle trips with Kurviger. Kurviger prevers curvy roads, while avoiding cities and motorways. Find the best roads for your motorcycle tour.

[Next page](https://forum.kurviger.com/t/make-app-more-tolerant-of-gps-loss-in-predictable-situations-tunnels/952.md?page=2)
