aerostitch / testnavit

0 stars 0 forks source link

Too many spoken directions #166

Open aerostitch opened 11 years ago

aerostitch commented 11 years ago

Issue migrated from trac ticket # 1087

component: core | priority: major | keywords: directions

2012-12-23 06:19:09: fre.labrosse@googlemail.com created the issue


For a while now I have experienced a really annoying bug: navit speaks too many directions of the "easy turn" type, on all small bends of the road. This does not happen everywhere but I have experienced that in the UK and in France.

Recently (recent svn checkout and OSM map), I have experienced that on the A487, just north of Aberystwyth in the UK, but also on the A44 west of Aberystwyth. This does not happen along the whole length of a given road, only on some sections.

The symptoms are very similar to the ones described in bug #1039 but this is on linux and I have removed all maps but the UK and France ones, to no avail.

What info do I need to provide?

Cheers,

Fred

aerostitch commented 11 years ago

2012-12-24 02:34:51: fre.labrosse@googlemail.com uploaded file tooManyDirections.png (107.1 KiB)

An example I described in the text tooManyDirections.png

aerostitch commented 11 years ago

2012-12-24 02:37:07: fre.labrosse@googlemail.com commented


Looking at the screen shot I just made (see attachment), there is a navigation event every time something merges onto the main road (where the route was planned), be it a road, a track, a footpath, etc.

aerostitch commented 11 years ago

2013-01-02 03:09:16: fre.labrosse@googlemail.com commented


I just discovered bug #171, where it is thought that the bug could be due to the road having a non 0 layer attribute (not sure why this should be an OSM bug and not a navit bug, but there you go).

I just checked, the road in the screenshot attached previously: it does not have a layer attribute set.

aerostitch commented 11 years ago

2013-01-03 08:10:18: tryagain commented


Hi!

If you have two map excerpts even of not visually overlapped regions, you might still have duplicate road items.

You may try to left only one map available to navit to test if that's your case.

Also, navigational consequences of overlapped maps should be gone since 5334, so switching to more recent build should solve your problem even with two maps active.

Please report, if that doesnt solve your issue.

tryagain.

aerostitch commented 11 years ago

2013-01-03 08:43:09: fre.labrosse@googlemail.com commented


Hi,

Thanks for answer. Removing the other map (France) did indeed solve the issue. I had 5313, so updated. Now running 5334:

# svn info
Path: .
Working Copy Root Path: /usr/portage/distfiles/svn-src/navit/navit
URL: http://navit.svn.sourceforge.net/svnroot/navit/trunk/navit
Repository Root: http://navit.svn.sourceforge.net/svnroot/navit
Repository UUID: ffa7fe5e-494d-0410-b361-a75ebd5db220
Revision: 5334
Node Kind: directory
Schedule: normal
Last Changed Author: mdankov
Last Changed Rev: 5334
Last Changed Date: 2013-01-01 13:01:47 +0000 (Tue, 01 Jan 2013)

I still have the problem, although with fewer of these too many directions (on the same example as the attached screenshot).

Fred

aerostitch commented 11 years ago

2013-01-03 08:52:18: fre.labrosse@googlemail.com uploaded file tooManyDirections_r5334.png (91.8 KiB)

Same as previous screenshot but with r5334 tooManyDirections_r5334.png

aerostitch commented 11 years ago

2013-01-04 03:41:05: tryagain commented


Hi!

Looks like you've made a change recently to A487.

Are you sure both used binary maps have same versions of these roads?

If road versions differ in speeds, acces flags and so on, they would be considered different roads and you'll get navigation instructions.

tryagain.

aerostitch commented 11 years ago

2013-01-04 06:17:38: fre.labrosse@googlemail.com commented


Yes, I have modified that road (I wanted to make sure there was nothing wrong on OSM about it (and then changed it a bit following a recent speed limit change).

One map us for France, the Other is UK. I guess there might be a bit of overlap between the two bounding boxes, but that road is in Wales, about 500 miles from France so should not be in the two maps.

I'll re-download maps, just in case.

Fred

aerostitch commented 11 years ago

2013-01-05 02:20:44: fre.labrosse@googlemail.com commented


So re-downloaded maps (a few hours apart) and the problem is gone.

I extract maps using planet extractor and the bounding boxes given by it for France and the UK and there is some overlap between the two maps. Even, some of Wales does overlap (the very southern tip), but the road in question is not in the overlapped region. The section I was giving as an example is not (far from), and as far as I can make it the whole road (A487) is outside the overlap (stops a few miles north of the overlap).

So I don't understand why this could have been a problem, but maybe people who know the code will make sense out of that.

Shall I close the bug?

Thanks.

Fred

aerostitch commented 11 years ago

2013-01-05 02:54:30: tryagain changed status from new to closed

aerostitch commented 11 years ago

2013-01-05 02:54:30: tryagain changed resolution from * to fixed*

aerostitch commented 11 years ago

2013-01-05 02:54:30: tryagain commented


This is known behavior to have some data outside of requested area.

Map excerpts are done at tile level, so if a tile overlaps with area you marked for download, you'll get that whole tile. See http://wiki.navit-project.org/index.php/Binfile#Extract_a_specific_area

aerostitch commented 10 years ago

2014-01-03 03:52:45: fre.labrosse@googlemail.com changed status from closed to reopened

aerostitch commented 10 years ago

2014-01-03 03:52:45: fre.labrosse@googlemail.com changed resolution from fixed to **

aerostitch commented 10 years ago

2014-01-03 03:52:45: fre.labrosse@googlemail.com changed severity from * to normal*

aerostitch commented 10 years ago

2014-01-03 03:52:45: fre.labrosse@googlemail.com commented


I recently did in upgrade from svn and downloaded at the same time maps from France and UK. The problem reappeared!

Reopening.