From f1e381fdd4e3b391456c37cd85d021c14bf4f15f Mon Sep 17 00:00:00 2001 From: Brian Quinion Date: Tue, 22 May 2012 20:21:58 +0200 Subject: [PATCH] fix broken field name / committed debug --- sql/tables.sql | 2 +- utils/setup.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sql/tables.sql b/sql/tables.sql index 3a0c8351..d5cf7bcd 100644 --- a/sql/tables.sql +++ b/sql/tables.sql @@ -200,7 +200,7 @@ CREATE TABLE placex ( indexed_date TIMESTAMP, wikipedia TEXT, -- calculated wikipedia article name (language:title) geometry_sector INTEGER, - calaculated_country_code varchar(2) + calculated_country_code varchar(2) ); SELECT AddGeometryColumn('placex', 'centroid', 4326, 'GEOMETRY', 2); CREATE UNIQUE INDEX idx_place_id ON placex USING BTREE (place_id); diff --git a/utils/setup.php b/utils/setup.php index f520f47d..572e2c30 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -441,7 +441,6 @@ if (isset($aCMDResult['index-output'])) $sOutputFile = ' -F '.$aCMDResult['index-output']; $sBaseCmd = CONST_BasePath.'/nominatim/nominatim -i -d '.$aDSNInfo['database'].' -t '.$iInstances.$sOutputFile; passthru($sBaseCmd.' -R 4'); -var_dump($sBaseCmd.' -r 15 -R 15'); if (!$aCMDResult['index-noanalyse']) pgsqlRunScript('ANALYSE'); passthru($sBaseCmd.' -r 5 -R 25'); if (!$aCMDResult['index-noanalyse']) pgsqlRunScript('ANALYSE'); -- 2.39.5