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

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 '18, 10:16

wesleyjmertz's gravatar image

wesleyjmertz
11112
accept rate: 0%

edited 02 Nov '18, 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 '18, 11:02) mtmail

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:

×689

question asked: 02 Nov '18, 10:16

question was seen: 3,237 times

last updated: 02 Nov '18, 11:02

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