[Tile-serving] [osm2pgsql] osc apply not deleting nodes (#448)
jendrusk
notifications at github.com
Wed Sep 9 14:26:05 UTC 2015
Since some time I found that there are in my database synchronised by osmosis&osm2pgsql points deleted from osm, so I made some test...
1. Found changeset with deleted nodes (http://www.openstreetmap.org/changeset/33591061)
2. Checked if there is a node from this changeset in may database (with select by osm_id) and there is (it shouldn't be because my database should be synchronised)
3. I've downloaded this changeset (http://www.openstreetmap.org/api/0.6/changeset/33591061/download) into file `art.osc` and apply it once again with: /usr/local/bin/osm2pgsql --number-processes 1 -v -C 2000 -G -K -j -x -s -S ./default.style --append -d osm2pgsql --bbox 13.50,48.50,24.50,55.50 art.osc
4. Checked if there is a node from this changeset in may database (with select by osm_id) and still there is
5. I changed postgres.conf to write all statements and once again run osm2pgsql, [so i get this](https://www.dropbox.com/s/szsr4tv3dsltcdy/postgresql-2015-09-09_134829.log?dl=0)
6. I checked once again with select by osm_id - points are still there...
I can't see any execution of prepared statements at all, so seems like osm2pgsql is not deleting nodes(points) from diff...
Am I doing something wrong with debug?
Is there any other method of debugging this?
Maybe it is known issue and fixed in latest version?
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/448
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150909/bbd39086/attachment.html>
More information about the Tile-serving
mailing list