limit the number of caches

Keine Antworten
Bild von lillfiluren
lillfiluren
Offline
Beigetreten: 04/09/2010

I have recently had some help from the guys in the GSAK forums to create a macro that limits the current GSAK filter to xxx caches. I inserted this snippet into the MyCacheEye macro to make sure it never exported more than 3000 caches:

MACROFLAG type=clear range=all
$_sql = "UPDATE caches SET macroflag=1 WHERE $_Where ORDER BY $_OrderBy LIMIT 2900"
$status = Sqlite("sql",$_sql)
MFILTER where=macroflag join=AND

I think it only works in GSAK7.7

Feel free to include it in the standard MyCachEye macro

Thanks for a great service! This beats the "Google maps with clusters" macro I used to run from GSAK!

/lillfiluren

Copyright Notice

cacheye (c) 2009-2012
Geocaching Cache Icons Copyright 2012 Groundspeak Inc.
Used with Permission.