]> git.openstreetmap.org Git - nominatim.git/commit
rewrite address interpolation so that planet_osm_node is not needed
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 3 Oct 2014 19:55:18 +0000 (21:55 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 5 Oct 2014 20:16:02 +0000 (22:16 +0200)
commit2d6f00945ab433f51be5df0576625e29d5b6300c
treecd42bf3daf24bfc3c222bebf84a19f7bedb30c84
parent6a22d71b3b8d11d8b000b3e82f554ffa0eff63f3
rewrite address interpolation so that planet_osm_node is not needed

This allows address interpolations to work correctly when flatnode storage
is used for node coordinates.

To fix interpolations in an existing database, follow these steps:

  * invalidate all interpolations (in psql):
    `UPDATE placex SET indexed_status=2 WHERE rank_search = 28`
  * disable updates:
    ./utils/setup.php --create-functions --create-partition-functions
  * reindex the whole lot:
    ./utils/update.php --index --index-instances <number of your cpus>
  * enable updates again:
    ./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions
sql/functions.sql
sql/postgis_15_aux.sql [new file with mode: 0644]
sql/postgis_20_aux.sql [new file with mode: 0644]
tests/features/db/import/interpolation.feature [new file with mode: 0644]
tests/steps/db_results.py
utils/setup.php