I work in project of geocoding so Ii want to import the OpenStreetMap data. I created a database and name it Nominatim and I tried this command:
sudo ./utils/setup.php --osm-file morocco-latest.osm.pbf --all –osm2pgsql-cache 18000 2>&1 | tee setup.log
It shows me this message:
CREATE DB
ERROR: database already exists ( pgsql : // @/nominatim)
Now when I delete my database Nominatim it shows this error message:
ERROR: unable to find /usr/pgsql-9.3/share/contrib/postgis-1.5/postgis.sq
BTW I installed postgres with all the packages.
Any idea what the issue is?