GSAK to Google Earth

For all your general chit chat, caching or not.
Post Reply
User avatar
riblit
It's the journey.
It's the journey.
Posts: 3444
Joined: 04 April 03 6:30 pm
Location: Land Grant of John Campbell

GSAK to Google Earth

Post by riblit » 22 July 05 12:07 am

Here is a macro I wrote to plot caches in Google Earth.<br />
<br />start___________
<br />SET $Bable = "C:Program FilesGSAKGPSBabel.exe"<br />
SET $Gearth = "C:Program FilesGoogleGoogle Earth Plusgoogleearth.exe"<br />
SET $temp = "C:Program FilesGSAKtemp"<br />
SET $tfile = $temp + "test.kml"<br />
SET $ifile = $temp + "babel.gpx"<br />

<br /><br />

FILTER name="userset"<br />
EXPORT type=GPX File="$ifile"<br /><br />

RUNPGM PGM="$Bable" parms= -i gpx -f "$ifile" -o kml -F "$tfile" Wait=Yes<br />

RUNPGM PGM="$Gearth" parms="$tfile"<br />

end_____________<br /><br />
I run a filter to get the caches down to a manageable level, mine justs filters caches I have checked. If you don't want a filter, delete the FILTER name ="userset" line<br />
The variables will be ok for a default GSAK and Google Earth install.<br />

copy and paste the code into GSAK's macro editor and save, add a button if you like.<br />

edit to add a variable to the script and a thumbnail of the result. Click the thumbnail for a large image.<br/>
<a href="http://home.swiftdsl.com.au/~nomail/ima ... learth.jpg">

<img src="http://home.swiftdsl.com.au/~nomail/ima ... arth_s.jpg" width="200" height="155"></a>
Last edited by riblit on 22 July 05 10:58 am, edited 1 time in total.

The Garner Family
1100 or more caches found
1100 or more caches found
Posts: 953
Joined: 05 September 04 7:21 pm
Location: Brisbane

Post by The Garner Family » 22 July 05 9:44 am

I can't wait to get home and try it!

User avatar
juzmac
500 or more caches logged
500 or more caches logged
Posts: 220
Joined: 07 December 03 9:33 pm
Location: Tarneit, Victoria
Contact:

Post by juzmac » 24 July 05 9:40 pm

Great work riblit!!! I'll be playing with this one for hours!!!!!

User avatar
Cached
2500 or more caches found
2500 or more caches found
Posts: 3087
Joined: 24 March 04 4:32 pm
Location: Launceston, Tasmania
Contact:

Post by Cached » 25 July 05 11:25 am

added to wiki @ google earth

Post Reply