Good day

I've installed Nominatim and am now trying to to import my country using the command:

./utils/setup.php --osm-file ../../all-data.pbf --all --osm2pgsql-cache 512 2>&1

It starts off with NOTICE: table "place" does not exist, Skipping. Afterwards, it seems to work fine until it tried to get data from the "place" table (which does not exist).

The error is: relation place does not exist.

Why does the place table not exist? Shouldn't all required tables be created by the setup.php file? Or am I missing something?

EDIT:

I should point out that I used osmconvert to merge two regions. I'm now trying to import only one of them and while it still gives me the same notice, it seems to be importing the data. Maybe something went wrong with the osmconvert process. Will update here if the one region actually imports successfully and maybe just import the second with update.php (although I think its slower).

asked 02 Nov, 10:16

wesleyjmertz's gravatar image

wesleyjmertz
112
accept rate: 0%

edited 02 Nov, 10:34

1

You can ignore the NOTICE output. In SQL Nominatim wants to replace tables/functions and postgresql prints this if it previously doesn't exist (expected during a first installation). We haven't found a way to disable those yet. Place table not existing after the setup.php run would mean no suitable places to import were found in the input data, maybe the region is too small.

(02 Nov, 11:02) mtmail
Be the first one to answer this question!
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:

×517

question asked: 02 Nov, 10:16

question was seen: 138 times

last updated: 02 Nov, 11:02

powered by OSQA