Hein (fub) wrote,

  • Mood:

Open Source in action

Setting up a tool chain for downloading GPX (GPS eXchange) files, extracting hints and cache descriptions, and uploading that to the GPS receiver has been one of the roads of inquiry I have been pursuing with respect to the switch to Linux.

It didn't take me long to find the geo-* tools, which are a set of shell scripts to download various interesting information from the geocaching.com website -- such as the list of caches that are nearest to your home coordinates, or the ones you found, etcetera.
However, the script to download the GPX-file for a certain waypoint/cache was broken. Recently, gc.com changed their page layout, which also prompted some changes in the form on that page. The script, such as it was, didn't send the right information along, so you got the HTML page in your GPX-file...

After a bit of hacking (livehttpheaders to the rescue!), I determined the right way to do the request, and changed the call to curl. Now it works.

I have submitted my change (really a minor edit) to the package author, so that others may continue to benefit from these scripts.
Tags: geocaching, linux

  • Friday Five & GenX

    What toys were popular when you were a kid? This was the height of the 80’s, the time of cartoons on TV pushing toys. They were expensive…

  • Small update

    Wow, I haven’t posted in over a month here. And yet I still don’t feel like I have much to say. Let’s see… – The…

  • Mock Chicken

    The Judge Dredd comics are an interesting artefact of the 1980s: it’s what British comic writers thought how the US urban landscape would…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded