[OSM-talk-be] Completing the belgian postal code boundaries

Pieter Vander Vennet pietervdvn at posteo.net
Thu Dec 9 16:49:51 UTC 2021


Hi all,

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).

OpenStreetMap already got me a long way (hooray!) but Wallonia is still 
a bit... lacking and has big holes. Time to fix this!

(Of course, I also setup a MapComplete theme with the postal codes 
<https://pietervdvn.github.io/mc/develop/postal_codes.html?z=9&lat=50.51866&lon=5.158081&fs-export=true&language=en#relation/224757>)

So, after some talk on Matrix, I downloaded an Open Address dataset 
<https://opendata.bosa.be/index.nl.html> (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...


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.

*How to add a postal code boundary
*

1. Grab the dataset over here
<https://github.com/pietervdvn/pietervdvn.github.io/blob/master/missing_postal_code_boundaries.geojson>2. 
Load the data into JOSM
3. Download the OSM-boundary data of the relevant area (e.g. with the 
'query overpass'-mode in the download field)
4. Create a multipolygon-relation, reusing already existing border lines 
of create a new line alltogether. /It is discouraged to use the actual 
geometry, as they can be jittery and jump from address point to address 
point
/5. Upload the data
6. ????
7. Profit!
//

//Kind regards,
Pieter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-be/attachments/20211209/d8cc9a9d/attachment.htm>


More information about the Talk-be mailing list