Advanced Geocaching Tool for Linux - Version 0.4.0

2009-10-06 Thread D. Fett

A new version is out and there are lots of new features:

- Added cool command line interface! See below for features.
- Completely new search feature
- New marking feature: Mark interesting geocaches and get back to them
quickly.
- Added upper bound for visible caches to improve speed
- Added upscaling of missing map tiles
- Changed image loading*
- Don't redraw map on movement if your position isn't shown anyway
- Changed quality indicator to see how exact the shown position is. Shows if
DPGS-Satellites (SBAS) are in sight.
- Recursive retrieval of geocaches. Download more geocaches with one click.
- bearing-hold function now works.
- better map drawing: see faster, which tiles are missing
- better hint decoding
- added python-json dependency
- Faster downloading of geocaches. 
- Removed exporting function until it is adapted to the new downloader 
- Smaller default size for use on netbooks

* To have all the images of a cache available, re-download your geocaches. 

The package is available as a PyPi-package for all newer python
distributions. For Ubuntu, all you have to do is:
sudo apt-get install python-setuptools
sudo easy_install agtl

An (slightly outdated) debian package for older python distributions is
available (see
http://packages.debian.org/search?keywords=agtlsearchon=namessuite=allsection=all
).

These are the features of the new CLI:

./agtl set [options]
Change the configuration.
./agtl import [importactions] 
Fetch geocaches from geocaching.com and write to the internal
database.
./agtl import [importactions] do [actions]
Fetch geocaches from geocaching.com, put them into the internal
database and do whatever actions are listed.
./agtl filter [filter-options] do [actions]
Query the internal database for geocaches and do the desired
actions.
./agtl import [importactions] filter [filter-options] do [actions]
Import geocaches, put them into the internal database, filter the
imported geocaches and run the actions. 
./agtl sql SELECT * FROM geocaches WHERE ... ORDER BY ... LIMIT ... do
[actions]
Select geocaches from local database and run the actions afterwards.
Additional use of the filter is also supported. To get more information, run
./agtl sql.
options:
--user(name) username
--pass(word) password
Your geocaching.com login data. 
importactions:
--in coord1 coord2
Fetches the index of geocaches between the given
coordinates.
These are interpreted as the corners of a rectangle. All
caches
within the rectangle are retrieved. No details are
retrieved.
--around coord radius-in-km
Fetches the index of geocaches at the given coordinate and
radius
kilometers around it. No details are retrieved.

filter-options:
--in coord1 coord2
--around coord1 radius-in-km
See import actions.
-f|--found
-F|--not-found
Filter out geocaches which have (not) been found by the
user.
-w|--was-downloaded
caches which have full detail information available

-s|--size (min|max) 1..4|micro|small|regular|huge|other
Specify a minimum or maximum size. If min/max is not given,
show
only geocaches with the given size.
-d|--difficulty (min|max) 1.0..5.0
-t|--terrain (min|max) 1.0..5.0
Filter out geocaches by difficulty or terrain.
-T|--type type,type,...
 type: virtual|regular|unknown|multi|event
Only show geocaches of the given type(s)
-o|--owner owner-search-string
-n|--name name-search-string
-i|--id id-search-string
Search owner, name (title) or id of the geocaches.
--new
Caches which were downloaded in current session. Useful to
get alerted when new caches arrive.
actions:
--print 
Default action, prints tab-separated list of geocaches
--fetch-details
Downloads Descriptions etc. for selected geocaches
--export-html folder
Dumps HTML pages to given folder
--command command
Runs command if more than one geocache has survived the
filtering.
The placeholder %s is replaced by a shell-escaped list of
geocaches.

Not implemented yet:
--export-gpx folder
Dumps geocaches into separate GPX files
--export-single-gpx file
Dumps selected geocaches into a single GPX file
--draw-map zoom file
Draws one big JPEG file with the positions of the selected
geocaches
--draw-maps zoom folder [tiles]
Draws a small JPEG image for every geocache. 

Preferred format for coordinates:
'N49 44.111 E6 29.123'
or
'N49.123456 E6.043212'

Instead of a coordinate, you may 

Re: Advanced Geocaching Tool for Linux - Version 0.4.0

2009-10-06 Thread D. Fett



D. Fett wrote:
 
 A new version is out and there are lots of new features:
 

The 'send' button was too close to my mouse pointer, sorry! ;-)

The package is available here: http://www.opkg.org/package_268.html
-- 
View this message in context: 
http://n2.nabble.com/Advanced-Geocaching-Tool-for-Linux-Version-0-4-0-tp3774950p3774956.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Towards paperless geocaching - Advanced Geocaching Tool for Linux

2009-09-03 Thread D. Fett



D. Fett wrote:
 
 Notify the community mailing list.
 (http://wiki.openmoko.org/wiki/Applications) 
 
 Advanced Geocaching Tool for Linux has all important features to make your
 geocaching life easier:
 
 - download geocaches for offline use with full text, hints  images on
 your freerunner
 - 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
 - target selection: selected geocache, one of its waypoints or manual
 input
 
 more at http://www.opkg.org/package_268.html
 

And here comes version 0.2.0. Now you can log your geocaches while out in
the field and upload the notes later on. No more What was the name of the
cache I found this morning?

As usual, the package is available at http://www.opkg.org/package_268.html
-- 
View this message in context: 
http://n2.nabble.com/Towards-paperless-geocaching-Advanced-Geocaching-Tool-for-Linux-tp3529624p3576474.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Towards paperless geocaching - Advanced Geocaching Tool for Linux

2009-09-03 Thread D. Fett



Hans Zimmerman wrote:
 
 D. Fett wrote:
 Notify the community mailing list.
 (http://wiki.openmoko.org/wiki/Applications) 
 
 Advanced Geocaching Tool for Linux has all important features to make
 your
 geocaching life easier:
 
 - download geocaches for offline use with full text, hints  images on
 your
 freerunner
 - 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
 - target selection: selected geocache, one of its waypoints or manual
 input
 
 more at http://www.opkg.org/package_268.html
 
 Testing the latest version 0.1.2:
 - I do not seem to get a GPS fix (other GPS applications do get a fix)
 - I try do download caches, the console does show some caches are 
 downloaded (I recognize names from the neighbourhood) but they are not 
 shown on the map.
 
 

Hans, please test the new package. I did not experience problems with GPS
fix in 0.1.2, but maybe restarting the app can help. 
The second bug you describe was indeed there. Should work by now.

-- 
View this message in context: 
http://n2.nabble.com/Towards-paperless-geocaching-Advanced-Geocaching-Tool-for-Linux-tp3529624p3576481.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Towards paperless geocaching - Advanced Geocaching Tool for Linux

2009-09-03 Thread D. Fett



Marcel-2 wrote:
 
 Am Dienstag, den 01.09.2009, 14:20 -0500 schrieb D. Fett: 
 Hi!
 
 I just published version 0.1.2. Map drawing should be faster now, and the
 colors may work corrently, too. Can you please give me some feedback on
 these two issues?
 
 Font color still gets black after having the Map tab open. :(
 Map drawing doesn't feel that fast yet. Maybe it's just python's limit
 there. Which would be disappointing...
 I got a big crosshair with ~2px wide lines over the whole map widget
 that points at the widget's center - intentionally?
 

Next try, if it doesn't work now, there's something going on which I don't
know by now :-)

-- 
View this message in context: 
http://n2.nabble.com/Towards-paperless-geocaching-Advanced-Geocaching-Tool-for-Linux-tp3529624p3576492.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Towards paperless geocaching - Advanced Geocaching Tool for Linux

2009-09-02 Thread D. Fett



Marcel-2 wrote:
 
 Am Dienstag, den 01.09.2009, 14:20 -0500 schrieb D. Fett: 
 Hi!
 
 I just published version 0.1.2. Map drawing should be faster now, and the
 colors may work corrently, too. Can you please give me some feedback on
 these two issues?
 
 Font color still gets black after having the Map tab open. :(
 Map drawing doesn't feel that fast yet. Maybe it's just python's limit
 there. Which would be disappointing...
 I got a big crosshair with ~2px wide lines over the whole map widget
 that points at the widget's center - intentionally?
 

Yes, the crosshair is intentionally. I plan to integrate an option to switch
it on or off. 

Map drawing will never be as fast as the map drawing in tangogps. This is
indeed a python limitation, although i don't know if it is already as fast
as it can be. Maybe we have some python expert here who can look over my
implementation?

-- 
View this message in context: 
http://n2.nabble.com/Towards-paperless-geocaching-Advanced-Geocaching-Tool-for-Linux-tp3529624p3565673.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Towards paperless geocaching - Advanced Geocaching Tool for Linux

2009-09-02 Thread D. Fett



Marcel-2 wrote:
 
 Am Mittwoch, den 02.09.2009, 04:21 -0500 schrieb D. Fett: 
 
 
 Marcel-2 wrote:
  
  Am Dienstag, den 01.09.2009, 14:20 -0500 schrieb D. Fett: 
  Hi!
  
  I just published version 0.1.2. Map drawing should be faster now, and
 the
  colors may work corrently, too. Can you please give me some feedback
 on
  these two issues?
  
  Font color still gets black after having the Map tab open. :(
  Map drawing doesn't feel that fast yet. Maybe it's just python's limit
  there. Which would be disappointing...
  I got a big crosshair with ~2px wide lines over the whole map widget
  that points at the widget's center - intentionally?
  
 
 Yes, the crosshair is intentionally. I plan to integrate an option to
 switch
 it on or off. 
 
 Map drawing will never be as fast as the map drawing in tangogps. This is
 indeed a python limitation, although i don't know if it is already as
 fast
 as it can be. Maybe we have some python expert here who can look over my
 implementation?
 
 That'd be great...
 
 What about using the original GC.com cache icons for GCs? Of couse one
 would have to download them separately (licensing issues iirc from the
 TangoGPS geocaching extension).
 

Sorry, but i absolutely don't want these icons in the app, for some reasons:
- the licensing issues you already mentioned
- but more importantly, these icons are very big. You don't see where the
geocache is actually located. Therefore i choose the square (so you can
easily spot the geocache) with the little crosshair in the center (so you
can see where _exactly_ the geocache is located).
- drawing the icons would be slower than drawing simple squares and lines
- it's easier to make the squares and lines translucent, so that the user
can see underlying streets 
-- 
View this message in context: 
http://n2.nabble.com/Towards-paperless-geocaching-Advanced-Geocaching-Tool-for-Linux-tp3529624p3565865.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Towards paperless geocaching - Advanced Geocaching Tool for Linux

2009-09-01 Thread D. Fett

Hi!

I just published version 0.1.2. Map drawing should be faster now, and the
colors may work corrently, too. Can you please give me some feedback on
these two issues?

Thanks,
Daniel


Marcel-2 wrote:
 
 Am Montag, den 31.08.2009, 07:18 -0500 schrieb D. Fett: 
 - speed up map display
 
 It may be just me, but it feels slower than the last version...
 Especially reaching the map view the first time after starting the app
 takes very long.
 
 - colors on non-standard themes should look right now :-)
 
 Works in principle. :) You still seem to set the text color once on the
 map view tab, after having had that visible all the text gets black on
 black again...
 
 Thanks for the update, it's getting better and better!
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/Towards-paperless-geocaching-Advanced-Geocaching-Tool-for-Linux-tp3529624p3562533.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Towards paperless geocaching - Advanced Geocaching Tool for Linux

2009-08-31 Thread D. Fett

I just made an update to the opkg.org package, we are not at version 0.1.0.
Some of the improvements:
- added option to control whether images will be downloaded
- added option to set up map tile path
- improved drawing if map tile is not available
- added notes text field for each geocache
- speed up map display
- show filter indicator
- field-tested the app
- colors on non-standard themes should look right now :-)

Happy geocaching!


D. Fett wrote:
 
 Notify the community mailing list.
 (http://wiki.openmoko.org/wiki/Applications) 
 
 Advanced Geocaching Tool for Linux has all important features to make your
 geocaching life easier:
 
 - download geocaches for offline use with full text, hints  images on
 your freerunner
 - 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
 - target selection: selected geocache, one of its waypoints or manual
 input
 
 more at http://www.opkg.org/package_268.html
 

-- 
View this message in context: 
http://n2.nabble.com/Towards-paperless-geocaching-Advanced-Geocaching-Tool-for-Linux-tp3529624p3553049.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Towards paperless geocaching - Advanced Geocaching Tool for Linux

2009-08-28 Thread D. Fett

It should work with a regular user account. Are you sure your network
connection works?

Daniel 


Marcel-2 wrote:
 
 I'm trying to try this ;), but I cannot seem to download caches. Does
 downloading require me to have a gc.com subscription to make mass cache
 downloads? AGT keeps telling me my user/pass (definitely correct) are
 wrong...
 
 --
 Marcel
 
 Am Donnerstag, den 27.08.2009, 15:02 -0500 schrieb D. Fett:
 Notify the community mailing list.
 (http://wiki.openmoko.org/wiki/Applications) 
 
 Advanced Geocaching Tool for Linux has all important features to make
 your
 geocaching life easier:
 
 - download geocaches for offline use with full text, hints  images on
 your
 freerunner
 - 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
 - target selection: selected geocache, one of its waypoints or manual
 input
 
 more at http://www.opkg.org/package_268.html
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/Towards-paperless-geocaching-Advanced-Geocaching-Tool-for-Linux-tp3529624p3533447.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Towards paperless geocaching - Advanced Geocaching Tool for Linux

2009-08-28 Thread D. Fett



Marcel-2 wrote:
 
 Yes, I'm sure about that and now as I tried again it worked. Strange.
 Does the program need a restart first to write the data to a config
 file? Just guessing here...
 

Exactly this may be the case. Will check that later


Marcel-2 wrote:
 
 Anyway, next issue :) Downloading works quite fine, had to create
 ~/caches first and wondered why it won't work...
 

Should be created automatically, but apparently that doesn't work. 


Marcel-2 wrote:
 
 Could you please make the Maps dir configurable? I luckily have a
 symlink ~/Maps - mapdir, but someone else won't...

That should be no problem. Until now, I only know about tangoGPS downloading
maps automatically, to the ~/Maps folder. Which application expects the maps
somewhere else and does it have the same folder structure?


Marcel-2 wrote:
 
 Do you somehow set the font color(s) yourself? I use the gtk-theme-neo
 (black bg and green borders/text) on which the black text in AGT is
 unreadable.
 

Yes, for lazyness reasons I set the color to black. Works for everyone...
well... or maybe.. just for me. Changing this in the next release :-)


Marcel-2 wrote:
 
 Still being able to get the cache descriptions right on the neo is
 great, now I don't have to print pages and pages of caches anymore. :D
 

You better have a paper copy with you until my program is more stable :-)


Marcel-2 wrote:
 
 --
 Marcel
 
 Am Freitag, den 28.08.2009, 03:48 -0500 schrieb D. Fett:
 It should work with a regular user account. Are you sure your network
 connection works?
 
 Daniel 
 
 
 Marcel-2 wrote:
  
  I'm trying to try this ;), but I cannot seem to download caches. Does
  downloading require me to have a gc.com subscription to make mass cache
  downloads? AGT keeps telling me my user/pass (definitely correct) are
  wrong...
  
  --
  Marcel
  
  Am Donnerstag, den 27.08.2009, 15:02 -0500 schrieb D. Fett:
  Notify the community mailing list.
  (http://wiki.openmoko.org/wiki/Applications) 
  
  Advanced Geocaching Tool for Linux has all important features to make
  your
  geocaching life easier:
  
  - download geocaches for offline use with full text, hints  images on
  your
  freerunner
  - 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
  - target selection: selected geocache, one of its waypoints or manual
  input
  
  more at http://www.opkg.org/package_268.html
  
  
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
  
  
 
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/Towards-paperless-geocaching-Advanced-Geocaching-Tool-for-Linux-tp3529624p3533777.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Towards paperless geocaching - Advanced Geocaching Tool for Linux

2009-08-27 Thread D. Fett

Notify the community mailing list.
(http://wiki.openmoko.org/wiki/Applications) 

Advanced Geocaching Tool for Linux has all important features to make your
geocaching life easier:

- download geocaches for offline use with full text, hints  images on your
freerunner
- 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
- target selection: selected geocache, one of its waypoints or manual input

more at http://www.opkg.org/package_268.html
-- 
View this message in context: 
http://n2.nabble.com/Towards-paperless-geocaching-Advanced-Geocaching-Tool-for-Linux-tp3529624p3529624.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community