[mkgmap-dev] Incorrect runabout exit indication
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Oct 4 08:38:35 BST 2014
Hi Johan, v3 and v4 are new style with two different program options, v5 and v6 are slightly modified new style maps with the same options. More detailed: If you watch your map, you see that Garmin shows major roads with other colors and bitmaps compared to smaller roads. This is done because the img file contains information about the "type of road". The roundabouts are special, because Garmin only has one type "roundabout", so normally, it displays the roundabout for a major road with the same color and bitmap as one for a small road. The "new style" tried to use a "trick": It stores the roundabout once as roundabout, once as a normal street, so that the device shows the correct color and bitmap, but obviously this confuses the algo in your device. The v5 and v6 versions don't contain this trick. AFAIK Garmin maps never use this trick, so I fear we can't blame the Garmin algo for being confused. @Minko, Lambertus: I'd prefer the map without the trick, it is smaller and less likely to confuse the routing. Gerd We know that Generic Routable (old style) maps compiled by Lambertus’s site work correct. We know that Generic Routable (new style) maps compiled by Lambertus’s site cause problems. The test maps you send me… are they all new style maps? Here are the results of the 4 maps samples you sent me: ********************************************** v3 – the icon indicating the relative position for exiting the roundabout is INCORRECT(a relative position indicating one roundabout exit LATER than the correct exit) v4 – the icon indicating the relative position for exiting the roundabout is INCORRECT(a relative position indicating one roundabout exit LATER than the correct exit) V5 – the icon indicating the relative position for exiting the roundabout is CORRECT V6 – the icon indicating the relative position for exiting the roundabout is CORRECT Greetings Johan From: mkgmap-dev-bounces at lists.mkgmap.org.uk [mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk] On Behalf Of Gerd Petermann Sent: 4. oktober 2014 08:29 To: mkgmap-dev at lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] Incorrect runabout exit indication Hi Minko, thanks for the info. I am pretty sure that this "trick" is the cause of the problem, but I am not sure if mkgmap can be improved to handle it. If I got it right, the additional roads with access=no are also handled by the adjust-turn-headings option, so maybe they are only causing trouble here. I don't know if (or how) I can configure my Oregon to show the problem, so I've created more test maps for Johan: v3: java -jar mkgmap.jar --route --index --gmapsupp --style-file=d:\mkgmap-style-sheets-read-only\styles\world wrong-exit.osm v4: java -jar mkgmap.jar --route --index --gmapsupp --adjust-turn-headings --style-file=d:\mkgmap-style-sheets-read-only\styles\world wrong-exit.osm both with the original style files . v5: java -jar mkgmap.jar --route --index --gmapsupp --style-file=d:\mkgmap-style-sheets-read-only\styles\world wrong-exit.osm v6: java -jar mkgmap.jar --route --index --gmapsupp --adjust-turn-headings --style-file=d:\mkgmap-style-sheets-read-only\styles\world wrong-exit.osm both with a modified lines file (removed the "continue with_actions" for the roundabouts) @Johan: Please check all 4 versions Gerd > Date: Fri, 3 Oct 2014 17:56:44 +0200> From: ligfietser at online.nl > To: mkgmap-dev at lists.mkgmap.org.uk > Subject: Re: [mkgmap-dev] Incorrect runabout exit indication > > Gerd, > The new styles for Lambertus you can find here: > https://code.google.com/p/mkgmap-style-sheets/source/browse/#svn%2Ftrunk%2Fstyles%2Fworld > > The issue could be that there are two lines used for roundabouts: > > https://code.google.com/p/mkgmap-style-sheets/source/browse/trunk/styles/world/lines > > First step, an invisible routable line for the roundabouts 0x0c > > > # Roundabouts > junction=roundabout & highway=trunk [0x0c road_class=3 road_speed=2 resolution 18 continue with_actions] > junction=roundabout & highway=primary [0x0c road_class=3 road_speed=2 resolution 19 continue with_actions] > junction=roundabout & highway=secondary [0x0c road_class=2 road_speed=2 resolution 20 continue with_actions] > junction=roundabout & highway=tertiary [0x0c road_class=1 road_speed=1 resolution 21 continue with_actions] > junction=roundabout & highway=unclassified [0x0c road_class=1 road_speed=1 resolution 21 continue with_actions] > junction=roundabout & !(highway=unclassified|highway=tertiary|highway=secondary|highway=primary| highway=trunk) [0x0c road_class=0 road_speed=1 resolution 22 continue with_actions] > > > Second step, all roundabouts are made unaccessible after 0x0c is processed, in order to prevent two routable lines on top of each other: > > junction=roundabout {set access=no} > > > Third step (continue with_actions) the highways are rendered, so you can see a difference in road classes on those roundabouts. > The default mkgmap style (=Lambertus 'old style') renders all roundabouts the same. > > I think Johan's nuvi gets confused by those two routable types? > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20141004/18f64a90/attachment-0001.html>
- Previous message: [mkgmap-dev] Incorrect runabout exit indication
- Next message: [mkgmap-dev] Incorrect runabout exit indication
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list