<div dir="ltr">Did the same (duplicate the admin relation, change into a postal-code relation) for Bornem and there it works as well. Sas & Nattenhaasdonkstraat now show the correct 2880 postal code. It took several minutes though before all street segments were updated.<div>
<br></div><div>Since in Belgium the postal code areas coincide with village borders, we have to double them. This 1-to-1 mapping might not be the case in other countries. When we use those postal code boundaries, we do not have to put the postal code on streets or admin relations anymore. At least not for applications that understand those boundaries.</div>
<div><br></div><div>regards</div><div><br></div><div>m</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 5, 2013 at 9:25 PM, Marc Gemis <span dir="ltr"><<a href="mailto:marc.gemis@gmail.com" target="_blank">marc.gemis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Bart,<div><br></div><div>I just added a postal_code boundary for 2840 Rumst. And yes, both the Hondstraat and Steenweg op Waarloos now get the correct postal code: 2840. They had 2550 (from Kontich) before. So postal_code boundaries are the solution for my nominatim problems.</div>
<div><br></div><div>regards</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>m</div></font></span></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Thu, Dec 5, 2013 at 5:19 PM, Bart Van Lancker <span dir="ltr"><<a href="mailto:bart@vlweb.net" target="_blank">bart@vlweb.net</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div lang="NL-BE" link="blue" vlink="purple"><div><div><div><div><div><div><p class="MsoNormal">
<u></u> <u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="color:#1f497d"><</span>I used the place= node as admin_centre. That's also the one that I moved. Should there be a difference between the two ?<u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="color:#1f497d"><</span>As for the two relations: I'm still fighting nominatim. I want all the street(segments) within the Muizen area to return 2812 as post code. In Germany they use the dedicated boundary=postal_code. This is also what <span style="color:#1f497d"><</span>was recommended by someone on a similar question on <a href="http://help.openstreetmap.org" target="_blank">help.openstreetmap.org</a>. <u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="color:#1f497d"><</span>So I tried that.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><div><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">That’s what I’m trying to do in Ghent, and it doesn’t work. I’ve defined the “deelgemeenten” with their postal code (actually as a boundary=administrative), but there seem to be some postal codes “hardcoded” in Nominatim, which seem to have preference over the postal code bounbdaries.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Examples :<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Waterkluiskaai in Sint-Amandsberg still has postal code 9050, although in reality it has 9040 :<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><a href="http://www.openstreetmap.org/search?query=waterkluiskaai#map=17/51.04681/3.75473" target="_blank">http://www.openstreetmap.org/search?query=waterkluiskaai#map=17/51.04681/3.75473</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Sint-Amandsberg has 9040, which is correct :<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><a href="http://www.openstreetmap.org/search?query=sint-amandsberg#map=17/51.04681/3.75473" target="_blank">http://www.openstreetmap.org/search?query=sint-amandsberg#map=17/51.04681/3.75473</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">9040 is NOT hardcoded in Nominatim :<u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"> <a href="http://www.openstreetmap.org/search?query=9040#map=17/51.04681/3.75473" target="_blank">http://www.openstreetmap.org/search?query=9040#map=17/51.04681/3.75473</a><u></u><u></u></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal">9050 is :<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
<a href="http://www.openstreetmap.org/search?query=9050#map=17/51.04681/3.75473" target="_blank">http://www.openstreetmap.org/search?query=9050#map=17/51.04681/3.75473</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">So everything near the 9050 “node” will get the postal code 9050, regardless of boundaries :<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><a href="http://www.openstreetmap.org/search?query=tarbotstraat#map=17/51.04557/3.74683" target="_blank">http://www.openstreetmap.org/search?query=tarbotstraat#map=17/51.04557/3.74683</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">while Tarbotstraat is within the 9000 boundary, but close to the “9050 virtual node”<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
The only solution is to add the postal_code on street level…<u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div></div></div></div></div></div><br></div></div><div class="im">_______________________________________________<br>
Talk-be mailing list<br>
<a href="mailto:Talk-be@openstreetmap.org" target="_blank">Talk-be@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-be" target="_blank">https://lists.openstreetmap.org/listinfo/talk-be</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>