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
5.1k14976
accept rate: 38%

Your answer
toggle preview

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:

×548
×530

question asked: 12 May '12, 06:52

question was seen: 4,042 times

last updated: 12 May '12, 18:37

powered by OSQA