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

Anwar Azulfa anwar at troyans.net
Wed Dec 21 08:16:39 GMT 2011


Thanks for all your reply,


I have re deploy my osm2pgsql with nominatim_commit.patch

But the error still same.http://pastebin.com/ctQScVhA

What will happen if i ignore it ?



2011/12/21 Sarah Hoffmann <lonvia at denofr.de>

> 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
>



-- 
Regards,
M.Iftakhul Anwar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20111221/7fdadb66/attachment.html>


More information about the dev mailing list