[Tile-serving] [openstreetmap/osm2pgsql] Duplicate rows with --expire-tiles option (#766)
ardean80
notifications at github.com
Fri Jun 16 09:24:28 UTC 2017
I'm trying to find out which tiles are expired each time I apply osm day diff to my planet db.
I niticed that, when I use osm2pgsql with the _--expire-tiles_ option, the count of rows on my 4 planet tables is greater than the count of rows on the same tables obtained without using the _--expire-tiles_ option: It seems like it duplicates modified rows, leaving the old ones in the db.
Here is the command I run:
`osm2pgsql -d planetdb -s -C 4096 --number-processes 8 --hstore-all --expire-tiles 19 --expire-output /tmp/expired_tiles_list`
In addition to applying the changes, I would expect such an option only to return a output file, with respect to the "normal" execution. Instead, executing osm2pgsql in two different ways (with/without the --expire-tiles option), it leaves the db in two different states.
How could this be possible? Am I doing something wrong?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/766
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170616/60777d34/attachment.html>
More information about the Tile-serving
mailing list