# App: Turn instructions on waypoints

**URL:** <https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300>\
**Category:** Implemented features\
**Tags:** implemented\
**Created:** [September 24, 2020, 8:01pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300 "2020-09-24T20:01:41Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [December 29, 2020, 2:29pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/21 "2020-12-29T14:29:33Z")

</div>

The turn instructions on via / shaping points are generated _because of_ the via / shaping points.

Anyway the discussion keeps doing circles, perhaps the community can explain better all that.

---

<div class="post-metadata">

**Author:** ![0709](https://forum.kurviger.com/user_avatar/forum.kurviger.com/0709/32/4699_2.png) [@0709](https://forum.kurviger.com/u/0709)\
**Post date:** [December 29, 2020, 2:35pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/22 "2020-12-29T14:35:10Z")

</div>

We’re not going to fight for it, but you can just say you don’t want it. But a better example of what the website shows with the return symbol in the instruction list I don’t have to offer. You may indeed place hundreds of Shaping Points without notice, but only in this very specific case does the navigation point with its instruction exactly coincide with the Shaping Point. I think you are mistaking that.

You know, we are not going to put the website and the application against each other.  
We compare politely.  
But in this case, the website implementation is right.

---

<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:** [December 29, 2020, 3:40pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/24 "2020-12-29T15:40:53Z")

</div>

Perhaps there is a misunderstanding:

As far as I can see, the routing returns 2 instructions for each via point / shaping point: The first has sign=5 which is the value for “REACHED\_VIA”. It also has distance=0.0 and time=0.0, which means that the following instruction is on the same place.  
The following instruction is the 2nd one - in many cases it has sign=0 ( =“CONTINUE\_ON\_STREET” ), but in the case that the point is in a dead end, it has sign=-98 (=“U\_TURN\_UNKNOWN”).

Showing the turn instructions on the Website, both turn instructions of the via points / shaping points are shown (please see screenshot of @0709 above).

As far as I understand, the app suppresses the 2nd turn instruction of the via points / shaping points: Even if I change the shaping point from route above to via point and enable option “Waypoints in instructions”, I can not see a hint that I have to make an U-turn @ the via point (Version 1.14.11).

I am not sure, if the discussion “announce via points / shaping points or not” and the option “Waypoints in instructions” concern just the announcement “here is a via point / shaping point” or if it includes “hide the 2nd instruction or not”:

My **current, personal** opinion:

- hide the 2nd instruction or not" should be a separate descision
- In most cases it is good to suppress the 2nd turn instruction, because it is just a “continue on street” hint, which would not be there if the via point / shaping point would not be there,.
- But if there is a real turn hint (any left, right, U-Turn hint) it would be useful to show it even in combination with shaping point, because it would be also there if the same route leg would be routed without that viapoint / shaping point.  
The “Dead end U-Turn” case shown by @zaphod_42 is an extreme example - as Wolfgang mentiond you miss the turn point, if you do not observe the map.
- On the other hand, this “severe case” is caused by a user failure (@Wolfgang: sorry 😉 ), so the first advice would be “avaoid failures”
- as in many cases, a more complex handling of the decision “show 2nd turn instruction?” would increase the effort, due to limited developer resources a priorization has to be done! I would like to have such an improvement, but would give a low priority ( = “nice to have” )

---

<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:** [December 29, 2020, 3:47pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/25 "2020-12-29T15:47:02Z")

</div>

> [@0709](#):
>
> implementation is right

You confuse right and expected / discussed / agreed with community.

Looks like another [BRouter forum discussion](https://groups.google.com/g/osm-android-bikerouting/c/gM4MqtL4CAU) about what is right and wrong in turn instructions.

---

<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:** [December 29, 2020, 4:04pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/26 "2020-12-29T16:04:42Z")

</div>

> [@rumbrummer](#):
>
> Perhaps there is a misunderstanding

Thanks for the detailed post.

Like explained above the routing API works correctly.  
Then the clients choose how to use the responses.

The app merges via’s successive instructions, because one instruction can be announced per location.  
Now it announces via’s name. There was not a need to announce together the via’s turn instruction too.

So the suggestion is that all turn instructions should be visible and announced in navigation?  
Regardless of waypoint type, its turn instruction should be announced (u-turns and continue).

Obviously we cannot fill the app with options, that will complicate further the development.  
The “Settings | Routing | Waypoints in instructions” already complicates app maintenance.

---

<div class="post-metadata">

**Author:** ![0709](https://forum.kurviger.com/user_avatar/forum.kurviger.com/0709/32/4699_2.png) [@0709](https://forum.kurviger.com/u/0709)\
**Post date:** [December 29, 2020, 5:01pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/27 "2020-12-29T17:01:26Z")

</div>

You can also demonstrate it differently.

Website Roadbook. Follow all instructions exactly.  
Now with the app turn instruction list. Isn’t something missing?

The problem mentioned in Brouter forum. (Perfectly reproducible)  
Follow the navigation instructions exactly. Good luck !  
There are tow services in the area that will help you further.

Admittedly.  
U-turns are rare, but they are there.  
Brouter generates few errors, but they are there.

---

<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:** [December 29, 2020, 5:18pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/28 "2020-12-29T17:18:15Z")

</div>

> [@0709](#):
>
> Website Roadbook. Follow all instructions exactly.  
> Now with the app turn instruction list. Isn’t something missing?

Voice navigation announces turn instructions as they exist in app’s turn instructions list.

So it cannot have 2 instructions at the same point and the first with 0 distance and time.  
(some merging / post-processing must happen)

I am open for changes, but without adding more options, instead simplify existing ones.

---

<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:** [December 29, 2020, 7:20pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/29 "2020-12-29T19:20:07Z")

</div>

> [@devemux86](#):
>
> So the suggestion is that all turn instructions should be visible and announced in navigation?  
> Regardless of waypoint type, its turn instruction should be announced (u-turns and continue).

> [@devemux86](#):
>
> but without adding more options, instead simplify existing ones.

My proposal (perhaps to complex, as a discussion base):

- remove option “Waypoints in instructions”
- suppress shaping points with sign=0 (continue), show and announce the other ones
- symbol and announcement of shaping points according to turn instruction (as other turn instructions)
- show and announce via points (if you do not want to show + announce a via point, convert it to shaping point)
- use Waypoint symbol (flag) for via points
- if via point turn instruction sign=0 (continue) just show / announce as currently done when option “Waypoints in instructions” enabled
- for other via point turn instruction sign values add turn instruction text to announcement and to text in headline. Also add text like “turn left” etc. to headline, because waypoint symbol does not give information

---

<div class="post-metadata">

**Author:** ![0709](https://forum.kurviger.com/user_avatar/forum.kurviger.com/0709/32/4699_2.png) [@0709](https://forum.kurviger.com/u/0709)\
**Post date:** [December 29, 2020, 9:12pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/30 "2020-12-29T21:12:04Z")

</div>

I have to read this a few times first. Emux, If you indeed need to break existing functionality in order to accomplish this, I’ll withdraw my question for u-turn support. I really don’t want to get the whole forum on my head.

_I did investigate the consequences of locating a Shaping Point very precisely on a track point with an expected Navigation instruction at exactly the same position._  
_I see an identical twin track point pair being created. One trkpt coupled with the Shaping Point the second trkpt with the Navigation instruction._  
_Regarding: Track point pair 22 & 23. (latitude: 48.29193 longitude: 11.97671)_  
_Navigation works normally._  
[DeadEnd-Test\_export.kurviger](https://forum.kurviger.com/uploads/short-url/eNrxHNWp1PXEwDOzcRd0pGbHaEZ.kurviger) (1.4 KB)

---

<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:** [December 30, 2020, 8:25am UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/31 "2020-12-30T08:25:03Z")

</div>

Thanks for the detailed suggestions. They make my work as developer much easier.

They seem reasonable and simplify / improve app implementation (an ongoing goal).

> [@rumbrummer](#):
>
> - remove option “Waypoints in instructions”
> - show and announce via points (if you do not want to show + announce a via point, convert it to shaping point)

Indeed that option is unnecessary with the shaping points and only causes maintenance troubles.

Everything else seems reasonable as well. I will check the algorithms and think for improvements.

---

<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:** [December 30, 2020, 8:29am UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/32 "2020-12-30T08:29:20Z")

</div>

> [@0709](#):
>
> If you indeed need to break existing functionality in order to accomplish this, I’ll withdraw my question for u-turn support. I really don’t want to get the whole forum on my head.

This is not necessary, it is a reasonable request.  
Software can not progress unless we review it often and push it to its limits.

---

<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:** [December 31, 2020, 2:39pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/34 "2020-12-31T14:39:01Z")

</div>

> [@rumbrummer](#):
>
> - for other via point turn instruction sign values add turn instruction text to announcement and to text in ~~headline~~ **turn instruction display**. Also add text like “turn left” etc. to ~~headline~~ **turn instruction display** , because waypoint symbol does not give information

with “headline” I mean “turn instruction display”

---

<div class="post-metadata">

**Author:** ![0709](https://forum.kurviger.com/user_avatar/forum.kurviger.com/0709/32/4699_2.png) [@0709](https://forum.kurviger.com/u/0709)\
**Post date:** [January 2, 2021, 10:19am UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/35 "2021-01-02T10:19:33Z")

</div>

@rumbrummer thanks for thinking along. Very helpfull.  
The different U-turns.

sign: -8 u-turn\_left:  
[Left U turn\_example.kurviger](https://forum.kurviger.com/uploads/short-url/mCood5cC08s4iLWy0KH0q6BroFn.kurviger) (684 Bytes)  
U turn with often a spacious turntable. U turn command linked to single track point  
sign: 8 u-turn\_right:  
U turn with often a spacious turntable. U turn command linked to single track point  
sign: -98 u-turn:  
U turn with often a limited turn area. U turn (-98) and Shaping Point do share a common trackpoint.  
ONLY this U turn (-98) is able to replace the Shaping Point info and changes it to announced.  
U turn (-98) exceptionally so promotes the corresponding Shaping Point into a announced informative one.The standard routing functionality thereby is kept intact as usual by non strict or strict.

The “turn instruction display”, only contains street name info.  
This keeps it compatible with the next realization.

> [@App: Display street name](https://forum.kurviger.com/t/app-display-street-name/4606/7):
>
> I have a prototype working with e.g. (offline) GraphHopper (on and off route). It does reverse geocoding of user location and displays the street (at bottom). With Kurviger that could make sense only on the route (if route contains that data). Doing continuously online reverse geocoding does not seem a very wise solution? [Cruiser]

Image examples as trk gpx list.

Shaping Point and straight share a common trkpt.  
[Shaping\_straight.kurviger](https://forum.kurviger.com/uploads/short-url/aVXl2t1VbWBFlI8wFJAlKRb5jW8.kurviger) (1.0 KB)  
The **not announced** Shaping point has priority.  
[Shaping\_straight\_trk.gpx](https://forum.kurviger.com/uploads/short-url/qkr3bSP7R6TDn55RYuTHQ9H6d64.gpx) (1.3 KB)

 ![Shaping_straight](https://forum.kurviger.com/uploads/default/original/2X/a/a40a6fa602a39a87df44cda398cb48ce1a7341f9.png)

Shaping Point and u-turn share a common trkpt.  
[Shaping\_u-turn.kurviger](https://forum.kurviger.com/uploads/short-url/cTweeFvHvzeciYxv3vRCYqzReWM.kurviger) (985 Bytes)  
The **announced** u-turn has priortiy.  
[Shaping\_u-turn\_trk.gpx](https://forum.kurviger.com/uploads/short-url/bGYcFsHM5ek03OolHAevCFBR9m6.gpx) (1.3 KB)

 ![Shaping_u-turn](https://forum.kurviger.com/uploads/default/original/2X/0/0e322dc4cdc35e069a9ad9d981800e59b499dab6.png)

Demo video U-turn: [https://youtu.be/CysDm9BwF3I](https://youtu.be/CysDm9BwF3I)  
_Apps without shaping points rarely navigate this route flawlessly._  
_Kurviger navigates this correctly by using the shaping points._

---

<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:** [January 4, 2021, 6:16pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/36 "2021-01-04T18:16:54Z")

</div>

> [@rumbrummer](#):
>
> My proposal (perhaps to complex, as a discussion base)

In fact it is quite simple and also my thinking. 🙂

> [@rumbrummer](#):
>
> use Waypoint symbol (flag) for via points

Any turn instruction with a direction must have the direction symbol.  
We can enrich via instruction to [Waypoint name + Turn instruction].

Each routing service can have different behavior:  
BRouter, GraphHopper + Kurviger, OpenRouteService, OSRM, etc.

BRouter does not generate (double) turn instructions on via and shaping points.  
We can only have the [Waypoint name] instructions on waypoints with BRouter.

BRouter did not generate either the [Waypoint name] instructions on waypoints.  
I generate them myself when I post process BRouter routing:

> [@App: Improve BRouter turn instructions](https://forum.kurviger.com/t/app-improve-brouter-turn-instructions/3143):
>
> BRouter does not generate turn instructions for waypoints. So BRouter routes don’t know waypoints, only start + end. That may concern navigation (reported [here](https://forum.kurviger.com/t/skip-waypoints-deactivated-with-brouter/3136) and [here](https://forum.kurviger.com/t/app-in-offline-mode-rerouting-makes-all-waypoints-disappear/3417)). We must post process & enrich BRouter results before use. Related to the feature: [https://forum.kurviger.com/t/app-offline-routing-brouter/649](https://forum.kurviger.com/t/app-offline-routing-brouter/649)

---

<div class="post-metadata">

**Author:** ![0709](https://forum.kurviger.com/user_avatar/forum.kurviger.com/0709/32/4699_2.png) [@0709](https://forum.kurviger.com/u/0709)\
**Post date:** [January 5, 2021, 8:15am UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/37 "2021-01-05T08:15:34Z")

</div>

_Concerning Via Point support in BRouter_  
_[https://groups.google.com/g/osm-android-bikerouting/c/ceUFvc4sFdQ/m/OTqDbieOEQAJ](https://groups.google.com/g/osm-android-bikerouting/c/ceUFvc4sFdQ/m/OTqDbieOEQAJ)_  
_No succes…Only one vote for ;-((_

_Concerning Shaping Point support in Locus gpx & navigation._  
_[Shape Point transfer by gpx | Locus Map - help desk](https://help.locusmap.eu/topic/shape-point-transfer-by-gpx#comment-87469)_  
_No succes…Only 2 Votes ;-((_

_Only Kurviger understands the usefulness of using both Via and Shaping Points @ navigation._  
_That’s why I’m here, even if I’m not a motorcyclist. The investment in this app: Peanuts_  
The pleasure you get in return is well worth the mini investment.

---

<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:** [January 5, 2021, 2:00pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/38 "2021-01-05T14:00:14Z")

</div>

Available in [Kurviger 1.14.12 (Beta)](https://forum.kurviger.com/t/kurviger-1-14-12-beta/4422) based on [above discussion](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/29).

Please test routes and their turn instructions with menu “Routing | Turn instructions”  
and voice guidance with the simulation in “Settings | Navigation | Navigation Mode”.

---

<div class="post-metadata">

**Author:** ![zaphod\_42](https://forum.kurviger.com/user_avatar/forum.kurviger.com/zaphod_42/32/499_2.png) [@zaphod\_42](https://forum.kurviger.com/u/zaphod_42)\
**Post date:** [January 5, 2021, 2:36pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/39 "2021-01-05T14:36:56Z")

</div>

With my stupid mistake I kicked off a snowball … an avalanche has now arrived in the valley, without damage!  
Thanks @Emux - **good job!** And thanks @0709 and @rumbrummer for being so though to represent all the technical stuff I know so little about. I think kurvigerPRO has once again become a bit better.

---

<div class="post-metadata">

**Author:** ![0709](https://forum.kurviger.com/user_avatar/forum.kurviger.com/0709/32/4699_2.png) [@0709](https://forum.kurviger.com/u/0709)\
**Post date:** [January 5, 2021, 2:50pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/40 "2021-01-05T14:50:33Z")

</div>

Kurviger 1.14.12 Sure a good job.  
**AND it also works by using Shaping Points**. (= Perfect tnks)

_U turns are indeed rarely **Planned** , but it is now possible perfectly._ **Protect** by using a Via Point.  
_U turns by the instruction list are perfect indicators to locate false instructions even faster._  
_In many cases, U turns are not expected instructions that are caused by planning errors._  
_1. In Wolfgang’s example due to a too quickly executed so falsely positioned Shaping point._  
_2. Shaping Points planned too close to critical road intersections that so ended up on a side road undesirably with the corresponding false turn instruction._  
_3. If you enter a simple track and have a route calculated by reference Shaping Points you often see these “dirty” instruction errors arise._

\*You can hardly discover this on the map itself unless you zoom in very deeply. \*  
_So it is now already a bit more noticeable by the navigation list._  
_The ultimate goal, the app automatically detects this and removes harmful Shaping Points itself._  
The autocleaner should so clean and remove “U turn Shaping Point” combinations only.  
The autocleaner should NOT clean nor remove any “U turn Via Point” combination.

---

<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:** [January 5, 2021, 3:53pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/41 "2021-01-05T15:53:38Z")

</div>

> [@devemux86](#):
>
> Any turn instruction with a direction must have the direction symbol.  
> We can enrich via instruction to [Waypoint name + Turn instruction].

Very nice, thanks a lot. 👍

Just a question concerning a detail, Route: [https://kurv.gr/UUy6N](https://kurv.gr/UUy6N)

Reaching via point #1 announcement and turn display is fine (as expected 😀).

Reaching the U-turn via point, there is an announcement that there is a U-turn, followed by via point name 👍.

Would it be possible also to add a hint to turn display that rider is approaching a via point / the via point name?

 ![turndisp_1](https://forum.kurviger.com/uploads/default/original/2X/6/6a710d759723d3f596b3c7e230b9a84a57d597ad.jpeg)

Riding motorcycle without using a headset (-\> no voice guidance) this might be helpful!

Perhaps it would be also useful to add the hint / via point name to turn instruction list - but I think that has a lower priority (nice to have), because it will not lead to missing a via point (like restaurant etc.).

Remark: I tested via simulation, did not test if hint/via point name is shown during real driving.

Remark2 (quite late): Thanks a lot for implementing simulation mode - that helps testing behaviour a lot, makes it quite easy to simulate without using further tools and therefore it leads (and led) to more testing, which probably improves quality 👍!

---

<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:** [January 5, 2021, 4:40pm UTC](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300/42 "2021-01-05T16:40:12Z")

</div>

> [@rumbrummer](#):
>
> Reaching the U-turn via point, there is an announcement that there is a U-turn, followed by via point name 👍.

Actually it is an announcement of [Waypoint name + Turn instruction].  
(similar to turn instructions list)

> [@rumbrummer](#):
>
> Would it be possible also to add a hint to turn display that rider is approaching a via point / the via point name?

Indeed now the turn instruction overrides the via point.  
I will see what can be done. 🙂

> [@rumbrummer](#):
>
> Perhaps it would be also useful to add the hint / via point name to turn instruction list

The turn instructions list already has the updated instructions.  
(similar to navigation)

[Previous page](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300.md?page=1)

[Next page](https://forum.kurviger.com/t/app-turn-instructions-on-waypoints/4300.md?page=3)
