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

hi everyone, i installed nominatim in my ubuntu machine for India alone, now i wants to add more countries. i know its possible, so i just tried using

./utils/setup.php --osm-file andorra-latest.osm.pbf --import-data

then it show the below message for long time

Import
osm2pgsql SVN version 0.83.0 (64bit id space)

Using projection SRS 4326 (Latlong)

NOTICE:  drop cascades to function get_word_score(wordscore[],text[])
NOTICE:  type "stringlanguagetype" does not exist, skipping
NOTICE:  type "keyvaluetype" does not exist, skipping
Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Allocating memory for sparse node cache
Sharing dense sparse
Node-cache: cache=6123MB, maxblocks=783744*8192, allocation method=11
Mid: pgsql, scale=10000000 cache=6123
Setting up table: planet_osm_nodes
NOTICE:  table "planet_osm_nodes" does not exist, skipping
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_nodes_pkey" for table "planet_osm_nodes"
Setting up table: planet_osm_ways

Can anybody suggest possible way to get out of this and also any easiest steps available to import.

asked 30 Jan '14, 07:31

Arun%20kmp's gravatar image

Arun kmp
63141519
accept rate: 0%

edited 30 Jan '14, 07:40

scai's gravatar image

scai ♦
33.3k21309459


The command you used more or less replaces the content of your DB instead of adding to it. See this question for instructions on how to add another file to a Nominatim database. Note that it explicitly states that pbf is not supported. You need to convert your osm file to xml first.

permanent link

answered 30 Jan '14, 08:48

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:

×689
×44

question asked: 30 Jan '14, 07:31

question was seen: 3,997 times

last updated: 30 Jan '14, 08:48

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