Hi to all,

After nominatim-2.3.1 installed successfully, I want to import tiger data into nominatim database. Also installed gdal-python.

$gdalinfo --version GDAL 1.11.2, released 2015/02/10

When I execute the cmd for parse tigerdata, I got the below Exception:

./Nominatim-2.3.1/utils/imports.php --parse-tiger-2011 TIGERDATA/EDGES/

Processing 15005... Traceback (most recent call last): File "Nominatim-2.3.1/utils/tigerAddressImport.py", line 50, in <module> import ogr ImportError:No module named ogr Failed parse (TIGERDATA/EDGES/tl_2013_15005_edges.zip)

Also I tried as ./Nominatim-2.3.1/utils/imports.php --parse-tiger TIGERDATA/EDGES/

But there is no logs(not processing my request)

Kindly help me for fix the above issue/Exception.

asked 22 Jul '15, 08:16

Rajavelu_M's gravatar image

Rajavelu_M
253454858
accept rate: 33%

closed 26 Aug '15, 17:35

The question has been closed for the following reason "The question is answered, right answer was accepted" by Rajavelu_M 26 Aug '15, 17:35


ImportError:No module named ogr

Yes. python library ogr not installed properly, So only I met that err, Now I fixed & working fine.

But as per wiki,

Convert the data into SQL statements (stored in data/tiger2011):

./utils/imports.php --parse-tiger-2011 tiger_edge_data_directory

Attention:when using the latest development version, use --parse-tiger.

But not working --parse-tiger in nominatim-2.3.1 , we need to execute as --parse-tiger-2011.

permanent link

answered 05 Aug '15, 08:23

Rajavelu_M's gravatar image

Rajavelu_M
253454858
accept rate: 33%

edited 05 Aug '15, 08:43

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:

×556
×43
×27
×6
×5

question asked: 22 Jul '15, 08:16

question was seen: 2,207 times

last updated: 26 Aug '15, 17:35

powered by OSQA