<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hi All,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have come across an unusual routing behaviour in BaseCamp on a stretch of road in Lusaka. When using the driving profile with no avoidances selected and the shorter distance route preference selected the route shown diverts down a link road and is obviously not the shortest route. Changing the route preference to faster time shows a more obvious route. Both route preferences should, in my opinion,  be the same. See attached screen shots.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>After some investigations it would appear that this occurs when the –bounds option is used with bounds-latest.zip, if I do not use this option it routes as expected.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The following are the commands used with mkgmap r4587:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Routing problem:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>java.exe -jar C:\Users\Dave\Documents\Maps\Utils\mkgmap-r4587\mkgmap.jar `<o:p></o:p></p><p class=MsoNormal>                --output-dir='C:\Users\Dave\Documents\Maps\Temp\Output' `<o:p></o:p></p><p class=MsoNormal>                -c C:\Users\Dave\Documents\Maps\Options\Default.cfg `<o:p></o:p></p><p class=MsoNormal>                -c C:\Users\Dave\Documents\Maps\Zambia\Split_Files\template.args `<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The Default.cfg file has the following options:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='text-indent:36.0pt'>country-name="Zambia"<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>area-name="Zambia"<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>country-abbr="ZMB"<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>overview-mapname=Zambia<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>product-id=1<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>family-id=2526<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>draw-priority=20<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>max-jobs                             <o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>keep-going<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>tdbfile<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>order-by-decreasing-area<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>gmapsupp<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>bounds=C:\Users\Dave\Documents\Maps\Data\bounds-latest.zip<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>latin1<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>index<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>route<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>remove-ovm-work-files<o:p></o:p></p><p class=MsoNormal style='text-indent:36.0pt'>nsis<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>By commenting out the bounds option I change the routing behaviour. I have not used any typ or style files in case they were the cause of this. Also not tried on my Garmin device yet to see if the same behaviour occurs there as well. The routing error I have found occurs at this intersection but may occur elsewhere <a href="https://www.openstreetmap.org/#map=19/-15.45547/28.26647">https://www.openstreetmap.org/#map=19/-15.45547/28.26647</a>. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>After some experimentation this only happens when the adjoining way is tagged as a link road, in this case primary_link. Using JOSM I have changed the tag to secondary and later primary, saved the file to my laptop then processed the saved file and the unusual routing does not occur.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal>Dave<o:p></o:p></p></div></body></html>