[OSM-dev] Nominatim Installation problem - nominatim.xml not found

Sarah Hoffmann lonvia at denofr.de
Wed Dec 21 07:47:48 GMT 2011


Hi,

On Wed, Dec 21, 2011 at 06:17:54AM +0700, Anwar Azulfa wrote:
> Now i have user gazetteer from
> http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/gazetteer
> 
> this is my step by step installation which i follow:
> 
> 1.createdb
> 
> 2.import sql file
> 
> cat /usr/share/postgresql/8.4/contrib/pg_trgm.sql | psql gazetteer
> cat /usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sql | psql
> gazetteer
> cat /usr/share/postgresql/8.4/contrib/postgis-1.5/spatial_ref_sys.sql |
> psql gazetteer
> 
> 3.load planet data
> ./osm2pgsql -S default.style --slim -d gazetteer -C 2048
> ~/AllMap/indonesia.osm.bz2
> 
> 4.copy lib into /usr/local/share
> sudo mkdir /usr/local/share/gazetteer
> sudo cp .libs/gazetteer.so /usr/local/share/gazetteer/gazetteer.so
> 
> 5.add suplementary data
> 
> when i import file below to db
>  cat import_country_name.sql | psql gazetteer
> 
> i get error message like http://pastebin.com/ctQScVhA

There is currently a bug in osm2pgsql. It forgets to actually commit
your data. I'm trying to get that fixed in svn. 

For the moment, I have a patch attached. Apply it, recompile osm2pgsql and 
redo everything from step 3.

Sarah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nominatim_commit.patch
Type: text/x-diff
Size: 403 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20111221/eb00c9a4/attachment.patch>


More information about the dev mailing list