Hi guys, I set up my own tile server following this really good tutorial (http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/). Then I realized that I also wanted to perform geocoding on my database. How can I do that? Adding the gazetteer option when importing data with osm2pgsql? I'd like to keep my configuration (set up by the kakrueger ppa). Waiting for your help. Thanks! Lucas |
Finally I removed everything I installed from the first tutorial and, then, I followed this one (http://wiki.openstreetmap.org/wiki/Nominatim/Installation) to install Nominatim directly instead. Now I'm running into some problems (I'm importing a really small PBF file for test purpose):
Here is the log I get at the end of the import. I tried to modify the open_basedir in the php.ini file but didn't work. Any idea? Thanks |
the ".state.txt" in my case was solved by putting this file manually into settings folder of nominatim. if i remember right. it seems like a typo of '.' in filename. because file there is 'state.txt'. i just copied it myself into settings folder and run again the script.
permanent link
This answer is marked "community wiki".
|