Adding nfCP to V3 Beta map

General discussions about the website's layout and functionality
Post Reply
User avatar
skeeper
Benefactor
Posts: 106
Joined: January 18th, 2012, 8:05 am

Adding nfCP to V3 Beta map

Post by skeeper »

Any ideas as to how one would add nfCP to the Google_Map_V3_Beta.gsk macro in GSAK? I currently and for a long time have had them added to the myGMEv3.gsk macro but it will go away someday and I would like to replace it with the Beta version.
User avatar
Corfman Clan
Global Moderator
Posts: 914
Joined: January 17th, 2012, 12:21 am

Re: Adding nfCP to V3 Beta map

Post by Corfman Clan »

the greenskeeper wrote:Any ideas as to how one would add nfCP to the Google_Map_V3_Beta.gsk macro in GSAK? I currently and for a long time have had them added to the myGMEv3.gsk macro but it will go away someday and I would like to replace it with the Beta version.
First, I don't believe the beta version of that macro is around or supported anymore. You probably want to get the latest here: http://gsak.net/board/index.php?showtop ... ntry186702.

You can do what you ask with the latest version. When starting the macro, hold down the shift key and the Options dialog will display:
Google_Map_V3 options
Google_Map_V3 options
GSAK_GoogleMaps_Options.JPG (39.54 KiB) Viewed 7314 times
You need to check the "Show Text Labels" checkbox. Next, to add the nfCPs in parenthesis (or the cCPs if you have found the cache, or are the owner) add the following to the Additional Fields:

Code: Select all

' (',CP,')'
You can check the radio button of your choice to add Name, Code, SmartName, or Additional fields only. Here's an example using the options shown above:
Example Map
Example Map
Google Map Example.JPG (24.82 KiB) Viewed 7314 times
Image
User avatar
Corfman Clan
Global Moderator
Posts: 914
Joined: January 17th, 2012, 12:21 am

Re: Adding nfCP to V3 Beta map

Post by Corfman Clan »

After playing with this a bit, I think I like having both the current Cache Points (cCP) and the next find Cache Points (nfCP) displayed and nothing else. To do that, check the "Additional only" radio button and set the "Additional fields" to:

Code: Select all

cCP,',',nfCP
Here's an example of the results:
cCP,nfCP Only Example
cCP,nfCP Only Example
Google Map Example 2.JPG (22.87 KiB) Viewed 7311 times
Image
User avatar
skeeper
Benefactor
Posts: 106
Joined: January 18th, 2012, 8:05 am

Re: Adding nfCP to V3 Beta map

Post by skeeper »

Thank You CC. I had posted the same question in the GSAK Macro Forum and the answer was a little different. Instead of writing code they had me write nfCP in the additional fields box. That gave the next find points. I then played with it a bit and added the cache name. I hadn't tried the to enter the current value. I wish I had the screen shot thing you use. :)
User avatar
Corfman Clan
Global Moderator
Posts: 914
Joined: January 17th, 2012, 12:21 am

Re: Adding nfCP to V3 Beta map

Post by Corfman Clan »

the greenskeeper wrote:Thank You CC. I had posted the same question in the GSAK Macro Forum and the answer was a little different. Instead of writing code they had me write nfCP in the additional fields box. That gave the next find points. I then played with it a bit and added the cache name. I hadn't tried the to enter the current value. I wish I had the screen shot thing you use. :)
Well, my "code" is just what to add to the additional fields so I think it is the same answer I just added a couple more fields than nfCP.

If you use windows, then you probably do have the screen shot thing I use. It is called "Snipping Tool" and is in the Accessories program group. It's been a part of windows since at least Vista.
Image
User avatar
skeeper
Benefactor
Posts: 106
Joined: January 18th, 2012, 8:05 am

Re: Adding nfCP to V3 Beta map

Post by skeeper »

I think I like your way better. It separates the nfCP from the the GC number or the name with ( ). Sometimes they can get confused with each other.
User avatar
AZ WANDERING BEAR
Posts: 24
Joined: January 18th, 2012, 7:41 pm

Re: Adding nfCP to V3 Beta map

Post by AZ WANDERING BEAR »

Sometimes even I can understand this high tech stuff for GSAK. Found this thread and actually got it to work for me. Will help in planning cache runs for sure.

If I can hijack the thread, is there an easy way to add the cCP and nfCP to the cache name when you export a .gpx file? I export my cache plan or a filter via a .gpx file to DeLorme Topo, complete my navigation planning (just a few waypoints to keep me from getting too lost) and then eventually download from there to my DeLorme PN-60. I also print out maps for some caching adventures and it would be nice to have the cCP and nfCP data printed there as well as the name.

I know this is probably a pretty basic question for the GSAK savvy, but so far I haven't been able to find a way.
AZ Wandering Bear
]Ursa Pervicacia[/color]
User avatar
skeeper
Benefactor
Posts: 106
Joined: January 18th, 2012, 8:05 am

Re: Adding nfCP to V3 Beta map

Post by skeeper »

I've been able to print maps with the information on them in the past from the MyGMEv3 maps but I haven't tried it lately.
User avatar
skeeper
Benefactor
Posts: 106
Joined: January 18th, 2012, 8:05 am

Re: Adding nfCP to V3 Beta map

Post by skeeper »

Here's what my map now looks like like.
Attachments
Capture.JPG
Capture.JPG (27.16 KiB) Viewed 7271 times
User avatar
skeeper
Benefactor
Posts: 106
Joined: January 18th, 2012, 8:05 am

Re: Adding nfCP to V3 Beta map

Post by skeeper »

Oh, and thank you for the information about the snipping tool. Always nice to learn something.
User avatar
Corfman Clan
Global Moderator
Posts: 914
Joined: January 17th, 2012, 12:21 am

Re: Adding nfCP to V3 Beta map

Post by Corfman Clan »

AZ WANDERING BEAR wrote:Sometimes even I can understand this high tech stuff for GSAK. Found this thread and actually got it to work for me. Will help in planning cache runs for sure.

If I can hijack the thread, is there an easy way to add the cCP and nfCP to the cache name when you export a .gpx file? I export my cache plan or a filter via a .gpx file to DeLorme Topo, complete my navigation planning (just a few waypoints to keep me from getting too lost) and then eventually download from there to my DeLorme PN-60. I also print out maps for some caching adventures and it would be nice to have the cCP and nfCP data printed there as well as the name.

I know this is probably a pretty basic question for the GSAK savvy, but so far I haven't been able to find a way.
I add the nfCPs to the cache name when I export to my Garmin Oregon, or to a GPX file. To do so, I make use of the following GSAK macro GetCP.gsk.

Code: Select all

#*******************************************
# MacVersion = 1.0
# MacDescription = Get CP value from custom data
# MacAuthor = Russell Corfman
# MacFileName = GetCP.gsk
# MacUrl =
#*******************************************

$cp = CustomGet("CP")

If $cp = "0" Or At("Error", $cp) <> 0
	$_Special = ""
Else
	If IsEmpty($_MacroParms)
		$_Special=$cp
	Else
		$p1 = extract($_MacroParms,"~",1)
		$p2 = extract($_MacroParms,"~",2)
		$_Special=$p1 + $cp + $p2
	Endif
Endif
Next, when doing the export, I set the name of the cache to:

Code: Select all

%Name%mtag="GetCP.gsk? (~)"
This adds the cache's CP value after the cache's name in between parenthesis. Basically, if there is a CP defined for the cache, the macro puts everything between the ? and the ~ in front of the CP value and everything after the ~ to the " after the CP.
Image
User avatar
AZ WANDERING BEAR
Posts: 24
Joined: January 18th, 2012, 7:41 pm

Re: Adding nfCP to V3 Beta map

Post by AZ WANDERING BEAR »

Thanks CC. That's exactly what I was looking for. Took me a few tries to get it installed correctly, but I learned a few things too in that process. Appreciate you sharing the macro.
AZ Wandering Bear
]Ursa Pervicacia[/color]
Post Reply