I work in project of geocoding so i want to import the OpenStreetMaps 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 hen 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 package. Any idea guys ?? thanks in advance