This was meant to go to the list...

----- Forwarded message from Sarah Hoffmann <[email protected]> -----

Hi Adrian,

On Fri, Jun 29, 2012 at 11:22:12AM +0200, Adrian Chapela wrote:
> 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

Your osm2pgsql is most likely too old. Try out the very latest version
of Nominatim from git. It comes bundled with the correct version of
osm2pgsql. Please note that the compilation instructions have changed
slightly. The wiki site has been updated.

Sarah


_______________________________________________
Geocoding mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/geocoding

Reply via email to