<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html lang="de" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html charset=ISO-8859-1" /><title></title><style type="text/css">html,body{background-color:#fff;color:#333;line-height:1.4;font-family:sans-serif,Arial,Verdana,Trebuchet MS;}</style></head><body><p>Hi all,</p>

<p>I'm working on programatically generating postal code areas to improve reverse geocoding quality for Switzerland, Austria, Italy and some other European countries where there is no or only insufficent postal code relations. Austria and Switzerland sometimes have postal code tags on their admin level 8 boundaries, but this is incorrect (in most cases postal code area != district area) and especially in large cities there is no information (because this would require multiple postal codes to be mapped to one admin boundary).</p>

<p>Basically I'm using a semi-automatic process which takes all the know data points (e.g. buildings/nodes with an explicit postal code tagged to them) in OSM, generate voronoi cells and then merge them to larger regions. Then I do manually editing and clean up in my tool (aligning boundaries more nicely, reducing number of nodes, etc) and finally want to import the results as new relations into OSM. I did some evaluations on Austria against a real life data set and although the computed regions can only be an approximation, it did improve the quality of answers a lot! I did some basic write up of the details plus screenshots here:</p>

<p>https://metashapes.com/blog/reconstruction-postal-code-areas-using-openstreetmap/</p>

<p>Looking great so far, right now I'm developing/testing my tool on Liechtenstein because it's a smaller test set. There are two things where I hope the community might help:</p>

<p>- Is there any <strong>further data source that has points of interest</strong> or something similar <strong>with postal code</strong> information? Using street/postal-code pairs contained in OSM seem to produce a lot of false information, so I'm looking for longitude/latitude/postal-code triples in CH, AU, NL, PL, IT. Right now, for licensing reasons I'm only using information that's already inside OSM and additional data points from OpenGeoDB. Perhaps a list of restaurants or public places could be used to query OSM for their geo-coordinate... I'm mostly interested in CH/AU.<br>
- What's the best way to get the information back into OSM? I guess I could either use a C++-library to directly import it from my tool, export my data to some shape file format and then use some other means to put it into OSM (e.g. through JOSM or some bot). I'm also more than happy to simply contribute the shape information <strong>if someone else has more experience with importing such information</strong> into OSM! I unfortunately won't be able to share the code of the tool itself...</p>

<p>Any input and/or help is highly welcomed!</p>

<p>Alex</p>

<div ></div></body></html>