Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am currently importing a bz2 country file into PostgreSQL 9.1 database for Nominatim 2 using its setup.php that runs osm2pgsql.

After processing the nodes. it seems to be stuck at a certain spot for hours without any changes and both CPU/memory usage for the server went down to idle levels.

Any idea what happened? The full output can be found here.

Output Snippet

                            addgeometrycolumn
--------------------------------------------------------------------------
 public.import_polygon_error.prevgeometry SRID:4326 TYPE:GEOMETRY DIMS:2
(1 row)

                            addgeometrycolumn
-------------------------------------------------------------------------
 public.import_polygon_error.newgeometry SRID:4326 TYPE:GEOMETRY DIMS:2
(1 row)

CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE INDEX
CREATE TABLE
ALTER TABLE
Partitions
share|improve this question
add comment

1 Answer

I ended up using imposm due to crashes with osm2pgsql. There's a pretty good step by step guide here for importing an osm data set.

Hope this helps out

share|improve this answer
    
Thanks, I'm in the process of checking imposm out! As for the setup done by Nominatim, how should I combine that with the import using imposm? –  Nyxynyx Sep 13 '12 at 20:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.