[OSM-dev] osm2pgsql not appending changeset?
Ákos Maróy
akos at maroy.hu
Tue Dec 6 06:55:09 GMT 2011
Hi,
I'm trying to append a changeset to an existing OSM database using
osm2pgsql, but it seems nothing is appended.
I have a database which just had planet-111109.osm.bz2 imported. I'm
trying to apply changesets-111116.osm.bz2 using the command:
$ osm2pgsql -d osm -S /usr/share/osm2pgsql/default.style --append -G -v
-m -K changesets-111116.osm.bz2
and this is what I get:
$ osm2pgsql -d osm -S /usr/share/osm2pgsql/default.style --append -G -v
-m -K changesets-111116.osm.bz2
osm2pgsql SVN version 0.70.5
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
Mid: Ram, scale=100
Reading in file: changesets-111116.osm.bz2
Unknown node type 8
Processing: Node(0k) Way(0k) Relation(0) parse time: 149s
Writing way (0k)
Writing relation (0)
Committing transaction for planet_osm_point
Committing transaction for planet_osm_polygon
Committing transaction for planet_osm_line
Completed planet_osm_point
Committing transaction for planet_osm_roads
Completed planet_osm_line
Completed planet_osm_polygon
Completed planet_osm_roads
so it seems no nodes, ways, relations, nothing were added.
what could be wrong?
Akos
PS: information about the changeset file:
$ md5sum changesets-111116.osm.bz2
d21edb7ad9c44ea6d0faddf864487405 changesets-111116.osm.bz2
which matches the md5sum found on the osm download server
ftp://ftp.spline.de/pub/openstreetmap/
More information about the dev
mailing list