[OSM-dev] Reimplementation of the GPX importer

Daniel Silverstone dsilvers at digital-scurf.org
Mon Sep 22 20:29:14 BST 2008


On Mon, 2008-09-22 at 20:11 +0100, Shaun McDonald wrote:
> > My code does not replicate the "delete all traces which are set to
> > visible=0" functionality as I am unsure of when this behaviour would  
> > be
> > required.
> This is used when people delete their traces. As it is a time  
> consuming operation, it is done as a batch. The files are hidden on  
> the site immediately, without actually being deleted from the db until  
> the daemon gets them.

Aha, thanks. I've added support for this now, limited to no more than
one delete per sleep period or imported trace (whichever is sooner). (I
also updated my job-finder to exclude invisible traces).

I'll hold off sending an updated version to the list until I've had any
other comments from people.

D.

-- 
Daniel Silverstone                         http://www.digital-scurf.org/
PGP mail accepted and encouraged.            Key Id: 2BC8 4016 2068 7895






More information about the dev mailing list