X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/301fd7f7e8d97755849e26427c12eed070f21b5f..b9b6b075cc3cc12daa5ba48742e010b3e5e9550e:/docs/admin/Advanced-Installations.md?ds=sidebyside diff --git a/docs/admin/Advanced-Installations.md b/docs/admin/Advanced-Installations.md index 5701992c..d5e6e889 100644 --- a/docs/admin/Advanced-Installations.md +++ b/docs/admin/Advanced-Installations.md @@ -47,15 +47,16 @@ The file `import_multiple_regions.sh` needs to be edited as per your requirement BASEURL="https://download.geofabrik.de" DOWNCOUNTRYPOSTFIX="-latest.osm.pbf" - + +### Setting up multiple regions + !!! tip - If your database already exists and you want to add more countries, replace the setting up part + If your database already exists and you want to add more countries, + replace the setting up part `${SETUPFILE} --osm-file ${UPDATEDIR}/tmp/combined.osm.pbf --all 2>&1` with `${UPDATEFILE} --import-file ${UPDATEDIR}/tmp/combined.osm.pbf --index --index-instances N 2>&1` where N is the numbers of CPUs in your system. -### Setting up multiple regions - Run the following command from your Nominatim directory after configuring the file. bash ./utils/import_multiple_regions.sh @@ -154,7 +155,7 @@ Make sure that the PostgreSQL server package is installed on the machine the PostgreSQL server itself. Download and compile Nominatim as per standard instructions. Once done, you find -the nomrmalization library in `build/module/nominatim.so`. Copy the file to +the normalization library in `build/module/nominatim.so`. Copy the file to the database server at a location where it is readable and executable by the PostgreSQL server process.