<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 Steve, <br><br>great, that was fast !<br>When you say city I understand it is an int that points to a table of cities,<br>and this table also contains corresponding region and country info?<br><br>What about zip codes?<br><br>Line 217 in NetDisplay shows this<br>printAddrInfo(d, addrFlags >> 2, "zip", zipSize);<br>but I don't see corresponding code in printAddrInfo().<br><br>@Andrzej:<br>It would also be very intersting to know <br>how address search works when a road connects<br>two different cities and both cities have equal numbers.<br>Sample: Road X starts in city A and has numbers 1..19 in that<br>city, it ends in city B and has numbers 1..7 in B.<br>What happens if I search for number 5 in road X without<br>specifying a city? What happens with A or B?<br><br>Up to now we write data that will show the numbers in A or in B,<br>but not both. <br><br>Gerd<br><br><div>> Date: Wed, 15 Apr 2015 23:46:40 +0100<br>> From: steve@parabola.me.uk<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] inc/address and --housenumbers<br>> <br>> <br>> Hi Gerd<br>> <br>> I think that display now works for at least some cases. It is much<br>> simpler than I was thinking. There is a list of cities with<br>> some flags to say if it applies to the left or right hand side of<br>> the road or both and which node it applies from.<br>> <br>> The interpretation may not be completely correct, but at least<br>> the numbers look reasonable on one test file.<br>> <br>> ..Steve<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>