Tollanen herjaus tulee kun ekan jälkeen alkaa lisäilee,…
===
joni@mpi1:~/src/ogr2osm$ osm2pgsql -a --database gismtkosm --slim M5134L.osm
osm2pgsql SVN version 0.83.0 (64bit id space)
Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
NOTICE: table “planet_osm_point_tmp” does not exist, skipping
Setting up table: planet_osm_line
NOTICE: table “planet_osm_line_tmp” does not exist, skipping
Setting up table: planet_osm_polygon
NOTICE: table “planet_osm_polygon_tmp” does not exist, skipping
Setting up table: planet_osm_roads
NOTICE: table “planet_osm_roads_tmp” does not exist, skipping
Using built-in tag processing pipeline
Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Allocating memory for sparse node cache
Sharing dense sparse
Node-cache: cache=800MB, maxblocks=102401*8192, allocation method=11
Mid: pgsql, scale=100 cache=800
Setting up table: planet_osm_nodes
Setting up table: planet_osm_ways
Setting up table: planet_osm_rels
Reading in file: M5134L.osm
Processing: Node(209k 209.7k/s) Way(17k 17.00k/s) Relation(0 0.00/s)COPY_END for COPY planet_osm_nodes FROM STDIN;
failed: ERROR: duplicate key value violates unique constraint “planet_osm_nodes_pkey”
DETAIL: Key (id)=(-2) already exists.
CONTEXT: COPY planet_osm_nodes, line 1: “-2 865508874 316732384 \N”
Error occurred, cleaning up
joni@mpi1:~/src/ogr2osm$