Hide this bar

Advanced Geocaching Tool for Linux

AGTL makes geocaching paperless! It downloads cache locations in the area visible on the map including their description, hints, difficulty levels and images. Searching for caches in your local db is a matter of seconds. The currently selected cache is shown on the map (and also all the others if you want) and there's a traditional compass-like view that always points at the cache.

- finger-friendly input and user interface
- download geocaches for offline use with full text, hints & images on your freerunner
- log caches and write notes while out in the field and upload them later.

- writes html page for each downloaded cache
- map view with icons for nearby geocaches (uses openstreetmaps and tangogps map directory, downloades missing tiles automatically)
- search the internal database for geocaches by name or type
- shows current altitude, distance to target, current bearing, direction to target, number of satellites and current position
- target selection: selected geocache, one of its waypoints or manual input

For more features, please read the manual at http://wiki.openmoko.org/wiki/Advanced_Geocaching_Tool_for_Linux

AGTL was developed for the latest SHR testing. If you're experiencing a bad performance, this may be due to an older SHR build.

This build probably contains one or more bugs. If you find one, leave a comment here so that i can fix it!

You need a valid geocaching.com login to use this application. Please remember that geocaching.com is a free service which makes its money via ads. So please visit their site regularly :-)
I'm in no connection whatsoever with geocaching.com!

Update August 11, 2010:
- Release based on codebase from the other platforms.
- Fix a lot of bugs
- Probably introduce 2 or 3 minor ones :-)

GIT repository is available at http://github.com/webhamster/advancedcaching/tree/master

 

 

Version 0.7.1.0-freerunner-0 Status Stable
Developer Daniel Fett Category GPS
Instructions http://wiki.openmoko.org/wiki/Advanced_Geocaching_Tool_for_Linux Homepage http://www.danielfett.de/

 

 

« Go back

 

   

 

 

 

Rating: 0

Rate:

 

 

Known dependencies

python-netclient , python-misc , python-mime , python-io , python-image , python-html

 

 

 

 

 

Comments

» Write your own comment

 
johnnymnemonic wrote: (2009-08-27 19:19:39)
root@om-gta02 ~ $ advancedcaching.py
Traceback (most recent call last):
File "/usr/bin/advancedcaching.py", line 32, in <module>
import json
ImportError: No module named json
 
webhamster wrote: (2009-08-27 19:32:18)
please check if you have install python-misc
 
webhamster wrote: (2009-08-27 21:18:14)
Dependencies were wrong - now it should work.
 
CS wrote: (2009-08-28 12:35:07)
Great application!
I had to shut it down and restart before it would download caches.
Two things came to mind:
- Get it into the SHR repository!
- Is there a way to load opencyclemap tiles? I have lots of those on my SD card and some very old Mapnik. The app only uses the latter and I have not yet found a way to change this.
 
webhamster (Daniel F.) wrote: (2009-08-28 12:43:50)
Thanks!
Currently there's no way to achieve this, but it may be a goal for future releases.
 
MMind wrote: (2009-08-28 16:33:52)
Will you provide the source also? If so under what license, as I would be interested in porting it to debian.

Thanks
 
Ficik wrote: (2009-08-28 17:44:02)
Arrow is really not good when I'm not moving.. But I can be improved by adding North indicator (like there: http://img24.imageshack.us/img24/3541/docgps2.png).
 
webhamster wrote: (2009-08-28 18:27:51)
MMind, source is available in the package, and will soon be in a git repository. As there is a (nearly) complete desktop UI already, please contact me: fett@danielfett.de, thanks!
 
webhamster wrote: (2009-08-28 18:29:45)
ficik, what exactly would the user benefit from a north indicator? as of now, the "top" is not north, but the direction of travel of the user.
 
Ficik wrote: (2009-08-29 14:27:59)
webhamster, north indicator changes position, it's not static. User is traveling to north on image. It would be on right when traveling to west.
and benefit.. user can get correct phone orientation when not moving.
 
Ficik wrote: (2009-08-29 16:11:18)
Btw missing dependency: python-mime
 
Ficik wrote: (2009-08-30 08:51:43)
Would you add translations support? I\'d love to translate it to czech
Would you add attributes to cache details? It\'s really usefull when cache need maintance
You probably know this.. all downloading should by done in other thread, in background, currently it freezes app until it\'s done
Would you add editable note to cache details? It\'s usefull while doing some mystery cache with counting stuff (like: number of collumns is A etc.)
Please switch collumns ID and Name in cache list. Name is not visible without scrolling and it\'s IMO more useful than ID.

I really like this app. It\'s already awesome. This few things above can make it even better for me...
 
webhamster wrote: (2009-08-30 11:13:19)
ficik, thanks for your feedback. i'll probably implement most of the changes. translation support is not planned yet, but may be in the future.
 
Ficik wrote: (2009-08-30 12:17:18)
Is there any way to download info for all caches in db?
 
webhamster wrote: (2009-08-30 12:55:20)
currently there's no such feature.
 
noother wrote: (2009-09-01 23:18:11)
ahh, thanks a lot for this, tried it today & love it :)

There's one thing I'm missing though. It would be nice if you could implent something to mark a cache as found - so you don't need to write down the cache ids or search through the map to find all the caches you found after a tour.

A button "Found it" which writes to a file "found cache gcxxxx" - so you can easily log the caches at geocaching.com when you're home again - would be the most simple example i guess. Maybe auto update them on the next sync (download tab)

thanks & greets,
noother
 
CS wrote: (2009-09-05 17:16:27)
Thanks a lot for adding the possibility to change the map directory. However, usability is not yet perfect. When the keyboard comes up I can no longer see the field and what I am writing is not displayed. Even when finished I do not see the full line. Therefore, I'm not sure I entered the correct path.
A a first remedy all fields that can be modified with the keyboard could be moved up on the page. For the display options the keyboard is not necessary.
Nevertheless, I tried to point the program to my opencyclemap tiles. However it keeps displaying mapnik 8-(

Regardless, this is a great app! Keep up the good work!

Thanks again,
CS
 
webhamster wrote: (2009-09-05 20:32:11)
there's an option to configure the map directory but not the maps it's acutally using. i don't know when i will add the feature to use different map sets.
moving input fields up is a good idea, i'll do this for the next release.
 
Larkules wrote: (2009-09-08 13:40:34)

Missing Dependency on shr unstable: python-json
 
texoft wrote: (2009-09-09 21:00:40)
great application. thanks.
few questions/suggestions though:
a) (how to) do not download archived caches?
b) set cache as target, restart agtl -> no more description in \"cache details\"
c) images - click \"next\", there\'s no next, only \"forward\" button

anyway, thanks again for great app.
 
Polprav wrote: (2009-10-22 12:06:23)
Hello from Russia!
Can I quote a post in your blog with the link to you?
 
webhamster wrote: (2009-10-22 17:19:48)
Polprav, please contact me at fett (at) fragcom (dot) de
thanks!
 
Christopher Beck wrote: (2009-11-22 13:46:27)
Good application. But it cannot download the cachdata from geocaching.com:
+ Checking Login status
+ Loaded cookie file
+ Checking if still logged in...
+ Seems as we're still logged in
Seite konnte nicht abgerufen werden
Is this a bug?
 
Jenssss wrote: (2009-12-02 13:49:03)
root@om-gta02 ~ $ agtl
Traceback (most recent call last):
File "/usr/bin/agtl", line 2, in <module>
import advancedcaching.core
File "/usr/lib/site-python/advancedcaching/core.py", line 116, in <module>
import json
ImportError: No module named json
 
skamster wrote: (2009-12-03 16:49:21)
hey dude, your programm is very nice..! :)
thx!
2 things:

1. please add python-json to the package-dependencies.. this package is in the shr-repo

2. i've a little fix for you:
if someone didn't create the folder "cache", then no cache is downloadable, because you throw a exception..

the better reason (at least for me): try to make this folder!

file: /usr/lib/site-python/advancedcaching/geocaching.py

line: 210

replace

raise Exception("Path does not exist: %s" % path)

with

os.mkdir(path)

:)
 
multi wrote: (2009-12-07 16:44:53)
Hi
I tested it today on new SHR-U.
It's very powerfull aplication.
Thanks
 
Niek van Ruler wrote: (2009-12-29 16:42:10)
Great application, but

If you don't have the directory /home/root/caches you can't download any geocaches.
You have to make this directory by hand
 
kraft wrote: (2010-01-13 20:46:22)
I had to install pythun-json to be able to launch it.

When trying to fetch details for the visible caches a pop-up box appears saying "local variable 'owner' referenced before assignment". The only output in the console is:

+ Checking Login status
+ Loaded cookie file
+ Checking if still logged in...
+ Seems as we're still logged in

Hope you can help me out on this one.

I'm using SHR-testing from Jan 11.

Cheers
Kraft
 
zxa wrote: (2010-01-15 01:54:23)
Thank you Daniel for the great application, i can\'t imagine caching without it.

I\'ve installed the fixed geocaching.py file from your GIT repo after the gc.com html changings in january. It works good, but unfortunately it isn\'t saving spoiler pics anymore.

I also have two things on my wishlist: waypoint projection and a possibility to delete caches (without hacking the .db ;-) ).

Thanks for your effort!
 
Kraft wrote: (2010-01-30 17:54:58)
On SHR-testing from 25/1-2010 I get the following error message when
trying to "fetch details" with Advanced Geocaching Tool for Linux
v.0.5.

##################
+ Checking Login status
+ Loaded cookie file
+ Checking if still logged in...
+ Seems as we're still logged in
Traceback (most recent call last):
File "/usr/lib/site-python/advancedcaching/simplegui.py", line 941,
in on_download_details_map_clicked
self.core.on_download_descriptions(self.get_visible_area(), True)
File "/usr/lib/site-python/advancedcaching/core.py", line 411, in
on_download_descriptions
self.gui.show_error(e)
File "/usr/lib/site-python/advancedcaching/simplegui.py", line 1536,
in show_error
raise errormsg
AttributeError: 'NoneType' object has no attribute 'group'
##################

Have I overlooked something obvious? Or is it a bug?

Cheers
Kraft
 
Kraft wrote: (2010-03-07 11:15:29)
I have figured out that the above message only appaers when trying to download certain caches. For example GC22PMC, will make it fail, while it still can download other cache details from that area. Cache GCQDJR and a lot of the caches in that area will also make it fail. Hope it helps.

Cheers
Kraft
 
Phate wrote: (2010-03-27 13:04:30)
The same problem as above:
When trying to fetch details for the visible caches a pop-up box appears saying "local variable 'owner' referenced before assignment".

Any idea?
 
polarbAEr wrote: (2010-04-27 09:39:02)
Same problem here, with any cache I tried so far (~30).
 
ady wrote: (2010-04-28 11:39:54)
Just brilliant, now I'm never going to get anything done :)

I have looked in to geocaching before but never got drawn in. Then along comes your application. After installation and a quick scout about I was off and I spent the next 8 hours finding 6 caches. This application is so easy to use.

The only problems I have are:

Reading the tiny map but I know there is nothing you can do to change this.

I have yet to discover how to mark the caches as found.

When downloading the overview, if zoomed in too far, I'm am prompted to select a smaller area, when in fact a larger area is required.

The application has crashed out when selecting from the drop-down menu on a couple of occasions.

Please could you update the wiki page.

Keep up the good work, I'm not sure how you could make this app any better.
 
sycoso wrote: (2010-05-01 09:38:39)
A really great app!

Would it be possible to add opencaching?
 
Dan Staley wrote: (2010-05-06 07:44:08)
I really like this app and was dismayed when I found that it had stopped downloading the caches correctly in the most recent version.

However, not wanting to work on my finals, I decided to track down why this was.

The error it seems is on line 545 of geocaching.py
(located at: /usr/lib/site-python/advancedcaching/core.py)

The regex used to find the lat/lon is not taking into account the possibility of a negative value. Changing the line to the following will fix the error and allow you to download caches again!

coords = re.compile('lat=(-?[0-9.]+)&amp;lon=(-?[0-9.]+)&amp;').search(line)

I'll send something to the devel if I figure out how.

Hope this helps everyone else! Enjoy geocaching!
 
Frank wrote: (2010-05-08 20:01:30)
Hi great programm ! I love it and keep up the good work!
I have the problem that on Multistage caches every second stage coord is missing for example on gc26b29 only the first stage is displayed but there are 2 stages. Maybe someone can help?
 
ChrisPZV wrote: (2010-06-07 13:41:23)
Hi there,
I used this installation commad on FreeRunner (actual SHR-T (June 2010)):

opkg install python-mime python-misc python-netclient python-io python-image python-html http://www.opkg.org/packages/advancedcaching_0.6.0-freerunner1_all.ipk

Everything went fine so far but trying to start fails with following message:

root@om-gta02 ~ # agtl --simple
If you're on maemo, please install python-location
Not using image resize feature
Traceback (most recent call last):
File "/usr/bin/agtl", line 4, in <module>
advancedcaching.core.start ()
File "/usr/lib/site-python/advancedcaching/core.py", line 694, in start
Core(gui, determine_path())
File "/usr/lib/site-python/advancedcaching/core.py", line 265, in __init__
self.pointprovider = provider.PointProvider(self.CACHES_DB, self.downloader, geocaching.GeocacheCoordinate, 'geocaches')
File "/usr/lib/site-python/advancedcaching/provider.py", line 14, in __init__
self.conn = connect(filename)
sqlite3.OperationalError: unable to open database file
Exception AttributeError: "PointProvider instance has no attribute 'conn'" in <bound method PointProvider.__del__ of <advancedcaching.provider.PointProvider instance at 0x40421800>> ignored
Exception AttributeError: "'Core' object has no attribute 'gui'" in <bound method Core.__del__ of <Core object at 0x40421710 (advancedcaching+core+Core at 0x394a20)>> ignored
root@om-gta02 ~ #

What's to do next, to make it AGTL work?
 
ChrisPZV wrote: (2010-06-08 10:46:12)
After a while examining the py-files and going through the startup process I found out, that AGTL looks for Settings-Dir that does not exist by default (core.py:206):
SETTINGS_DIR = path.expanduser('~/.agtl')
So I just executed
"mkdir -p ~/.agtl" on terminal and it works after that!
What about trying after line 206: (Just like that, don't know if it is right, I've never written any line of python code.)
[code]
try:
os.mkdir(SETTINGS_DIR)
except Exception, e:
print "Could create AGTL-settings-directory: %s" %e
[/code]

So let the geocaching fun begin! ;-)
 
ChrisPZV wrote: (2010-06-16 10:50:30)
The actual verion does not work for me, I patched it myself and found it wfm.
To apply the patch to your Neo FreeRunner open a terminal ant execute this command:

wget -O /tmp/agtl_patch.tgz "http://chpohl.de/openmoko/agtl/adv
ancedcaching_0.6.0-freerunner1_all_patched_20100616.tgz" && tar -xvzf /tmp/agtl_
patch.tgz -C /

This patch comes with absolutely NO WARRANTY.

Happy Hunting!

Feature request: Fullscreen, add quit button.
 
ChrisPZV wrote: (2010-06-18 00:12:37)
I made some more changes:
- on downloading geocaches from big view of map, agtl will raise only one error dialog (why can't I dispose them by clicking OK-button??? :-|)
- logs are downloaded now too (forgot that in my last version)
- changed max number of displayable caches and number of fetchable for details to 150
- when showing geocaches on map, you get an information how much there are
Download and installation:

wget -O /tmp/agtl_patch.tgz "http://chpohl.de/openmoko/agtl/advancedcaching_0.6.0-freerunner1_all_patched_20100617.tgz"; && tar -xvzf /tmp/agtl_patch.tgz -C /

NO WARRANTY included ;-)
 
ChrisPZV wrote: (2010-06-18 16:05:57)
Integrated patch that Dan Staley suggested:

wget -O /tmp/agtl_patch.tgz "http://chpohl.de/openmoko/agtl/advancedcaching_0.6.0-freerunner1_all_patched_20100618.tgz";; && tar -xvzf /tmp/agtl_patch.tgz -C /
 
webhamster wrote: (2010-08-11 15:28:49)
There's now a working official release again. Have fun and report bugs at github.org (see above).

 

 

     

    Your Name
    Comment
     
      Notify me about new comments

     

     
    Home

    Package Browser

    • Audio
    • Games
    • GPS
    • Graphics
    • Internet
    • PIM/Office
    • Settings
    • System
    • Utility
    • Video

    News

    • Notification system up and running
    • www.opkg.org - Relaunch!
    • Source code field added!
    • Second site update!
    • First big site update
    Help Developer Contact

     

    Pulster Online-Shop