Problems with nominatim and reverse geocoding

Hello,

in the last few weeks I’ve done multiple nominatim installations with a german planetfile only and based on the documentation from http://wiki.openstreetmap.org/wiki/Nominatim/Installation. I’ve used a machine with Debian Lenny 5.0 (64-Bit) and PostgreSQL 8.3. But only on one installation the reverse geocoding works fine. On all other installations I get the following error message in the apache error logfiles:


[Mon Sep 20 10:22:31 2010] [error] [client 10.1.2.9] PHP Fatal error:  Cannot use object of type DB_Error as array in /var/www/reverse.php on line 145

On each new installation I used the newest german planetfile from here: http://download.geofabrik.de/osm/. And I also checked out the latest osm2pgsql code from the subversion repository everytime. Because of the database size and the duration of the import and indexing it’s difficult to do some sort of testing. So perhaps you have got an idea, what I am doing wrong or what the problem might be.

Thanks in advance. :slight_smile:

Kind Regards,
Thomas

I can’t help you with the problem, sorry, but you might be better off asking on the osm-geocoding mailinglist ( http://lists.openstreetmap.org/listinfo/geocoding ) as you are probably more likely to find experts on the topic there than here.

Okay, I’ll do. Thanks.

Thread with the solution for that problem on the mailinglist:
http://lists.openstreetmap.org/pipermail/geocoding/2010-September/000138.html