]> git.openstreetmap.org Git - nominatim.git/commit
fix handling of postcode areas in addresses
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 30 Mar 2020 21:27:48 +0000 (23:27 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 30 Mar 2020 21:27:48 +0000 (23:27 +0200)
commit4930f776fe5b14879697a02323c5cf1621735dad
tree51c6c7be8916c907f9d8e00e52d0bcfc82e5c657
parent19948c378af897a6feed1faeb0e8c13f8e39c828
fix handling of postcode areas in addresses

The order of preference is now:
1. a post code on the place itself
2. a post code area in the address
3. the computed postcode from the place

Fixes #1723.
sql/functions/address_lookup.sql