Geocaching Forums: Track Tb Progress In Google Earth - Geocaching Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Track Tb Progress In Google Earth Firefox and Greasemonkey to the rescue

#1 User is offline   lordelph 

  • Premium Member
  • Group: +Premium Members
  • Posts: 583
  • Joined: 28-August 04

Posted 14 July 2005 - 10:56 AM

I've written a GreaseMonkey script which allows you to view the progress of a travel bug across the globe with Google Earth.

To see it in action, view this image (70Kb)

To install it, you must use the Firefox browser with the Greasemonkey extension. Once you've got that, right click this link http://files.dixo.ne...tracker.user.js and choose "install user script...". A dialog will appear showing the script name and the pages it will modify - to confirm you want to install, click OK. Now go find a TB to track!

I wrote this very quickly when the idea occurred to me this afternoon - if you notice a problem with it, do let me know!

#2 User is offline   ertyu 

  • PONI
  • Group: +Premium Members
  • Posts: 274
  • Joined: 22-July 03

Posted 14 July 2005 - 11:02 AM

Another very cool tool.

#3 User is offline   lordelph 

  • Premium Member
  • Group: +Premium Members
  • Posts: 583
  • Joined: 28-August 04

Posted 16 July 2005 - 03:38 AM

I just fixed a bug in the script where it could miss points on TBs that had photographs logged, so if you've noticed too few points, re-install the script and try again!

Many thanks to the eagle-eyed Rutson for alerting me to the problem.

This post has been edited by lordelph: 16 July 2005 - 03:40 AM


#4 User is offline   lordelph 

  • Premium Member
  • Group: +Premium Members
  • Posts: 583
  • Joined: 28-August 04

Posted 16 July 2005 - 01:26 PM

There's no stopping that Mr Rutson when he gets going and he's just added some nice tweaks, each cache on the route is now marked, and you can "playback" the TB track in Google Earth to fly from cache to cache. It's a lovely upgrade, so if you liked the extension before, you'll love it now :P

Upgrade by re-installing from the original link.

#5 User is offline   Tidalflame 

  • Trapped inside this OCTAVARIUM
  • Group: +Premium Members
  • Posts: 359
  • Joined: 18-February 05

Posted 16 July 2005 - 10:42 PM

Nice. I might try it once I get a few TBs of my own :blink:

#6 User is offline   magicboy 

  • Geocacher
  • Group: +Premium Members
  • Posts: 27
  • Joined: 03-June 05

Posted 19 July 2005 - 10:06 AM

Got the script no bother, but whenever I try to install Google Earth, nothing happens... Anyone know what I might be doing wrong??

#7 User is offline   Team Trail Walker 

  • Colorado Cacher
  • Group: +Premium Members
  • Posts: 85
  • Joined: 08-April 03

Posted 20 July 2005 - 07:50 PM

Very cool! :unsure:

#8 User is offline   Team Red Roo 

  • Wayne
  • Group: +Premium Members
  • Posts: 23
  • Joined: 29-April 03

Posted 17 August 2005 - 09:41 PM

lordelph, on Jul 14 2005, 10:56 AM, said:

I've written a GreaseMonkey script which allows you to view the progress of a travel bug across the globe with Google Earth.


Brilliant - almost as good as bottled beer :P

#9 User is offline   Doc-Dean 

  • Sight Unseen!!
  • Group: +Premium Members
  • Posts: 2362
  • Joined: 28-November 01

Posted 18 August 2005 - 04:18 AM

How will it display the track of places that travel over the horizon to the other side of the globe?

#10 User is offline   Doc-Dean 

  • Sight Unseen!!
  • Group: +Premium Members
  • Posts: 2362
  • Joined: 28-November 01

Posted 18 August 2005 - 04:52 AM

Very cool! Just installed it. Works great but only on some TB tracks.

Answering my own question from above.... I tried a very well travelled TB - A virtual TB and while trying to send the (very large) data file to Google Earth it repeatedly caused Firefox to crash.

#11 User is offline   lordelph 

  • Premium Member
  • Group: +Premium Members
  • Posts: 583
  • Joined: 28-August 04

Posted 18 August 2005 - 05:39 AM

I'll check it out - probably a limitation on the size of data: urls...

#12 User is offline   MamaMouse 

  • MamaMouse
  • Group: +Premium Members
  • Posts: 43
  • Joined: 26-December 04

Posted 18 August 2005 - 10:17 AM

I downloaded the add-in and the script and then tried to view the map picture and I got a pop-up asking me what I wanted to do with the file. The pop-up said the file was an: application/vnd.google-earth.kml+xml application. I tried it on travel bug TBJVDW which has traveled From Alaska to Florida to New Zealand. I also tried it on several other less traveled bugs, but I get the same result. Did I miss something?
:P
Nevermine .. I figured it out.. Duh ... have to install Google-Earth. Silly me. Now it works great! :blink:

This post has been edited by MamaMouse: 18 August 2005 - 10:22 AM


#13 User is offline   fizzymagic 

  • Boson
  • Group: +Charter Members
  • Posts: 4626
  • Joined: 16-March 02

Posted 18 August 2005 - 11:01 AM

I'm curious: how do you accomplish this without violating geocaching's Terms of Use that prohibit automated page-scraping?

#14 User is offline   lordelph 

  • Premium Member
  • Group: +Premium Members
  • Posts: 583
  • Joined: 28-August 04

Posted 18 August 2005 - 11:03 AM

It isn't performing an automated fetch of anything - the fetching is driven by your own browsing. All it does is utilise the information on the page to visualise it in a different way.

#15 User is offline   fizzymagic 

  • Boson
  • Group: +Charter Members
  • Posts: 4626
  • Joined: 16-March 02

Posted 18 August 2005 - 11:40 AM

lordelph, on Aug 18 2005, 11:03 AM, said:

It isn't performing an automated fetch of anything - the fetching is driven by your own browsing. All it does is utilise the information on the page to visualise it in a different way.

I'm confused. Where are the coordinates of the caches it has visited available on the TB page? I went and looked and I did not see them. Don't you need coordinates to make the map?

#16 User is offline   lordelph 

  • Premium Member
  • Group: +Premium Members
  • Posts: 583
  • Joined: 28-August 04

Posted 19 August 2005 - 03:34 AM

View the HTML source to that page, the information is there. If you can read javascript, you can view the source of the GreaseMonkey script to see how I did it.

#17 User is offline   fizzymagic 

  • Boson
  • Group: +Charter Members
  • Posts: 4626
  • Joined: 16-March 02

Posted 19 August 2005 - 08:50 AM

lordelph, on Aug 19 2005, 03:34 AM, said:

View the HTML source to that page, the information is there. If you can read javascript, you can view the source of the GreaseMonkey script to see how I did it.

Ah, indeed it is! The various map centers. Clever.

I don't use Greasemonkey because of its serious security flaws. Knowing that the information is on that page is extremely useful, howver. Thanks!

#18 User is offline   Maingray 

  • Immolation.
  • Group: +Premium Members
  • Posts: 2055
  • Joined: 08-June 02

Posted 21 August 2005 - 05:22 PM

Great stuff, works well with the 0.5 beta. Why does it go to the last location first and then proceed with the tour?

#19 User is offline   Doc-Dean 

  • Sight Unseen!!
  • Group: +Premium Members
  • Posts: 2362
  • Joined: 28-November 01

Posted 16 September 2005 - 05:44 AM

lordelph, on Aug 18 2005, 09:39 AM, said:

I'll check it out - probably a limitation on the size of data: urls...

Any update on this bug?

#20 User is offline   Windsockers 

  • *-*
  • Group: +Premium Members
  • Posts: 187
  • Joined: 01-September 04

  Posted 16 September 2005 - 10:04 AM

Being a complete novice at pc's i tried this and its working fantastic i have a
few Tbs now i can see there travels thanks guys :) :) :)


#21 User is offline   Anonymous' 

  • Slagathor
  • Group: +Premium Members
  • Posts: 2212
  • Joined: 28-April 02

Posted 16 September 2005 - 02:48 PM

That's a very cool idea, I'll have to try it out on one of my TBs.

#22 User is offline   blackjack65 

  • Geocacher
  • Group: +Premium Members
  • Posts: 399
  • Joined: 10-July 05

Posted 05 October 2005 - 05:33 AM

Does this work with Internet Explorer?

#23 User is offline   Tharagleb 

  • Geocacher
  • Group: +Premium Members
  • Posts: 942
  • Joined: 14-May 03

Posted 06 October 2005 - 04:59 AM

This is great, thanks!

#24 User is offline   Tharagleb 

  • Geocacher
  • Group: +Premium Members
  • Posts: 942
  • Joined: 14-May 03

Posted 06 October 2005 - 05:01 AM

blackjack65, on Oct 5 2005, 05:33 AM, said:

Does this work with Internet Explorer?

Quote

To install it, you must use the Firefox browser...


It is a Firefox extension, however Firefox is free, just go download it.

#25 User is offline   lordelph 

  • Premium Member
  • Group: +Premium Members
  • Posts: 583
  • Joined: 28-August 04

Posted 06 October 2005 - 06:58 AM

While there are Greasemonkey-like extensions for IE (try Turnabout), this particular extension uses a Firefox-specific feature to do what it does.

#26 User is offline   Tervas 

  • Latebird
  • Group: +Premium Members
  • Posts: 999
  • Joined: 15-August 02

Posted 06 October 2005 - 09:56 PM

Amazing!
:ph34r: :D :lol: :D :D
Thanks a many!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked