I try install nominatim, but I failed!
I get error:
How I can create and install “placex” relation? How fix this item?
I googled this problem, but not found working solution. I know that are exits ready web-services, but I have specific requirements to nominatim.
I download nominatim from: http://www.nominatim.org/release/Nominatim-2.2.0.tar.bz2 and planet file from: http://planet.openstreetmap.org/planet/planet-latest.osm.bz2
I import file to postgres 9.3 db.
I try nominatim two different methoods.
First is faster:
admin@myServer:~/data/www/test/nominatim$ ./utils/setup.php --create-db --setup-db --create-functions --create-tables ... #database created without errors, all OK. admin@myServer:~/data/www/test/nominatim$ osm2pgsql/osm2pgsql -s -S osm2pgsql/default.style -C 11000 -U admin -d testDB -k -c --number-processes 24 planet-latest.osm.bz2
While I execute osm2pgsql command, I get next errors messages:
And nominatim/website scripts not working, because not found “placex” relation.
I don`t understand, why “server closed the connection unexpectedly”, but problem recurs when you run the process again. May be I doning incorrect and not all necessary params in “setup.php” command?
Second method is more longer, but after his execute, I have less tables and rows in my db.
Second method run one command:
admin@myServer:~/data/www/test/nominatim$ ./utils/setup.php --osm-file planet-latest.osm.bz2 --all --osm2pgsql-cache 12000
And I suspect that he is not satisfied until the end of process. I get next message:
And in database I have less tables and rows, than obtained using the first method of importing data.
All it is very very bad. What I doing incorrect? What advice can you give me to expand the nominatim correctly?
Thanks for help