Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to import osm global world data into a database created in postgreSQL but after a while of processing, I've got this error :

Reading in file: E:\planet-latest.osm\planet-latest.osm
Processing: Node(1873580k) Way(0k) Relation(0k)COPY_END for COPY planet_osm_node
 failed: ERREUR:  la valeur d'une cl├® dupliqu├®e rompt la contrainte unique ┬½
planet_osm_nodes_pkey ┬╗
CONTEXT:  COPY planet_osm_nodes, ligne 1758128898 : « 2147483647       68830134
7       -16699132       \N ┬╗

Error occurred, cleaning up

I read that I have to remove the slim mode but when I do that, another error appeared and tell me I don't have RAM enough. Have you got any idea?

share|improve this question
I need 50 reputation to comment - but - is there anyway to "bump" a question - I am running into the exact same error and have spent all day trying to import OSM data into a db on Windows using osm2pgsql - thanks! – Michael May 28 '14 at 21:51

Your Answer


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

Browse other questions tagged or ask your own question.