<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 Carlos,<br><br>today I revieved the source and found that my statement was<br>no longer true, mkgmap "knows" the roads and can ignore the <br>capitalization. My argument was based on a previous version in the <br>housenumber2 branch.<br>The attached patch will solve many, but probably not all cases.<br>Instead of<br>WARN: uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberRoad e:\osm_out_work\niedersachsen\20150810_082633\63240021.o5m: found no plausible road for address Am kleinen Esch 1D(0) http://www.openstreetmap.org/node/1601720743<br><br>it will now print<br>WARN: uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator e:\osm_out_work\niedersachsen\20150810_082633\63240021.o5m: accepting match in spite of different capitalization Am Kleinen Esch 1D (http://www.openstreetmap.org/browse/way/43561741) house: http://www.openstreetmap.org/node/1601720743<br>and it will use the address.<br><br>I did not check special cases, e.g. when there are multiple close roads with different spelling.<br>Also, addr:interpolation ways with different spelling may not yet fully work,<br>but it should help in most cases.<br><br>A binary is here:<br><code><a href="http://files.mkgmap.org.uk/download/275/mkgmap.jar" target="_blank">http://files.mkgmap.org.uk/download/275/mkgmap.jar</a><br><br></code>Gerd<br><br><div>> Date: Sun, 16 Aug 2015 17:20:38 +0200<br>> From: cdavilam@orangecorreo.es<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] addr:street and street name matching for house number searchs<br>> <br>> OK, I see, not an easy matter. I will then have to deal with the nearly <br>> 90.000 lines of this type in my log for Spain;-)<br>> <br>> El 13/08/15 a las 08:10, Gerd Petermann escribió:<br>> > Hi Carlos,<br>> ><br>> > not sure what to do here. See first this discussion:<br>> > http://gis.19327.n5.nabble.com/address-search-and-case-significance-of-street-name-tp5840995.html<br>> ><br>> > My problem reg. suppression of certain messages is that current code <br>> > in mkgmap<br>> > is not able to find a nearly matching road name, so it has no way to say<br>> > "differs only in capitalization" or maybe "differs only slightly",<br>> > it just doesn't find a road.<br>> ><br>> > Gerd<br>> ><br>> > > Date: Wed, 12 Aug 2015 13:54:51 +0200<br>> > > From: cdavilam@orangecorreo.es<br>> > > To: mkgmap-dev@lists.mkgmap.org.uk<br>> > > Subject: [mkgmap-dev] addr:street and street name matching for house <br>> > number searchs<br>> > ><br>> > > HousenumberRoad throws a warning when addr:street from a node and name<br>> > > of the street the node is next to are not equal, even if they differ<br>> > > only in the capitalization. See for example nodes<br>> > > http://www.openstreetmap.org/node/2486105470 and<br>> > > http://www.openstreetmap.org/node/2486105464 (addr:street=carrer del<br>> > > Montseny) which are next to way <br>> > http://www.openstreetmap.org/way/8590864<br>> > > with name=Carrer del Montseny. One of the names is more correct than <br>> > the<br>> > > other but, having in mind that Garmin changes capitalization<br>> > > arbitrarily, I'm not sure if we should keep these warnings.<br>> > > Another case to discuss is when one of addr:street or way name contains<br>> > > special letters and the other one not (eg. Asturies vs Astúries). Here<br>> > > one of the names is wrongly written and should be corrected in OSM <br>> > data,<br>> > > so may be worth keeping the warning.<br>> <br>> -- <br>> Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, .ppt, .pptx, .mdb, mdbx<br>> Instale LibreOffice desde http://es.libreoffice.org/descarga/<br>> LibreOffice es libre: se puede copiar, modificar y redistribuir libremente. Gratis y totalmente legal.<br>> LibreOffice está en continuo desarrollo y no tendrá que pagar por las nuevas versiones.<br>> <br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>