mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-27 00:49:55 +03:00
fix broken field name / committed debug
This commit is contained in:
parent
d74cf03492
commit
f1e381fdd4
@ -200,7 +200,7 @@ CREATE TABLE placex (
|
|||||||
indexed_date TIMESTAMP,
|
indexed_date TIMESTAMP,
|
||||||
wikipedia TEXT, -- calculated wikipedia article name (language:title)
|
wikipedia TEXT, -- calculated wikipedia article name (language:title)
|
||||||
geometry_sector INTEGER,
|
geometry_sector INTEGER,
|
||||||
calaculated_country_code varchar(2)
|
calculated_country_code varchar(2)
|
||||||
);
|
);
|
||||||
SELECT AddGeometryColumn('placex', 'centroid', 4326, 'GEOMETRY', 2);
|
SELECT AddGeometryColumn('placex', 'centroid', 4326, 'GEOMETRY', 2);
|
||||||
CREATE UNIQUE INDEX idx_place_id ON placex USING BTREE (place_id);
|
CREATE UNIQUE INDEX idx_place_id ON placex USING BTREE (place_id);
|
||||||
|
@ -441,7 +441,6 @@
|
|||||||
if (isset($aCMDResult['index-output'])) $sOutputFile = ' -F '.$aCMDResult['index-output'];
|
if (isset($aCMDResult['index-output'])) $sOutputFile = ' -F '.$aCMDResult['index-output'];
|
||||||
$sBaseCmd = CONST_BasePath.'/nominatim/nominatim -i -d '.$aDSNInfo['database'].' -t '.$iInstances.$sOutputFile;
|
$sBaseCmd = CONST_BasePath.'/nominatim/nominatim -i -d '.$aDSNInfo['database'].' -t '.$iInstances.$sOutputFile;
|
||||||
passthru($sBaseCmd.' -R 4');
|
passthru($sBaseCmd.' -R 4');
|
||||||
var_dump($sBaseCmd.' -r 15 -R 15');
|
|
||||||
if (!$aCMDResult['index-noanalyse']) pgsqlRunScript('ANALYSE');
|
if (!$aCMDResult['index-noanalyse']) pgsqlRunScript('ANALYSE');
|
||||||
passthru($sBaseCmd.' -r 5 -R 25');
|
passthru($sBaseCmd.' -r 5 -R 25');
|
||||||
if (!$aCMDResult['index-noanalyse']) pgsqlRunScript('ANALYSE');
|
if (!$aCMDResult['index-noanalyse']) pgsqlRunScript('ANALYSE');
|
||||||
|
Loading…
Reference in New Issue
Block a user