X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3a41b0dfbf3860826911dbb0b36b546bc02ffe28..87b6810eba9246bfa11bea7661f44c4773c73fd2:/docs/Import_and_update.md diff --git a/docs/Import_and_update.md b/docs/Import_and_update.md index 2f40312a..b367a430 100644 --- a/docs/Import_and_update.md +++ b/docs/Import_and_update.md @@ -19,6 +19,8 @@ Add to your settings/local.php: @define('CONST_Osm2pgsql_Flatnode_File', '/path/to/flatnode.file'); +Replace the second part with a suitable path on your system and make sure +the directory exists. There should be at least 35GB of free space. Downloading additional data --------------------------- @@ -102,8 +104,16 @@ instance by following these steps: ./utils/setup.php --import-tiger-data + 5. Enable use of the Tiger data in your `settings/local.php` by adding: + + @define('CONST_Use_US_Tiger_Data', true); + + 6. Apply the new settings: + + ./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions + Be warned that the import can take a very long time, especially if you -import all of the US. +import all of the US. The entire US adds about 10GB to your database. Updates