Greasy Fork is available in English.

geocaching.com Check PQ Date Ranges

Find sequences in list of PQs

脚本作者
GaryT
今日安装
0
总安装量
10
得分
0 0 0
版本
0.5.1
创建日期
2022-03-30
最近更新
2022-04-01
许可证
暂无
应用到

Introduction

The script searches through your PQs for queries that end in a number, and have a similar 'base'. The assumption is that these sets of PQs represent queries that have sequential date ranges, this system allow you to download more than 1000 caches for a given area or state. This system is particularly useful for offline caching, e.g. when travelling in countries where mobile data is expensive, or areas where data is unreliable. Dates should be sequential with number, i.e. 1 (or possibly 0?) is the earliest.

Operation

It creates a new 'date ranges' tab alongside the usual Active Query and Downloadable Query tabs. On this new tab will be listed the available found ranges, with a summary of the numbers. If you click one of the ranges, the script will then open each PQ in that sequence in one new tab, then automatically click the 'submit' button, to get the number of results, and it will also collect some of the information on the PQ page. Once all the pages have been inspected, the new tab will be closed, and the script will display a summary of the information found for that range under the list of ranges. Errors and inconsistencies will be highlighted. These include:

  • States/Countries/Coordinates that are not the same.
  • Radial distances that are different
  • Start dates after 2000/4/3
  • Last PQ end date after today
  • Start date of a query that is not the day after the end date of the previous query.
  • Returned number of results of a query that is the same as the limit number (typically 1000)

As you can see from the sample screenshot I will need to update my Melbourne PQs before I go next. I would typically want each PQ to have 990 or more results, and the end date is now in the past. From the total, I could reduce down to only 8 PQs now.

The name of each PQ links to the PQ page, as a quick link for editing.

Limitations

  • This script has only been tested on a recent ( 99.0.4844) version of Chrome.
  • This script does not currently check or record a lot of the available details, such as cache types, or attributes. This could be added if of interest.
  • It is not very clever about storing information, so at the moment it is necessary to rerun the data collection process after editing your PQs or if you want to look at another range. Again, if there is interest, I could optimise the process so that after you change any parameters, the script will not need to re-scan/re-process all the PQs in a range.