<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 Thorsten,<br><br>I've committed r3475 as a work around for these problems.<br>The problem cases are more or less similar: <br>Many (&gt; 50) nearly random addresses are assigned to one small part of the road.<br>Typically this happens because they are only connected to the road<br>via unnamed foot ways or service roads, samples:<br><a href="http://www.openstreetmap.org/way/60838113" target="_blank">http://www.openstreetmap.org/way/60838113</a><br><br><a href="http://www.openstreetmap.org/way/127718589#map=18/50.01873/14.36437" target="_blank">http://www.openstreetmap.org/way/127718589#map=18/50.01873/14.36437</a><br><a href="http://www.openstreetmap.org/way/25464597" target="_blank">http://www.openstreetmap.org/way/25464597</a><br><br>(even more complex because the algo tries to move the numbers<br>between the two roads)<br><br>The current algo is not very effective here, it produces a lot of these<br>zero length intervals, each containing only a few numbers.<br>I am looking for a better one that detects the minimum number of intervals.<br><br>Maybe mkgmap should try to find any routable unnamed road which is only connected to <br>the named road and is also close to this bunch of numbers?<br>These roads could then be named to allow better address search.<br><br>Gerd<br><br><br><div>&gt; Date: Mon, 23 Feb 2015 10:13:59 +0100<br>&gt; From: kukuk@suse.de<br>&gt; To: mkgmap-dev@lists.mkgmap.org.uk<br>&gt; Subject: Re: [mkgmap-dev] SEVERE log messages from housenumber2 r3471<br>&gt; <br>&gt; On Mon, Feb 23, Gerd Petermann wrote:<br>&gt; <br>&gt; &gt; Hi Thorsten,<br>&gt; &gt; <br>&gt; &gt; yes, please upload the file. Maybe it is related to tile boundaries.<br>&gt; &gt; We have no special code in splitter to make sure that house numbers<br>&gt; &gt; are complete. <br>&gt; <br>&gt; <br>&gt; http://osm.thkukuk.de/tmp/71300045.osm.pbf<br>&gt; <br>&gt; The options I did use (stripped down):<br>&gt; <br>&gt; mkgmap --precomp-sea=sea --bounds=bounds --location-autofill=bounds,is_in,nearest --add-pois-to-areas --pois-to-areas-placement=entrance=main;entrance=yes;building=entrance;barrier=entrance --reduce-point-density=4 --reduce-point-density-polygon=8 --min-size-polygon=8 --polygon-size-limits=24:8,18:4,17:2,16:0 --make-opposite-cycleways --name-tag-list=name,place_name,loc_name --link-pois-to-ways --route --net --index --housenumbers --gmapsupp -c maps.cfg<br>&gt; <br>&gt;   Thorsten<br>&gt; <br>&gt; &gt; Gerd<br>&gt; &gt; <br>&gt; &gt; &gt; Date: Mon, 23 Feb 2015 08:53:27 +0100<br>&gt; &gt; &gt; From: kukuk@suse.de<br>&gt; &gt; &gt; To: mkgmap-dev@lists.mkgmap.org.uk<br>&gt; &gt; &gt; Subject: Re: [mkgmap-dev] SEVERE log messages from housenumber2 r3471<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; Hi Gerd,<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; On Mon, Feb 23, Gerd Petermann wrote:<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; Hi Thorsten,<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; I was able to reproduce the "unexpected result" messages, but I found<br>&gt; &gt; &gt; &gt; no "zero length interval" message for Germany, Austria and an older <br>&gt; &gt; &gt; &gt; Czech-republic download from end of 2014.<br>&gt; &gt; &gt; &gt; Maybe that one depends on the style?<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; I can reproduce it with the default style:<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; 2015/02/23 08:33:12 INFO (ExtNumbers): 71300045.osm.pbf: detected unplausible co<br>&gt; &gt; &gt; mbination of intervals in Viovka 130..75 and 79..79 houses: right [130(26), 12<br>&gt; &gt; &gt; 7(26), 75(26)] right [79(0)] road id(s):127718589, 25464598<br>&gt; &gt; &gt; 2015/02/23 08:33:12 INFO (ExtNumbers): 71300045.osm.pbf: duplicating number node<br>&gt; &gt; &gt;  in road id=127718589, Viovka (n26),N,0,0,B,130,75 [] [130(26), 127(26), 75(26<br>&gt; &gt; &gt; )]<br>&gt; &gt; &gt; 2015/02/23 08:33:12 INFO (ExtNumbers): 71300045.osm.pbf: zero length interval ad<br>&gt; &gt; &gt; ded in street id=127718589, Viovka (n26),N,0,0,B,130,75 ==&gt; (n26),N,0,0,N,0,0 <br>&gt; &gt; &gt; + (n27),N,0,0,O,127,75<br>&gt; &gt; &gt; 2015/02/23 08:33:12 SEVERE (ExtNumbers): 71300045.osm.pbf: zero length interval has no numbers in road id=127718589, Viovka<br>&gt; &gt; &gt; 2015/02/23 08:33:12 INFO (ExtNumbers): 71300045.osm.pbf: detected unplausible combination of intervals in Viovka 127..75 and 79..79 houses: right [127(27), 75(27)] right [79(0)] road id(s):127718589, 25464598<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; I can upload 71300045.osm.pbf later when I'm in the office.<br>&gt; &gt; &gt; <br>&gt; &gt; &gt;   Thorsten<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; -- <br>&gt; &gt; &gt; Thorsten Kukuk, Senior Architect SLES &amp; Common Code Base<br>&gt; &gt; &gt; SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany<br>&gt; &gt; &gt; GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; mkgmap-dev mailing list<br>&gt; &gt; &gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; &gt; &gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>&gt; &gt;                                                <br>&gt; <br>&gt; &gt; _______________________________________________<br>&gt; &gt; mkgmap-dev mailing list<br>&gt; &gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; &gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Thorsten Kukuk, Senior Architect SLES &amp; Common Code Base<br>&gt; SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany<br>&gt; GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)<br>&gt; _______________________________________________<br>&gt; mkgmap-dev mailing list<br>&gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                               </div></body>
</html>