Quantcast
Channel: GSAK Forum
Viewing all 76118 articles
Browse latest View live

Feld FindNum aus Groundspeak füllen by The CEO - 2025-02-24

$
0
0
QUOTE (peter55 @ February 24, 2025 07:36 pm)
Good evening,
I have loaded a current "My Finds Pocket Query".
Then set FindNum = 0
Called macro "FillFinds.gsk".
Not even 3 seconds later the macro is finished, but there is no change in the FindNum field. The 6956 records cannot have been processed that quickly.

Any idea where else I could look for something?
Thanks.

To check:
- Do a global replace, replacing "FindNum" with 0
- Go to View-->Add/Remove columns
- You get a dialog. In the list of custom data fields, confirm the FindNum field is present and has a checkmark in front of it. (if the field was recently added by the macro, the FindNum field is likely at the very bottom of the Custom Field list)
- Press Ok
- Scroll to the right of your GSAK Grid. Does the FindNum column show 0 for all caches?
- Right-click on the FindNum column header. Select Rename Column. Confirm that there is no text after "Original Column Heading = ". Press CANCEL

- Start the FillFinds macro with the Shift key pressed.
- What is the ownerid you entered?
- Press OK
- Do you get a message saying "You have not found any of the caches in this database. Macro cancelled."? (You should not get this message)
- When the macro is finished, check the FindNum column.
Does the FindNum column still show 0 for all caches?

The CW_FoundAdventureLabs macro, Support Thread by clan-wallace - 2025-02-24

$
0
0
QUOTE ([JJDP)
,February 25, 2025 12:35 am]I need a little help trying to figure out why one lab out of hundreds is not imported into my database. The process runs to completion with no errors displayed.

My first concern is that the FoundByMeDate in your LabFinds.csv is in the wrong format: 2/13/2025

It should be 2025-02-13

I just stepped through the JavaScript code in my browser extension and the code is correctly extracted YYYY-MM-DD, which is being captured from the JSON object that supplies content to the Lab Finds web page and is the format no matter what you have the date format set to in your preferences.


So I am at a loss as to why your CSV file sample has the wrong date format, which produces an error when the macro accesses the date.

Another observation is that the Found date for those Lab Stages without images were completed almost exactly two years ago.

I fixed these dates in your sample and we no longer get that error.

However, I did an API call to this Adventure and it only returns 5 Lab Stages.
We can see that your finds page is showing 10 Lab Stages, 5 without images.

This is why the macro is not creating all your found labs.

I cannot think of a solution for this issue at this time, although I will take a look when I have more time to see if I can create a workaround.

Can I ask you, did you actually complete 10 lab stages for this Adventure?
When I look at this Adventure in the App, it only has 5 Lab Stages, as reported by the API.
I have a feeling our friends in control of Adventure Labs may have intruduced the problem somewhere along the line.

If you did complete 10 Lab Stages, then the best I can do for you is to create those Lab Stages by hand, setting them to found and locking them.
Then creating a GPX file for you to load (after removing any existing waypoints with the corecode of Rrxj in the Adventures database).

You will then have the correct Lab Find count and future runs of the macro will ignore this Adventure.

Certitude Checker by Schlitz - 2025-02-25

$
0
0
How about to call the certitude page with s.th. like:

WEB URL="https://www.certitudes.org/certitude?wp=GCB27FA"

---> but does the website support this? I am not an expert in this.

Certitude Checker by The CEO - 2025-02-25

$
0
0
QUOTE (Schlitz @ February 25, 2025 10:23 am)
How about to call the certitude page with s.th. like:

WEB URL="https://www.certitudes.org/certitude?wp=GCB27FA"

---> but does the website support this? I am not an expert in this.

WEB URL="..."
will open the specified URL in your current browser.
How do you imagine getting the result of something you do in your browser back to GSAK?

One approach could be to create a GSAK Form with a Browser component on it that displays the certitude page. Once you have entered the solution and get the response page from certitude, you would click a button to exit the form.

From the help page:
QUOTE
Additionally, when you exit a form that contains a web control a string variable is created that contains the page source of the last URL navigated to. This variable has the same name as the control, but with "source" as the suffix. For example, if the browser control is called "web1" then the generated variable will be "$web1source"


You would then have to parse the html of the response page to extract the information you need, and update a GSAK field with that information.

The CW_FoundAdventureLabs macro, Support Thread by [JJDP] - 2025-02-25

$
0
0
I really can't remember how many stages it was, this was part of 40 or 50 adventure labs completed over a weekend. I wonder if they somehow repurposed an adventure lab from two years ago. In any case I deleted the stages without images and ran the macro again successfully importing 5 stage for the lab. Now my found lab count is only 5 off geocaching.com and I'm sure it is those ghost stages that are the difference. Thanks for your help!

The CW_FoundAdventureLabs macro, Support Thread by clan-wallace - 2025-02-25

$
0
0
QUOTE ([JJDP)
,February 26, 2025 03:03 am]I really can't remember how many stages it was, this was part of 40 or 50 adventure labs completed over a weekend. I wonder if they somehow repurposed an adventure lab from two years ago. In any case I deleted the stages without images and ran the macro again successfully importing 5 stage for the lab. Now my found lab count is only 5 off geocaching.com and I'm sure it is those ghost stages that are the difference. Thanks for your help!

If you want your count to match geocaching.com, then you would be better adding those 5 labs with no images.
I am happy to do that for you and send you a GPX file so that you can include them in your Adventures database. I can ensure the AdvFind and LabFind values are correct, logs have been created, Found date correct, etc.

missing county names by hynr - 2025-02-26

$
0
0
I have encountered an interesting issue with the GetCounty() function. I wonder if anyone else has noticed it.

I am planning a roadtrip from California to Texas (and back). So I am loading up on cache data, restricting myself to just the most likely 160000 geocaches wink.gif that I might want to search for along the way.

I noticed that I did not have all the counties identified by name. So I ran Kai Team’s macro; but then still had 38 that were not filled in wacko.gif . So then I tried The CEO’s version (yes, I know they use the same code to get county names). This time I noticed a message indicating that it was loading (new?) polygons. But that still leaves me with these 10 caches without county names:
CODE
GC9K6VQ,GC7EF5,GC1RW9W,GC2PA0H,GC9RT46,GC1B0Z1,GC4CH7T,GC4FHCB,GC89N44,GC3A6VC

Looking at the pinboard map shows these are all on state borders. In each case GSAK does have a State name, but GSAK cannot discern the county.

I replicated by creating a new database with just those 10 caches loaded with the API.

Each of these geocaches is on the border between two or more counties in the two or more adjacent states. But GSAK does have the name of the state the cache is attributed to (either via the polygons or the cache owner). So it is probably possible to somehow get a county name that is consistent.

I note that there are other cases where a cache is at the intersection of 3 or 4 counties (eg: http://coord.info/GC7BA6X http://coord.info/GC7B63Z). While these did not initially have county names after running Kai Team’s macro, they do now have them using the latest polygons.

Update a custom field many caches in a single SQL by Gill & Tony - 2025-02-26

$
0
0
I believe it is possible to update a normal database field in multiple caches with a statement like

UPDATE Caches SET d_something=value where code in (select statement)

Is it possible to do the same thing with a custom field?

Thanks

Tony

Also, while I am here,

The publish logs table has pDate in the form yyyy-mm-dd hh:mm:00

How can I do a Select distinct pDate but only selecting the date part of the field?

Thanks again

Tony

Update a custom field many caches in a single SQL by lignumaqua - 2025-02-26

Update a custom field many caches in a single SQL by Gill & Tony - 2025-02-26

$
0
0
Once again, thank you for your helpful advice.

BadgeGen_V4.0 feed back by JuergB - 2025-02-26

$
0
0
Sorry, it's me again. I found a new problem, introduced with the latest version:
The badge for Long-Distance Cacher does not show up anymore.

missing county names by The CEO - 2025-02-26

$
0
0
There is 2 things that may happen here:

1) The cache-owner has assigned the wrong state to the cache
The state field will be filled with the state set by the cache-owner.
GSAK's polygons are organized by state.
So if the owner set the state to "Arizona" then GSAK will only check if the cache falls within a county polygons for Arizona.
If the cache actually was in California then the county does not get assigned because the cache does not fall inside a county polygon in Arizona. (It may have gotten assigned a county in California had the CO set the state to California).

2) The county polygons are not exact.
So in this case the CO has set the state correctly.
But the GSAK's county polygon does not match exactly the state border, and the cache falls within "no-man's-land".

Using the corrected coordinates feature, you can manually update the county (and/or state) field for a particular cache.

CreateBannerPage feedback by McMelloW - 2025-02-26

The CW_FoundAdventureLabs macro, Support Thread by [JJDP] - 2025-02-26

$
0
0
That would be amazing and greatly appreciated!

CreateBannerPage feedback by Uli001 - 2025-02-26

$
0
0
Hello McMelloW,

yes, I am familiar with the macro. But they don't do the same thing. BannerGen_V2 creates an html where all banners are in a row. The banners can be arranged in my macro. You can see that in the first post. The banners can be sorted by cache type and up to three special lists.

For me it is clearer and the statistics are not so long.

Uli

missing county names by lignumaqua - 2025-02-26

$
0
0
As an example which happens to demonstrate both of The CEO's reasons. GC7EF5 is a virtual cache deliberately placed on the Government 3 Corners Monument TriState marker slap bang on the border where Texas, Louisiana, and Arkansas meet. Google Maps shows the cache is just on the Louisiana side of the border however Open Street Maps has it in Texas, so who knows?

To compound the problem, I checked the GSAK county polygons at that point and the given coordinates fall right in the middle of a small, under 4 meter, gap between the Louisiana parish and the Texas county polygons. Yes, I know adjacent polygons should share a common boundary, but the way they are generated at a reasonable size and resolution plus having different States providing different data means that is in the lap of the gods.

All the rest of these are also border caches, apart from GC9K6VQ, which is apparently in Mexico! They all look fun, go and visit them! smile.gif

The CW_FoundAdventureLabs macro, Support Thread by clan-wallace - 2025-02-26

$
0
0
QUOTE ([JJDP)
,February 27, 2025 01:52 am]That would be amazing and greatly appreciated!

Look at your Adventure database and let me know what was the last LabFind value for AdvFind '303', so that I can continue with the correct LabFind value for this rogue Adventure '304'

missing county names by Kai Team - 2025-02-26

$
0
0
I'd also note that if a cache is exactly on the border, logically it can be in either State/County. In these cases I've simply filled in the State and County information manually, based on what makes sense, or arbitrarily if there is no reason to go one way or the other. The CountryStateCounty macro will not overwrite filled values so there is no need to lock the cache against future updates. Alternatively, you can use corrected coordinates as suggested by The CEO to lock the coordinates, state and county. wink.gif

The CW_FoundAdventureLabs macro, Support Thread by [JJDP] - 2025-02-27

$
0
0
The last LabFind value for AdvFind 303 is 1446. Thanks again!

The CW_RegionManager macro by BløfDuck - 2025-02-27

$
0
0
Just runned a new import for Liechtenstein, and i miss the oldest cache in a full import

Even created a new database and a new query and still miss the oldest one --> https://coord.info/GCC2F4

Can someone confirm this?

Liechteinstein is below 300 caches so a full run is easily done.

Even took a new Gsak Setup.
Check after creating a new regionm saved the region and pressed check and "caches currently in this region total 286"

After a complete run and pressed import i only got 272 caches

Region Name 1: Liechtenstein
Current Region API Total 272
Region API Total before process 0
Missing caches detected and persisted 272
Suspect Caches detected and processed 0
Found Caches detected in database 0
Archived Caches detected in database 0
New Start Date for Top up 2025-02-27
Time to complete all processes 0 hours 0 minutes and 7 seconds

What goes wrong? It seems i miss al my founds now.
Used the links in the report and filtered on the map four founds exactly that amount of caches i miss during the import of Liechtenstein (and yes i want t keep my founds in the country database).
Viewing all 76118 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>