NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am trying to install a OSM server using Nominatim but I am getting an error like this.

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 302 at FOR over SELECT rows

Does anyone has an idea what it means ?

Thanks.

asked 12 May '12, 06:52

reeuv's gravatar image

reeuv
11113
accept rate: 0%

edited 12 May '12, 06:55


Nominatim could not find the members for a relation in the planet_osm_rels table.

This happens most likely because you use an outdated version of osm2pgsql. Get the latest version of osm2pgsql from subversion, recompile it and then redo the complete Nominatim database import.

permanent link

answered 12 May '12, 18:37

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×710
×689

question asked: 12 May '12, 06:52

question was seen: 6,865 times

last updated: 12 May '12, 18:37

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum