You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some countries like the UK or the Netherlands have hierarchical postcodes where a part of the postcode can be left out to designate a larger area. In OSM both the long and short form may be mapped. And a user may search for either of them.
Nominatim should be able to match hierarchical postcodes against any longer and shorter form. A couple of thoughts what needs to be done for this:
Parsing of country-specific postcode formats is required for import and search.
On import/update, short form centroids need to be derived from longer forms for the postcode table. They should be marked, so that they are not used for the calculated postcode in places.
On search, postcodes need to be looked up from longest to shortest form.
The text was updated successfully, but these errors were encountered:
Some countries like the UK or the Netherlands have hierarchical postcodes where a part of the postcode can be left out to designate a larger area. In OSM both the long and short form may be mapped. And a user may search for either of them.
Nominatim should be able to match hierarchical postcodes against any longer and shorter form. A couple of thoughts what needs to be done for this:
The text was updated successfully, but these errors were encountered: