[Tile-serving] [openstreetmap/osm2pgsql] Osm2pgql failed to output expired tiles for “delete” operation when running in cron (#1268)

chentoz notifications at github.com
Tue Aug 25 13:44:02 UTC 2020


Attached is the script which I am running.

https://github.com/chentoz/codebase/blob/master/sync-apidb-minutesly.sh

There are 2 dbs, one is for editing with db-api schema, the other is for rendering with osm2pgsql schema. I just use --read-apidb-chang to get .osc and import into rendering database.

For adding / modiyting features, that's ok. But for "deletion", I could get .osc files but expired tile list generated is empty.
I have checked the database log, "DELETE" is logged, so I guess the rendering db is truly updated so forth the tiles should be expired. 

As I am not familiar with the algo in osm2pgsql, I am just wondering :
(1) if fed with same .osc files more than twice, will expired list generated for every time or just for the first time ?



-- 
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/1268#issuecomment-680033736
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200825/1f96be82/attachment.htm>


More information about the Tile-serving mailing list