[OSM-dev] Problem with duplicate keys

Adrian Chapela achapela.rexistros at gmail.com
Wed Aug 10 10:54:26 BST 2011


I am trying to make my own nominatim server with some countries of the
world but I am having a lot of duplicate keys when I am trying to add a
country.

Example:
I import hait+dominican republic
./osm2pgsql -lsc -O gazetteer -C 2000 -U postgres -d gazetteer
haiti-and-domrep.osm

Then when I am tried to add cuba I am receiving duplicate key error:
./osm2pgsql -las -C 2000 -O gazetteer -U postgres -d gazetteer cuba.osm


How could I solve that ? or How could I find where is the error ?

Thank you



More information about the dev mailing list