<div dir="ltr">Hello everbody<br><div><br>I import two osm files, downloaded from <a href="http://geofabrik.de">geofabrik.de</a>, with OSM2PGSQL. The import is down by two steps:
<p>$osm2pgsql -l --create --database gis --username postgres --prefix 
planet --slim --cache 2048 /home/katia/Downloads/monaco.osm.bz2 -S 
/usr/share/osm2pgsql/default.style </p>
<p>$osm2pgsql -l --append --database gis --username postgres --prefix 
planet --slim --cache 2048 /home/katia/Downloads/bremen.osm.bz2 -S 
/usr/share/osm2pgsql/default.style</p>
<p>The two files seems to be correctly imported into postgis. I can see the data of them both in the tables. No 
duplicates. <br></p><p>But trying them visualizing them in OpenJump it displayes 
only the bremen.osm data. In PGAdmin3 it shows me that the tables do not
 have any primary key. How do set them correctly? Or is a spatial index not updated? Anyone with an idea?</p><p><br></p><p>Thanks a lot.</p><p>Carsten<br></p></div></div>