Rick Richardson's Linux tools for geocaching
Tarball last modified: Tue Sep 29 08:40:42 2020 EDT - ChangeLog
Here are various tools for geocaching. Some are designed to turn the clickly-clicky-scroll-clicky-clicky messes that are geocaching.com, opencaching.com, opencaching.us and navicache.com into a set of tools which you can use in a batch or cron mode to establish your normal caching routine, backup your caches and cache logs, etc. Others are used to enter new waypoints, a free geocoder, create custom maps of waypoints, etc.
These tools work on Linux and CygWin on MS Windows and also work on Mac OS X. I have no plans to port them to native Windows, and to protect your karma I urge others to refrain from doing so.
All of the tools that were written by me are released into the public domain, with no copyright or license restrictions whatsoever. Other tools, like gpx2html, enimga.py, and geodetics.html, are copyright by their original author and may have license restrictions as indicated in the source code.
Any of the tools will print a usage summary with "-?", e.g.$ geo-nearest -?
Click the link, or cut and paste the whole command line below to download the tools:$ wget http://geo.rkkda.com/geo-20-09-29-07-40-41.tar.gz
Now unpack it:$ tar zxf geo-*.tar.gz $ cd geo
Now compile and install it:Compile: $ make Install: $ make install # to install in $HOME/bin OR $ su OR $ sudo sh # PREFIX=/usr make install # to install in /usr/bin... # make install-man # ... and the manual pages Create a $HOME/.georc file with at least these lines in it: PASSWORD="your-gc.com-password" USERNAME="your-gc.com-username" LAT=n44.56.850 # Your home latitude in decimal or MinDec degrees LON=w93.29.465 # Your home longitude in decimal or MinDec degrees
If you don't like it, do this:$ make uninstall # to uninstall in $HOME/bin OR $ su OR $ sudo sh # PREFIX=/usr make uninstall # to uninstall in /usr/bin...
Click here for the forum where you can ask a question, submit a bug report, etc.
You can read the manual pages for more information.
Use the latest gpsbabel (1.5.4+):$ git clone https://github.com/gpsbabel/gpsbabel.git $ cd gpsbabel $ ./configure --prefix=/usr $ make # make install
Do this FIRST:Download and install MacPorts: http://www.macports.org/ $ PATH=$PATH:/opt/local/bin $ sudo port selfupdate $ sudo port install gsed $ sudo port install coreutils $ sudo port install lynx $ sudo port install ImageMagick $ sudo port install gawk $ sudo port install ghostscript $ sudo port install dos2unix $ sudo port install p5-xml-twig $ sudo port install p5-datetime $ sudo port install p5-html-parser Download and install gpsbabel: http://www.gpsbabel.org/ $ wget http://www.linklevel.net/distfiles/gpsbabel-1.5.4.tar.gz $ tar zxf gpsbabel-1.5.4.tar.gz $ cd gpsbabel-1.5.4 $ ./configure $ make $ sudo make install If you get "configure: error: *** A compiler with support for C++11 language features is required.", then drop back and use: $ wget http://www.linklevel.net/distfiles/gpsbabel-1.4.4.tar.gz
Install CygWin as per www.cygwin.com. For the easiest (but longer) install experience, just install everything. If you choose to install a subset, you will need to install the base package plus these other packages (this list might be incomplete):Download and install gpsbabel:ImageMagick bash bc binutils cpio curl curl-devel dos2unix gawk gcc ghostscript grep libQt5Core libQt5Core-devel lynx make sh-utils sharutils wget expat units NOTE: curl/libcurl has a bug with 1.34.0, either downgrade to 1.33.0 or upgrade to 1.34.1+.Screenshot:$ wget http://www.linklevel.net/distfiles/gpsbabel-1.5.4.tar.gz $ tar zxf gpsbabel-*.tar.gz $ cd gpsbabel-1.5.4 $ ./configure --without-libusb $ make $ make install -OR- $ cp gpsbabel.exe /usr/bin$ geo-intersect ...
Install with "pkg install":and:coreutils (gives gtouch and gdate, and more) gawk gmake gpsbabel gsed unix2dosThen follow the Linux instructions but use "gmake" instead of "make".$ su # ln -s /usr/local/bin/bash /bin/bash
<-- Click here to support the development of geo-* tools.
Any amount is appreciated.