I'm building an OSM server using osm2pgsql and mapnik. I began the PostGIS import a couple of days ago, and it was chugging along just fine until sometime overnight, when I got this error:

Processing: Node(1312851k 68.0k/s) Way(119415k 0.75k/s) Relation(1230921 11.96/s)  parse time: 281588s

Reading in file: /dev/stdin
Unknown node type 8
insert_node failed: ERROR:  duplicate key value violates unique constraint "planet_osm_nodes_pkey"
DETAIL:  Key (id)=(1) already exists.
(7)
Arguments were: 1, 666549596, 104993388, (null),
Error occurred, cleaning up

Any suggestions?

asked 09 Jan '12, 20:52

Roger%20Weeks's gravatar image

Roger Weeks
11112
accept rate: 0%

edited 09 Jan '12, 21:40

Gnonthgol's gravatar image

Gnonthgol ♦
13.6k15101198

I recently ran into the same error - anyone have any suggestions?

(28 May '14, 19:19) aug_aug

permanent link

answered 03 Apr '15, 22:55

iqqmuT's gravatar image

iqqmuT
111
accept rate: 0%

Your answer
toggle preview

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:

×313
×213
×122
×22

question asked: 09 Jan '12, 20:52

question was seen: 5,724 times

last updated: 03 Apr '15, 22:55

powered by OSQA