<!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=UTF-8" /><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,<br>
<br>
@Frederik: Nominatim isn’t the only reverse geocoder and it has it’s problems, e.g. the missing tolerance for typos/whitespaces caused me to build a completely separate reverse geocoding tool for a particular use case I was working on. So adding something just to Nominatim fixes the problem at the wrong end because then only Nominatim would benefit from it ….<br>
<br>
@Tom: Agreed, there are some countries where this probably doesn’t make sense. I did some research on Austria and their postal code system is based on the numbers of the postal distribution hubs and in the majority of cases the postal code regions form “closest hub”-cells (travel distance, not as the crow flies). Switzerland also seems to work similarly. That’s one of the reasons why I didn’t want to use a fully automatic procedure but this “generate and edit” approach. If the shapes are weird, it shows that the approach is wrong for that country.<br>
<br>
@Jo: That’s what I thought at first as well. But when I did manual editing and research, I found that there are more cases then not where postal code boundaries actually do not align with admin boundaries. Sometimes it’s a question of “this small village belongs to the other postal code”, sometimes it’s that 3 admin boundaries actually cover 4 postal code regions, etc...<br>
@Jo: Wow, that’s impressive! How did the community manage to tag every house?!? I believe you are right: if every house has proper postal code information, than all the use cases I can think of would work without having explicit postal code shapes. Unfortunately, for Germany, Austria, Switzerland and Polen, we’re far from having even the majority of houses covered… also, as far as I understand it, postal codes were invented to be districts of postal distribution to optimise delivery, so for most countries they should form sensible regions.<br>
<br>
@Colin: Definitely! What I currently do is use a list of “valid” postal codes for filtering out such non-addressable post boxes. I also use that list and produce a statistic so I can double-check that all post codes are represented in my data point set and figure out which postal codes would need more data points to better define the shape.<br>
<br>
Alex</p></body></html>