Merge pull request #2035 from lonvia/add-index-to-multicountry-script

docs: need to index after updating with a file
This commit is contained in:
Sarah Hoffmann
2020-11-01 15:11:02 +01:00
committed by GitHub

View File

@@ -51,7 +51,8 @@ The file `import_multiple_regions.sh` needs to be edited as per your requirement
!!! tip !!! 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` `${SETUPFILE} --osm-file ${UPDATEDIR}/tmp/combined.osm.pbf --all 2>&1`
with `${UPDATEFILE} --import-file ${UPDATEDIR}/tmp/combined.osm.pbf 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 ### Setting up multiple regions