I'm developing a WebGIS in Linux development platform that cannot use internet and need to deal with maps and positioning.
I have used nominatim on OpenStreetMap to implement it. I use postgresql and postgis as my database according to the installation steps of OSM website. Now I have established the server, which contain one country data. I use the following statement to import the first country data:
su test
download/Nominatim-2.5.1/utils/setup.php --osm-file download/country-latest.osm.pbf --all
I try to use the following statement to import the second country data:
su test
download/Nominatim-2.5.1/utils/setup.php --osm-file download/anothercountry-latest.osm.pbf --all
It shows "the nominatim database already exists".
su test
download/Nominatim-2.5.1/utils/setup.php --osm-file download/country-latest.osm.pbf anothercountry-latest.osm.pbf --all
It shows "The file or directory could not be found".
So how do I import the second country data?