Bug: Keep left and then straight

116 views
Skip to first unread message

Carles Pina i Estany

unread,
Oct 29, 2014, 7:12:43 PM10/29/14
to osm...@googlegroups.com

Hi,

I was driving in http://osm.org/go/0Ifq0jpp?m (to north-east) and OsmAnd
said "Keep Left, then straight" (or similar to that). I had to just keep
driving on the B320.

Any idea why? OsmAnd+ 1.8.3, prefer motorways enabled.

See the attached screenshot.

Thank you!

--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat

Carles Pina i Estany

unread,
Oct 29, 2014, 7:20:11 PM10/29/14
to osm...@googlegroups.com

Hi,

In http://osm.org/go/0Ie3pe4M?m (just a few Km. far away from the same
point) I had another similar artifact, see the screenshot (actually with
a "turn slighty right" and "slightly left" in the same B320 when I
didn't need to move...

Any idea of what went wrong there?

Thank you,
> --
> You received this message because you are subscribed to the Google Groups "Osmand" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Screenshot_2014-10-29-23-13-52.png

Stephan75

unread,
Oct 31, 2014, 12:33:47 PM10/31/14
to osm...@googlegroups.com
Hello Carles, thanks for posting this issue!

Because I also came across some positions with Osmand where I should go straight-on on a junction, but Osmand tells me to keep left or keep right.


I will give instructions how to reproduce the situation at http://www.openstreetmap.org/#map=16/53.3259/9.8126 :

Have offline maps from Germany - Niedersachsen

1. Do a place search for "Trelde" -> search villages/postalcodes
2. Select "Trelder Berg" ... no street required ... show on map
3. set destination point and "routing from"-point as it is in

4. Route should be calculated from Osmand,
5. then tap the blue arrow at the right down corner on the screen to start navigation (no GPS signal required!)
6. First voice instruction should come from Osmand about lenght and travel time.
7. from Osmand menu / drawer menu, choose "start navigation" ... according to calculated route,

pay attention that Osmand is telling "keep left" ... it should be "go straight on"!!

As mentioned, I can deliver more places where we have such routing instructions.

Anyonbe to reproduce on other places and confirm?

What can be changes in Osmand's source code???

Stephan

Stephan75

unread,
Nov 1, 2014, 2:51:13 PM11/1/14
to osm...@googlegroups.com
Hello Carles and allothers,

I have a new guess why Osmand is telling "keep right" or "keep left" at junctions where it should say "straight on":

Have a closer look at the raw OSM tags on the short link ways that fork from the main street on all places where this occurs ...

In my cases where I can reproduce, they are simply tagged as highway=secondary or highway=primary or =tertiary

BUT I assume these short ways that lead to another street should be tagged as highway=primary_link, =secondary_link etc.

See http://wiki.openstreetmap.org/wiki/Link_(highway) in the OSM wiki for more details.

I will try to change each small way that is a link in real world and thenn test it inside Osmand as soon as new offline maps are available (no energy to produce them right now on my own via mapcreator)

Carles: what is the tagging at your positions where you get wrong instructions?

Stephan

harry

unread,
Nov 1, 2014, 5:00:24 PM11/1/14
to osm...@googlegroups.com
TomTom says "Keep right" when I think it should be saying "Don't go left" so I suppose OsmAnd is saying the same.  I do not have OsmAnd talking to me as my wife hates the  mechanical voice (not too keen myself) so TomTom talks to us while OsmAnd shows me on the map.  Works great and we have two opinions which could sound like a recipe for disaster but in general where they disagree I look at OsmAnd and decide which one looks best to me.

Harry (R)

Carles Pina i Estany

unread,
Nov 1, 2014, 5:44:37 PM11/1/14
to osm...@googlegroups.com

Hi,

On Nov/01/2014, Stephan75 wrote:
> Hello Carles and allothers,
>
> I have a new guess why Osmand is telling "keep right" or "keep left"
> at junctions where it should say "straight on":

In that case (http://osm.org/go/0Ifq0jpp?m) I think that shouldn't say
anything: I was driving on that primary road and I had to kept
driving... (I don't expect OsmAnd to say things on each junction).

> Have a closer look at the raw OSM tags on the short link ways that fork
> from the main street on all places where this occurs ...

See it here:
http://www.openstreetmap.org/?mlat=47.49467968940735&mlon=14.026579856872559#map=16/47.4947/14.0266

But I've never mapped roads.

> In my cases where I can reproduce, they are simply tagged as
> highway=secondary or highway=primary or =tertiary

this seems the case there...

> BUT I assume these short ways that lead to another street should be tagged
> as highway=primary_link, =secondary_link etc.

a junction a few km. to the south-east and where I don't think that
OsmAnd announced anything: it's using the same configuration as the
broken junction

> See http://wiki.openstreetmap.org/wiki/Link_(highway) in the OSM wiki for
> more details.
>
> I will try to change each small way that is a link in real world and
> thenn test it inside Osmand as soon as new offline maps are available
> (no energy to produce them right now on my own via mapcreator)
>
> Carles: what is the tagging at your positions where you get wrong
> instructions?

see
http://www.openstreetmap.org/?mlat=47.49467968940735&mlon=14.026579856872559#map=16/47.4947/14.0266

That place is a few thousands Km. away now, but I guess that we can test
when new maps are available and using the simulation.

The question is: why other similar junctions with the same tags (no
_link) are working well?

Regards,

davidvin...@gmail.com

unread,
Nov 8, 2014, 11:00:14 PM11/8/14
to osm...@googlegroups.com
The answer is very simple: "KEEP RIGHT" is a bad translation from the German which should have been translated as "KEEP STRAIGHT AHEAD"
This can be very misleading since it is used whenever a right branch in the road is encountered.

It would be funny if it was not so misleading.

David

Mirco Zorzo

unread,
Nov 9, 2014, 3:31:06 AM11/9/14
to osm...@googlegroups.com
Hi, excuse me has nothing to do but please can you tell me the name of this wonderful app?



Bye, Mirco

Mirco Zorzo

unread,
Nov 9, 2014, 3:48:24 AM11/9/14
to osm...@googlegroups.com
I've changed restriction on the node from "no turn left" to only straight on.

Mirco 

ceau...@gmail.com

unread,
Nov 9, 2014, 3:51:02 AM11/9/14
to osm...@googlegroups.com
In the Android play store. Search for Osmand.

Mirco Zorzo

unread,
Nov 9, 2014, 4:53:15 AM11/9/14
to osm...@googlegroups.com
Thanks but I mean the app indicated by the orange arrow in the screenshot attached in my previuos post.

Javier Salamanca Muñoz

unread,
Nov 11, 2014, 6:05:15 AM11/11/14
to osm...@googlegroups.com
Hi,

Osmand uses the angle between roads (and maybe *_link information but i'm not sure) to decide when to produce or not a "keep left" or similar message. Idea is to remember driver to not exit road if angle is small enought to create confusion.
Some points you showed, have a big angle so it could be another situation.

Regards.

Stephan75

unread,
Nov 13, 2014, 1:27:34 PM11/13/14
to osm...@googlegroups.com
Hello all,

I have done some investigations on three positions in my area with very fresh Osmand maps from 12.Nov. 2014

When doing a routing that really goes straight-on on a junction, and I have changed the exit way on that position in OSM data from highway=xxx to highway=xxx_link, then Osmand seems to be quiet now!!!

At least, when doing a pseudo simulation (speech not tested) I have no more instructions to "keep left".

So I would summarize: SUCCESS!!

But I am sure that there are still many positions in the whole world where we need tweaking the OSM data in that way.

Stephan

Stephan75

unread,
Nov 13, 2014, 1:32:32 PM11/13/14
to osm...@googlegroups.com
... I forgot:

To find these short ways that need to be tagged as highway=xxx_link instead of highway=xxx , there has ben a hint in German OSM forum how to find junction points via overpass-turbo.

See http://forum.openstreetmap.org/viewtopic.php?id=27551 ... sorry for only german conversation there. If needed, I can try to summarize and translate here.

Stephan

David Vincent-Jones

unread,
Nov 13, 2014, 2:55:08 PM11/13/14
to osm...@googlegroups.com
On Thu, 2014-11-13 at 10:27 -0800, Stephan75 wrote:
> Hello all,
>
>
> I have done some investigations on three positions in my area with
> very fresh Osmand maps from 12.Nov. 2014
>
>
> When doing a routing that really goes straight-on on a junction, and I
> have changed the exit way on that position in OSM data from
> highway=xxx to highway=xxx_link, then Osmand seems to be quiet now!!!

This is in no way satisfactory as a general solution. The significant
problem occurs when one is traveling on a new and unknown route ... the
'keep-left/keep right' is VERY misleading. This needs a proper fix.

David
>
>
> At least, when doing a pseudo simulation (speech not tested) I have no
> more instructions to "keep left".
>
>
> So I would summarize: SUCCESS!!
>
>
> But I am sure that there are still many positions in the whole world
> where we need tweaking the OSM data in that way.
>
>
> Stephan
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Osmand" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/osmand/HOoxVNaoEE4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

Stephan75

unread,
Nov 14, 2014, 8:22:51 AM11/14/14
to osm...@googlegroups.com, davidvin...@gmail.com
Then we have to find the position in Osmand's sourcecode where the angle of two ways are calculated and where we have a parameter when an extra instruction about keeping on any side is generated.
Unfortunately I am not able to search the sourcecode for that due to lack of skills.

Anyone can help?  Stephan
Reply all
Reply to author
Forward
0 new messages