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

I have problems installing nominatim. I run the installation process by this sentence:

/usr/src/Nominatim-2.3.1$ /usr/src/Nominatim-2.2.0/utils/setup.php --osm-file /home/carto/spain-latest.osm --all --osm2pgsql-cache 18000 2>&1

I iniatilly thought it was right and the installation went ok. It araised an error called "missing relation search_blank_name" at the end of installation, but the data was there and I was able to work with it from my own scripts. However, when trying to use Nominatim when searching problmes are there and I can't use search tool. I already did a question and the sugestion for debuging with "debug=1" help mi to realized it was a problem of functions not found, functions that were suposed to be generated when installing nominatim. So I debug deeper the install process and I detected many problems of tables and functions not found. The first ones are the following:

    2015-05-21 17:36:59 CEST ERROR:  no existe la tabla «import_status»
2015-05-21 17:36:59 CEST SENTENCIA:  drop table import_status;
2015-05-21 17:36:59 CEST ERROR:  no existe la tabla «import_osmosis_log»
2015-05-21 17:36:59 CEST SENTENCIA:  drop table import_osmosis_log;
2015-05-21 17:37:00 CEST ERROR:  no existe la tabla «import_npi_log»
2015-05-21 17:37:00 CEST SENTENCIA:  drop table import_npi_log;
2015-05-21 17:37:02 CEST ERROR:  no existe la secuencia «seq_word»
2015-05-21 17:37:02 CEST SENTENCIA:  DROP SEQUENCE seq_word;
2015-05-21 17:37:06 CEST ERROR:  no existe la tabla «country»
2015-05-21 17:37:06 CEST SENTENCIA:  drop table country;
2015-05-21 17:37:06 CEST ERROR:  no existe la relación «worldboundaries» en cará    cter 171
2015-05-21 17:37:06 CEST SENTENCIA:  insert into country select iso3166::varchar    (2), 'name:en'->cntry_name, null,
          ST_Transform(geometryn(the_geom, generate_series(1, numgeometries(the_    geom))), 4326) from worldboundaries;
2015-05-21 17:37:06 CEST ERROR:  no existe la tabla «placex»
2015-05-21 17:37:06 CEST SENTENCIA:  drop table placex;

I have tried this process many times with the spanish dataset and reduced versions of it by regional entities. The results are the same.

Can anyone help me to debug deeeper or point what I am doing wrong?

asked 27 May '15, 08:48

Juanma%20MR's gravatar image

Juanma MR
41447
accept rate: 0%

I am still trying to find a solution to this.

I tried again another installation and the results are the same. When trying to use the nominatim search it says:

"function make_standard_name not found"

Afterwards, I have tried as follows:

"./utils/setup.php --create-functions"

But it did not add the functions.

I also tried updating using the same file and it did not through any error, but this process do not create missing functions:

"./utils/update.php --osm-file my_osm_file"

I am trying to debug localy to see where is it failing but making setup.php to work in local is another challenge for me. I want to make the install process to work propperly as ot havin gwarranties of the data being imported propperly is frightening.

Is there an alternative way to import data for nominatim, as imposm or any other method?

(28 May '15, 13:35) Juanma MR

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
×69
×61

question asked: 27 May '15, 08:48

question was seen: 3,232 times

last updated: 28 May '15, 13:35

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