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

Allow option to delay download of elevation master by Kai Team - 2017-02-02

$
0
0
This feature already exists - when you are on holiday with an under powered netbook and expensive WiFi, just blank out the elevation box (remove the "M" or "A") on the File>Load dialog:

user posted image

If you don't tell GSAK to update the elevations of the caches being loaded, a new elevation master will not be downloaded.


Allow option to delay download of elevation master by Lil Devil - 2017-02-02

$
0
0
QUOTE (Kai Team @ February 02, 2017 07:03 pm)
If you don't tell GSAK to update the elevations of the caches being loaded, a new elevation master will not be downloaded.

That's not what's being asked for here. My local elevation database already contains all the elevation data for all the caches I care about. When I load a new GPX file, usually it just takes a few seconds to get the elevation data for a dozen or so new caches. But every once in a while, totally without warning, it takes many minutes to download all the elevation data for the entire world. blink.gif

It would be nice if, when GSAK notices a new file is available, instead of just jumping in and downloading it, GSAK would pop up a message with options such as "Download and install now" and "Ignore." The ignore action should be effective either until the next run of GSAK, or 24 hours. Bonus points if it's configurable either on the dialog, or in ConfigOther.txt.

Add to Bookmark List from Publish Logs Edit dialog by ham fam - 2017-02-02

$
0
0
QUOTE (HHL @ February 01, 2017 12:32 pm)
QUOTE (ham fam @ February 01, 2017 05:35 pm)
[...] However I am not running it while or after publishing logs.  I was trying to do it for all the DNF's that I never added to the watch list.
[...]

You'd better do so. The macro is just created for that purpose.
Without publishing the macro cannot find the variable ($pType = logtype) and throughs an error.WatchlistManager

Hans

Yes I see that now, delving a little deeper into the background of the macro and its variables.

Add to Bookmark List from Publish Logs Edit dialog by HHL - 2017-02-03

$
0
0
QUOTE (ham fam @ February 03, 2017 05:12 am)
[...] delving a little deeper into the background of the macro and its variables.

It might be clever to read the macro's publish thread beforehand. wink.gif

Hans

Allow option to delay download of elevation master by sloth96 - 2017-02-03

$
0
0
Please no popup window unless it times out. Unattended users could come back and find the script they started only went through 10% and then the dialog popped up.

One thing that makes this tough is updating elevation from the server may be needed for a handful of caches or several thousand.

@KaiTeam I think the desired behavior is use elevations in existing database and Download one at a time things nto elevation database rather than pull the 400 Meg file or not get updates.

Bigcall Challenge by sir hera - 2017-02-03

$
0
0
Hi
I am looking for a Macro for Bigcall Challenges "GC55AHK Cache Charter Member Cache Challenge - The Nifty Fifty" A challenge that you have to find 50 caches owned by different charter members.
A macro that would compare the owners two DataBases by looking at the owners in the first DB and filter the caches owned by them in the second. I have a DB with 416 Charter Members, I would like to compare it to DBs in the areas that I travel or to check my Found DB to see if I meet the challenge.
Thanks
Sirhera

Emoji display by OpusTerra - 2017-02-03

$
0
0
Hi !

Would it be possible that GSAK display emoji - emoticons as it is displayed in geocaching web site.

here is a reference for those emoji's
http://emojipedia.org/

You can see them actually appearing in caches titles as well as in logs.

For example, have a look at this cache title
https://coord.info/GC6ZBE9

And this sample log shows a mix of standard GC emoticon as well as emoji's
https://coord.info/GLQ5C1T0

Thanks!

👌 👍

Emoji display by hulmgulm - 2017-02-03

$
0
0
This is unfortunately impossible as long as GSAK does not support unicode.

Therefore I second the request to add unicode support to GSAK.

Emoji display by Kai Team - 2017-02-03

Bigcall Challenge by Kai Team - 2017-02-03

$
0
0
QUOTE (sir hera @ February 03, 2017 12:53 pm)
A macro that would compare the owners two DataBases by looking at the owners in the first DB and filter the caches owned by them in the second.

The following macro will filter the currently selected database for caches owned by owners in the selected database. To use the macro:

1) Select the database where you want to set a filter,
2) Run the macro. You will see this form:

user posted image

Select the database containing the cache owners you want to use to filter the current database.

To install the macro in your copy of GSAK:
1) In GSAK, to to Macro/Edit/Create
2) Copy the code below (in the GSK tags) and paste it into the macro editor.
3) Go to File>Save and save the macro with the name "FilterForOwnersInOtherDB.gsk"
4) Go to Macro>Run/Manage and click the install button. Click the folder icon and select the "FilterForOwnersInOtherDB.gsk" file. Click the Open button, then click the Install button.

GSK
#*******************************************
# MacDescription = Filter for owners in another Database
# MacFileName =FilterForOwnersInOtherDB.gsk
# MacAuthor = Kai Team
# MacVersion=1.0
#*******************************************
$DBs=SysInfo("Databases")
$Form1 = editform($Form1,"Database","values",$DBs)
MACSETTINGS Type=R FileCheck=N

WHILE TRUE
   $FormExit = form($Form1,"")
   BEGINCASE
       CASE $FormExit = "SystemExit"
       RETURN Msg="Macro Canceled"

       CASE $FormExit = "OK"
          MACSETTINGS Type=S Vars=Database
       GOSUB Name=Run
       BREAK

       CASE $FormExit = "Cancel"
       RETURN Msg="Macro Canceled"
   ENDCASE
ENDWHILE

BEGINSUB Name=Run
  $File= $_dbPath + "\" + "$Database" + "\sqlite.db3"
  $Status=Sqlite("sql","ATTACH '$File' AS OtherDB")
  $_sql="Select DISTINCT OwnerId FROM OtherDB.Caches"
  $OwnerIDs=Sqlite("sql",$_sql)
  $OwnerIDs="'" + Replace($_CrLf,"','",$OwnerIDs) + "'"
  $_sql="OwnerID IN($OwnerIDs)"
  MFILTER Where=$_sql
  IF $_FilterCount=0
     MSGOK Msg=There are no matching owners.  Filter not set
  ENDIF
  $Status=Sqlite("sql","DETACH OtherDB")
ENDSUB

<Data> VarName=$form1
#********************************************************************
# Form generated by GSAK form designer on Fri 03-Feb-2017 14:57:49
#********************************************************************

Name = Form1
 Type = Form
 Caption = Filter For Owners In Other DB
 Height = 168
 Width = 441

Name = OK
 Type = Button
 Height = 25
 Left = 92
 Top = 84
 Width = 75
 Taborder = 8
 Caption = OK

Name = Cancel
 Type = Button
 Height = 25
 Left = 263
 Top = 84
 Width = 75
 Taborder = 9
 Caption = Cancel

Name = Label1
 Type = Label
 Height = 16
 Left = 21
 Size = 10
 Top = 18
 Width = 390
 Caption = Select the database containing the Members you want to filter for:

Name = Database
 Type = Combobox
 Height = 21
 Left = 21
 Top = 42
 Width = 385
 Taborder = 12

<enddata>

Unicode support to GSAK by OpusTerra - 2017-02-03

$
0
0
It would be nice to display emojis in cache title, description and logs just like it is actually displayed on the geocaching web

here is a reference for those emoji's
http://emojipedia.org/

You can see them actually appearing in caches titles as well as in logs.

For example, have a look at this cache title
https://coord.info/GC6ZBE9

And this sample log shows a mix of standard GC emoticon as well as emoji's
https://coord.info/GLQ5C1T0

Bigcall Challenge by HHL - 2017-02-03

$
0
0
QUOTE (sir hera @ February 03, 2017 06:53 pm)
[...] A challenge that you have to find 50 caches owned by different charter members.[...]

This macro snippet filters for caches where the owners are Charter Members. No need to compare anything.

GSK
MACROFLAG type=clear range=all

  Goto Position=Top
  While not($_Eol)

     $dataType = sqlite("sql","Select gMemberType from geocacherinfo where gId='$d_OwnerId'","")
     $regex = "(^.)"
     $Membertype=RegExSub($regex,$dataType,1,1)

     IF $Membertype="C"
       MACROFLAG type=set range=1
     ENDIF

  Goto Position=Next
  EndWhile
 
  MFilter Where=Macroflag


Hans

Marco to 'remove' TB? by D68 - 2017-02-03

$
0
0
I know I can clear the 'Has Bug' indicator using Global Replace but is there a macro to do the same thing?

I want to run a macro in the PQ Load dialogue box


Thanks

Marco to 'remove' TB? by HHL - 2017-02-03

$
0
0
Go to the menu: Database > Global replace ...
Do your settings for clearing the data field "Has Bug".
Save the settings with a usefull name (XYZ for example) wink.gif

Now your macro code would be:
GSK
GlobalReplace Settings="XYZ"


Save the macro as "ClearHasBug.gsk" and call this macro within your saved load settings.

Hans

Allow option to delay download of elevation master by Gill & Tony - 2017-02-03

$
0
0
If I understand Kai Team's suggestion correctly, it would mean getting no elevation data at all for any new cache loaded into the database, even when there are valid data in the existing master file. That isn't what I was wanting.

Addressing Sloth96's concern, my suggestion means that if the option is not set, everything remains the same as it is now. Only if you set the option would there be a notification that the master has changed. Even if a pop-up window is the mechanism used, it would never appear unless the user specifically requested this option.

Ideally, we would only download those parts of the master file which have changed, but I guess that this isn't a simple option or it would already have been implemented.

Cheers

Tony

Bigcall Challenge by Kai Team - 2017-02-03

$
0
0
QUOTE (HHL @ February 03, 2017 04:10 pm)
QUOTE (sir hera @ February 03, 2017 06:53 pm)
[...] A challenge that you have to find 50 caches owned by different charter members.[...]

This macro snippet filters for caches where the owners are Charter Members. No need to compare anything.

That assumes that the user has updated the GeoData database with the member status for every geocacher in the database. It's unlikely that most GSAK users have a completely up to date GeoData database, given that the GeoData database is only updated when you use Refresh Cache Data, Get Geocaches or Get Recent Logs using the Geocaching.com Access menu, or use a macro designed to update the information. For example, my GeoData database has 129,952 geocachers listed, of which only 38% have an entry for gMemberType. In my case, HHL's macro is likely to fail to identify 62% of the Charter Members.

The macro I posted above gives sir hera what he asked for, without making assumptions about the state of his GeoData database.

Edited to Add: This code will tell sir hera how complete the Member Type data is in his GeoData database, and therefore how accurate HHL's code snippet will be for him:

GSK
$Blank=Sqlite("sql","Select Count(*) From geocacherinfo WHERE gMemberType=''")
$NotBlank=Sqlite("sql","Select Count(*) From geocacherinfo WHERE gMemberType<>''")
$Total=Val($Blank) + Val($NotBlank)

$PercentNotBlank=Round((Val($NotBlank)/$Total) * 100,0)
MSGOK Msg=$NotBlank of $Total Geocachers in your GeoData database ($PercentNotBlank %) have a member type.

Here's the result when run on my installation of GSAK:

user posted image

If that code shows 100% of the geocachers in your GeoData database have a member type, than HHL's code may be the better approach. smile.gif

Marco to 'remove' TB? by D68 - 2017-02-03

$
0
0
Thanks HHL, that worked a treat! cool.gif

Allow option to delay download of elevation master by clyde - 2017-02-03

$
0
0
QUOTE (sloth96 @ February 03, 2017 09:55 pm)
@KaiTeam I think the desired behavior is use elevations in existing database and Download one at a time things nto elevation database rather than pull the 400 Meg file or not get updates.

Just for the record this file (currently just shy of 8 million records) is a 42mb download.

Unicode support to GSAK by The CEO - 2017-02-03

$
0
0
I'm in favor of the feature request.
However, Clyde has already stated earlier that UniCode support is "on the list", but that it is not a feature that is easy to implement.
So I don't think there is a real need to convince Clyde to implement this, and a poll won't make the change any easier to implement.

Allow option to delay download of elevation master by Kai Team - 2017-02-03

$
0
0
I see the point of wanting to update the elevations of caches where data exists in the elevation master file already on the local PC, without downloading a new master file.

However, what would happen if a location is not included in the master elevation file on the local PC? That is, would GSAK still get the elevation remotely, or would that elevation be left blank? If GSAK still gets the elevation remotely, it might use more bandwidth in the long run than downloading the updated master file, depending on how many caches you're loading and whether they are in the updated master file. It also puts more traffic on the remote elevation server. So....I'd suggest that if you turn off downloading of the updated master file, it also should turn off getting elevations remotely.

I'd also suggest that, if implemented, this be a setting under Tools>Options or in the ConfigOther.txt file, not a pop up dialog that halts macros, as sloth96 noted. Although the setting could be whether to show a pop up dialog, which would then leave it up to each user if they want the prompt.
Viewing all 76122 articles
Browse latest View live


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