Had a couple of questions about this, so thought I would drag this thread back up with an update.The Core Issue
Firstly, the reason archived caches are not updated in GSAK is because your pocket queries don't contain archived caches, hence GSAK is never able to change the Status from Active or Temporarily Disabled to Archived. The Best Fix
There is a request on feedback.gc.com to allow the download of archived caches - I'd encourage GSAK+PQ users to add some votes (3 ideally
) to this request.Pocket Query for Archived CachesThe Temporary Solution
The nice thing about GSAK is that it has a lot of filtering options, and we can actually use these to archive caches. Basically, when a cache is archived, our GSAK database doesn't receive any further GPX updates to the cache. Conveniently, GSAK also records when the last GPX update was made to a cache. This means that we end up with two very useful features of the Last Update GPX/Last GPX
field. You'll find this under Search > Filter (Ctrl-F), on the Dates tab, and its called Last update GPX.
How does this work in practice? Well, I know that all my PQs are run at least as frequently as once a week, and any active cache should have had at least _one_ GPX update in the last seven days. Likewise, archived caches won't have received an update. So, I have a filter and a little automated script that does the following.
1. A filter (called GTArchiveCaches) that selects all caches that have not had a GPX update in the last 9 days (a couple of days of error in case I haven't ingested GPX for a while).
Last update GPX - Not During - The last 9 days. This is called ArchiveCaches.
2. A little script that then selects this filter, and then steps through every cache that hasn't had a GPX update in the last 9 days, and marks it as archived.
- Code: Select all
# Archive Caches that haven't been updated for 9 days
# This variable stores the name of my Archive filter
# The filter command runs the filter
# If there are one or more caches that haven't been updated in the last 9 days...
# ... then the following lines step through and mark them all as archived.
IF $_FilterCount > 0
$d_Status = "X"
So, once you've created a filter and saved it, you can then run this macro to archive caches that haven't been 'heard of' for a while. The best time to run this? After you've imported a batch of GPX of course. Alternatively, if like me you have a script to build your GPX files, then the archive script is the very first thing run as part of this build process.