<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 all,<br><br>attached is v1 of the patch for the issue discussed here:<br><a href="http://gis.19327.n5.nabble.com/obsolete-spaces-in-tags-tt5856850.html" target="_blank">http://gis.19327.n5.nabble.com/obsolete-spaces-in-tags-tt5856850.html</a><br><br>It implements option a) :<br>Remove spaces before style processing.<br>If I here no complains I'll commit this next Monday.<br><br>Remarks:<br>1) Unfortunately it doesn't really improve address search in Canada.<br>In my test case some more addresses are found, but a lot of <br>"found no plausible road " messages remained.<br>Reasons:<br>1) Abbreviations used in names, e.g. <br>"Av Jackson" vs "Avenue Jackson", <br>"Pl Gabriel" vs "Place Gabriel", etc.<br>Some of them might be fixed using appropriate style rules,<br>see attached patch canada_addr_v1.patch<br>2) Other spelling differences, e.g. <br>"Rue Mozart" vs "Rue de Mozart"<br>"Boulevard Saint-Laurent" vs "Rue Saint-Laurent"<br><br>2) Since r2906 obsolete spaces in the values of tags mkgmap:label:1..4 are removed<br>(after style processing). This was added with the mergeroads code. <br>@WanMil: Maybe this code in StyledConverter.elementSetup() is obsolete with the <br>new patch? <br><br>For those that like to test it:<br>see <br><code><a href="http://files.mkgmap.org.uk/download/284/mkgmap.jar" target="_blank">http://files.mkgmap.org.uk/download/284/mkgmap.jar</a><br>and my test case:<br></code><code><a href="http://files.mkgmap.org.uk/download/283/double_spaces.osm" target="_blank">http://files.mkgmap.org.uk/download/283/double_spaces.osm</a><br><br></code>Ciao,<br>Gerd<br><br><br>                                            </div></body>
</html>