<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Excellent initiative Pieter !<br></div><div><br></div><div>I think we should also check with the official postal code dataset from <i>bpost</i> !<br></div><div>The dataset itself is useless (not open data and bad geometry) but I think it can be used to visually compare.<br></div><div><br></div><div>You can view that dataset here : <a href="https://www.geo.be/catalog/details/2b1a3840-5263-11ea-acd1-34e12d0f0423?l=en">https://www.geo.be/catalog/details/2b1a3840-5263-11ea-acd1-34e12d0f0423?l=en</a><br></div><div><br></div><div>There are some "weird" postal codes situation that geometry based on addresses won't take into account.<br></div><div><br></div><div>Have a nice evening.<br></div><div><br></div><div id="sig98837200"><div class="signature">Jonathan Beliën<br></div></div><div><br></div><div><br></div><div>Jeu 09 déc 2021, à 17:55, Pieter Vander Vennet a écrit :<br></div><blockquote type="cite" id="qt" style=""><p></p><div>PS: The tagging for a postal code boundary relation is:
      `type=boundary; boundary=postal_code; postal_code=*`.
      Alternatively, if a postal code aligns 100% with an administrative
      boundary, one can also add `postal_code=*` on it.<br></div><div> <br></div><div> addr:postcode or addr:postalcode are incorrect for this purpose -
      there are still a few of those out there, but I'm gradually
      cleaning them up.<br></div><div> <br></div><div> Kind regards,<br></div><div> Pieter<br></div><p></p><div class="qt-moz-cite-prefix">On 09.12.21 17:49, Pieter Vander Vennet
      wrote:<br></div><blockquote type="cite" cite="mid:5fcdf3f6-a03a-bb97-d60c-9db9a125a6c7@posteo.net"><p></p><div>Hi all,<br></div><div> <br></div><div> Recently, I got the challenge to get all postal codes in
        Belgium. Turns out that there is no open dataset available to do
        this (yet).<br></div><p></p><p></p><div>OpenStreetMap already got me a long way (hooray!) but Wallonia
        is still a bit... lacking and has big holes. Time to fix this!<br></div><div> <br></div><div> (Of course, I also setup a <a href="https://pietervdvn.github.io/mc/develop/postal_codes.html?z=9&lat=50.51866&lon=5.158081&fs-export=true&language=en#relation/224757">MapComplete
          theme with the postal codes</a>)<br></div><div> <br></div><div> So, after some talk on Matrix, I downloaded an <a href="https://opendata.bosa.be/index.nl.html">Open Address
          dataset</a> (with postal codes) of Wallonia. A few scripts
        later, I had a geojson of addresses for every postal code, which
        I then could run through a convex hull algorithm, getting the
        boundaries of each postal code with an open license... <br></div><p></p><p></p><div><br></div><div>The last step is to get these outlines integrated into OSM.
        While it is quite fun to map, adding a few hundred of them is a
        bit too much work, which is why I'm asking you all for some
        help. If you have experience with JOSM and have spare time,
        please, pick out a few postal code boundaries and add them.<br></div><div> <br></div><div> <b>How to add a postal code boundary</b><br></div><p></p><p></p><div>1. Grab the dataset <a href="https://github.com/pietervdvn/pietervdvn.github.io/blob/master/missing_postal_code_boundaries.geojson">over
          here<br> </a>2. Load the data into JOSM</div><div> 3. Download the OSM-boundary data of the relevant area (e.g.
        with the 'query overpass'-mode in the download field)<br></div><div> 4. Create a multipolygon-relation, reusing already existing
        border lines of create a new line alltogether. <i>It is
          discouraged to use the actual geometry, as they can be jittery
          and jump from address point to address point<br> </i>5. Upload the data</div><div> 6. ????<br></div><div> 7. Profit!<br></div><p></p><p></p><div>Kind regards,<br></div><div> Pieter<br></div><p></p><div><br></div><pre class="qt-moz-quote-pre">_______________________________________________
Talk-be mailing list
<a class="qt-moz-txt-link-abbreviated" href="mailto:Talk-be@openstreetmap.org">Talk-be@openstreetmap.org</a>
<a class="qt-moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/talk-be">https://lists.openstreetmap.org/listinfo/talk-be</a>
<br></pre></blockquote><div>_______________________________________________<br></div><div>Talk-be mailing list<br></div><div><a href="mailto:Talk-be@openstreetmap.org">Talk-be@openstreetmap.org</a><br></div><div><a href="https://lists.openstreetmap.org/listinfo/talk-be">https://lists.openstreetmap.org/listinfo/talk-be</a><br></div><div><br></div></blockquote><div><br></div></body></html>