Nominatim/sql
Sarah Hoffmann 2d6f00945a 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
2014-10-05 22:16:02 +02:00
..
country_grid.sql update osm country grid to fully ODBL compatible data set. Update country_grid generation script. 2012-11-14 21:46:48 +00:00
functions.sql rewrite address interpolation so that planet_osm_node is not needed 2014-10-05 22:16:02 +02:00
hstore_compatability_9_0.sql hstore in 9.2 replaces k=>v with hstore(k,v). Update sql to reflect change and introduce compatability function for pre 9.1 postgresql 2012-11-01 01:46:19 +00:00
indices.src.sql add simplified geometry index for reverse queries 2014-09-07 17:17:49 +02:00
loaddata.sql data partitioning 2010-10-26 15:22:41 +00:00
partition-functions.src.sql omit places with zero address rank from address lookup tables 2014-05-18 21:45:29 +02:00
partition-tables.src.sql remove unused columns from word and search_name_* tables 2013-04-09 22:44:05 +02:00
postgis_15_aux.sql rewrite address interpolation so that planet_osm_node is not needed 2014-10-05 22:16:02 +02:00
postgis_20_aux.sql rewrite address interpolation so that planet_osm_node is not needed 2014-10-05 22:16:02 +02:00
tables-minimal.sql fix typo mentioned by mathieu monney on mapquest's forum two weeks ago. this typo is responsible for 'location_property_tiger does not exist' errors. 2011-10-21 06:48:04 +00:00
tables.sql revoke most of www-data's write rights 2013-09-29 17:22:49 +02:00
tiger_import_finish.sql import TIGER data into temporary table 2012-08-18 10:30:42 +02:00
tiger_import_start.sql update tiger import for changes to functions.sql 2014-06-26 17:12:39 +01:00
update_bigint.sql bigint update script 2011-06-10 13:41:51 +00:00