logo separator

[mkgmap-dev] Incorrect runabout exit indication

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Oct 4 07:29:00 BST 2014

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
 java -jar mkgmap.jar --route --index --gmapsupp --adjust-turn-headings 
both with a modified lines file (removed the "continue with_actions" for the roundabouts)

@Johan: Please check all 4 versions


> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20141004/0eacd486/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: johan2.zip
Type: application/zip
Size: 82686 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20141004/0eacd486/attachment-0001.zip>

More information about the mkgmap-dev mailing list