On Thu, 5 Nov 2009, sly (sylvain letuffe) wrote:

> In case he is doing like me, that is : running a cron job over and over again
> the same file where duplicates might acumulate. But there is a few chance he
> reaches such a number, so that was probably a bad guess.

Ah, ok.  That makes sense.  The way I handle expiry means that I get a 
fresh expiry list each time rather than appending to an existing one - as 
soon as each osm2pgsql run completes I discard any entried from the expiry 
list that don't have associated rendered tiles actually on the disk(*).

* it's actually a bit more complicated than this since you have to handle 
all the zoom levels.  See: 
https://subversion.nexusuk.org/trac/browser/openpistemap/trunk/scripts/expire_tiles.py
 
to see how I do it.

-- 

  - Steve
    xmpp:[email protected]   sip:[email protected]   http://www.nexusuk.org/

      Servatis a periculum, servatis a maleficum - Whisper, Evanescence


_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to