[Geocoding] Nominatim data import error: ERROR: DB Error: no such table

Sarah Hoffmann lonvia at denofr.de
Tue Jul 17 08:05:54 BST 2012


On Tue, Jul 17, 2012 at 08:03:01AM +0200, Gabriel Rossetti wrote:
> On 07/17/2012 07:59 AM, Datendelphin wrote:
> >
> >>Hi,
> >>
> >>I tried that, here is what I get:
> >>
> >>/opt/Nominatim/osm2pgsql/osm2pgsql -lsc -O gazetteer --hstore -C
> >>217 -d nominatim /tmp/switzerland.osm
> >Hi
> >
> >Looks good, and I see finally osm2pgsql runs! (in your previous
> >reports, it failed because of command line. What was it?)
> >
> >With the segmentation fault, I can't reproduce that. Which file ar
> >you using?
> >http://download.geofabrik.de/osm/europe/switzerland.osm.bz2?
> >
> >datendelphin
> Hi, ok. I was running:
> 
> ./utils/setup.php --osm-file switzerland.osm --all
> 
> Yes, that is the file.

It's possible your osm file is somehow broken. Can you download it
again and try with the newer version. And I'm not sure if you are
unpacking the file first. There is no need for that. Just use the
packed osm.bz2 as is.

If it still doesn't work, there might be a compilation problem with
osm2pgsql. Please rerun ./configure in /opt/Nominatim and attach the
complete output of that.

Sarah



More information about the Geocoding mailing list