Hi Gerd, ideally I was looking for a solution  where we had something like mkgmap:noindex in the style to cause the label to be omitted from the index. I had a look at implementing this but came unstuck because as far as I can tell, the code that adds the index creates this from data that it reads back from the img file, which of course doesn&#39;t contain any mkgmap specific information.<br><br>There are a number of cases where mkgmap:noindex would be useful:<br><br>In the case where highway shields are used, I would prefer not to include the road number in the address index, so that when you type &quot;A&quot; you just get road names beginning with A, instead of A1, A11, A135 etc.<br>I allow (walking) routing along piers, the edges of carparks and other non-highways. If these have names, they also get included as road names in the address index and I would prefer to omit them.<br><br>I came up with the -- omit-highway-refs-from-index code as an alternative that achieved something of what I wanted, but if you can suggest a way to do this from the style, that would be better.<br><br>Regards,<br>Mike<br><br>mkgmap-dev-request@lists.mkgmap.org.uk wrote:<br><br><div dir='ltr'>Hi all,<br><br>okay, I'm back from a very nice and ofter very hot cycle trip to Greece now and will start to look at the<br>open issues. <br><br>I did not try the patch yet. If I got that right, the function is mostly useful<br>with the default style which adds the highway shield + name as a 2nd label,<br>and it is meant to reduce the index size, right?<br>My 1st aim would be to find an alternative for these style rules.<br><br>@Steve: Do you know how Garmin maps handle this case?<br><br>Gerd<br><br><br><br><br><br><div>From: mike@tvage.co.uk<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Date: Fri, 12 Jun 2015 20:26:39 +0100<br>Subject: [mkgmap-dev] option to omit road refs from index<br><br><pre>Hi Gerd, please find attached a patch that adds a new option<br>--omit-highway-refs-from-index, that causes labels containing highway<br>shields to be omitted from the address index.<br>Please try and commit if you are happy with it. Note, I am on holiday for<br>the next week, so if it needs any changes, I will look at it when I get<br>back.<br> <br>Regards,<br>Mike<br></pre><br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div></body>
</html>
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Alexandre,<br><br>if the problem is still open, please post the files again.<br><br>Gerd<br><br><div><hr id="stopSpelling">Date: Tue, 16 Jun 2015 15:20:26 -0300<br>From: alexandre.loss@gmail.com<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>CC: Adm_Tec_Tracksource@googlegroups.com<br>Subject: [mkgmap-dev] Numbering loss in the version which came after the        r3602<br><br><div dir="ltr"><div>Hi Gerd,</div><div><br></div><div><div>Since yesterday we (a group that compiles maps in Brazil) begin to see some loss of numbers in some of our maps.</div><div>As we had never had this problem before, I suspected that the error could have been introduced in some recent version of mkgmap. So, I restored some old releases for testing and I found that the numbering were generated correctly until release 3602 as seen in the image below in the white-box ("390 Rua Porto Alegre"):</div><div><br></div></div><div><i><font face="arial narrow, sans-serif">Snapshot taken form MapSource of a map compiled wiht mkgmap r3602</font></i></div><div><img src="cid:ii_14dfd2f0df45b30a" alt="Imagem inline 1" height="346" width="211"><br></div><div><br></div><div><br></div><div>Using the same source osm file, the numbering is lost in the street "Rua Porto Alegre" (for example), if the map is compiled with any newer release of mkgmap than 3602. The snapshot bellow was taken from a map compiled with release 3616::</div><div><br></div><div><i><font face="arial narrow, sans-serif">Snapshot taken form MapSource of a map compiled wiht mkgmap r3616:</font></i><br></div><div><img src="cid:ii_14dfd322b10f2f27" alt="Imagem inline 2" height="341" width="218"><br></div><div><br></div><div><br></div><div>These compiled maps img are available for tests at the file sharing area:</div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:15px;"><a href="http://files.mkgmap.org.uk/download/270/03205200_r3602.img" target="_blank">http://files.mkgmap.org.uk/download/270/03205200_r3602.img</a></span><br></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:15px;"><a href="http://files.mkgmap.org.uk/download/271/03205200_r3616.img" target="_blank">http://files.mkgmap.org.uk/download/271/03205200_r3616.img</a></span><span style="color:rgb(0,0,0);font-family:monospace;font-size:15px;"><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:15px;"><br></span></div><div>You can search for street "Rua Porto Alegre" to see the problem, but it problem can be found in other places too.</div><div><br></div><div>My guess is that the problem arose when housenumber2 brahch was merged to trunk.</div><div><br></div><div>If you need more information, please let me know.</div><div><div><br></div></div><div>Thank you.</div><div><br></div><div>Regards,</div><div><br></div><div>Alexandre</div><div><br></div><div><br></div></div>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div>