[Geocoding] Error importing osm file, index_placex: UPDATE failed: ERROR: upper bound of FOR loop cannot be null

Adrian Chapela achapela.rexistros at gmail.com
Fri Jun 29 10:22:12 BST 2012


I am folling instructions of:
http://wiki.openstreetmap.org/wiki/Nominatim/Installation

At step ./utils/setup.php (importing database) the import never ends because it is sending the next error:
index_placex: UPDATE failed: ERROR:  upper bound of FOR loop cannot be null
CONTEXT:  PL/pgSQL function "get_osm_rel_members" line 6 at FOR with integer loop variable
PL/pgSQL function "placex_update" line 312 at FOR over SELECT rows

The problem is when setup.php execute the next:
nominatim -i -d nominatim -t 3 -R 4

I am using osm2pgsql 0.80 and osmosis 0.40.1

I can't find any info regarding this error.

Thank you!




More information about the Geocoding mailing list