]> git.openstreetmap.org Git - nominatim.git/commit
move filling of postcode table to python
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 12 May 2021 17:57:48 +0000 (19:57 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 13 May 2021 12:15:42 +0000 (14:15 +0200)
commita4aba23a83b0d8b3817ca88d4556cf26dbb17706
tree6ab9c3c75ec49587c78ad2b311a01bd7c0d1746f
parentcae0cf3546ef7a91ec27709c3b9e841fc82b15ed
move filling of postcode table to python

The Python code now takes care of reading postcodes from placex,
enhancing them with potentially existing external postcodes and
updating location_postcodes accordingly. The initial setup and
updates use exactly the same function.

External postcode handling has been generalized. External postcodes
for any country are now accepted. The format of the external postcode
file has changed. We now expect CSV, potentially gzipped. The
postcodes are no longer saved in the database.
.pylintrc
lib-sql/update-postcodes.sql [deleted file]
nominatim/clicmd/refresh.py
nominatim/clicmd/setup.py
nominatim/tokenizer/legacy_icu_tokenizer.py
nominatim/tokenizer/legacy_tokenizer.py
nominatim/tools/postcodes.py
nominatim/tools/refresh.py