Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

0 votes
401 views

 In order to qualify for this challenge, you must find at least one cache in each of the" first 7 distance to find ranges", except for the shortest distance (ie. less than 1 kilometre or 1 mile, depending on which scale you are using), but the catch is that all 6 finds must be found on the same day.

 

http://coord.info/GC5EGV3

 

Thank you

in Miscellaneous by dronnord (170 points)

1 Answer

+1 vote
If I understand the challenge it cant be done. The distances are relative to your home coordinates and those are not avablie to the checkers
by Target. (Expert) (104k points)
I am having the same issue trying to find a macro for GSAK. Could it be written as distances from a known cache? The idea is too do the heavy lifting then fine tune it myself. I always travel and always geocache when I am doing it. I guess I will have to go through each day and do lat long calcs thru Fizzy Calc myself..thanks for the assistance.
You can do that in SQL in gsak. Start it from the tools and sqlite manager.
just run the line . The last check between 1 and 10 km was removed because of limits in the max length of querys in the built in sqlite manage. You have to check it manually
If it runs to slow or runs out of memory remove  a select * from ( and everything after and including the corresponding ) in the end. And check the removed distance manually.
I am not 100% that it works when don't meat the challenge but with the >10 <20  i get a result.
I am not sure of the borders in the intervals i have use > min and <=max but theta can be changed, just look at the query
There is probibly a quicker and better query but this was the quick and dirty one


select * from (select * from (select * from (select * from (select code,foundbymedate,distance from caches where found=1 and distance >25 and distance <=50) as a  join (select code,foundbymedate,distance from caches where found=1 and distance >50 and distance <=100) as b on a.foundbymedate=b.foundbymedate group by a.foundbymedate) as c join (select code,foundbymedate,distance from caches where found=1 and distance >100 and distance <=250) as d on c.foundbymedate=d.foundbymedate group by c.foundbymedate) as e join (select code,foundbymedate,distance from caches where found=1 and distance >250 and distance <=500) as f on e.foundbymedate=f.foundbymedate  group by e.foundbymedate) as g join (select code,foundbymedate,distance from caches where found=1 and distance >10 and distance <=25) as h  on g.foundbymedate=h.foundbymedate  group by g.foundbymedate
I got an answer with something that tells me I have something but I will need to go some more work. Thks for the help.
...