Adds code to merge place polygon and points using:

label relation member
  admin_center, admin_centre relation member (with same name)
  exact name, search_rank and location match

Adding this requires a new column and index:
  SELECT AddGeometryColumn('placex', 'centroid', 4326, 'GEOMETRY', 2);
  CREATE INDEX idx_placex_linked_place_id ON placex USING BTREE (linked_place_id);
This commit is contained in:
Brian Quinion
2012-04-01 01:40:50 +01:00
parent 80cf5df1cd
commit 041b3edf89
5 changed files with 148 additions and 2 deletions

View File

@@ -27,6 +27,7 @@
@define('CONST_Default_Zoom', 2);
@define('CONST_Search_AreaPolygons_Enabled', true);
@define('CONST_Search_AreaPolygons', true);
@define('CONST_Suggestions_Enabled', false);