Creative visualizing of a GPS-logged flight

Written by Ingolf Zeiner Petersen on May 12th, 2009

Last weekend I went flying from Værnes (IATA code TRD) to Molde (MOL), and back again.
Thanks to my up-and-coming Pilot-buddy Marius, I have the opportunity to go flying nearly as frequent as I wish. But not just that – I even get to maneuver the plane! Great fun :-D

Cessna 172N Skyhawk 100 II

Cessna 172N Skyhawk 100 II (LN-HOF, Værnes Flyklubb)

Having to assist in managing the plane, taking pictures, and even using my Garmin-software to find out where we actually are flying, I want logs from it all.
To begin with, I usually use Nokia Sports Tracker to log flying, cycling, walking etc… It’s simple to start, have frequent logging-intervals (can be adjusted) and is real easy to upload to the Nokia website, just like this one.

On this trip to Molde, I had to use Garmin to navigate using topographic maps. As my mobile can’t use the GPS-unit at the same time with two different applications, I had to use Garmin to log the rest of the trip.

Back at my flat, I went uploading the photos from my camera to the computer, and geotagging them afterwords – a simple workflow using the exported GPX-logfile from my mobile-phone, and an awesome, free application called GPicSync.
(Norwegian? Please check out eirikso‘s excellent guide for geotagging at NRKBeta)

GPicSync screendump

GPicSync screendump

Using GPicSync is real simple, so I won’t go into details on that (but please, ask if there’s anything).
But, back to the log-files. As I used Garmin, I didn’t have a GPX-output file from Garmin at hand. I had to use Garmins MapSource, import the log from the phone and convert it to the GPX-format.
Now, finally I had the whole log in GPX, so I had to run GPicSync two times, using both GPX-files.
Enough about geotagging for now.

Now I wanted to show my trusted pilot how we actually flew in the air.
Google Earth is an excellent tool for viewing the actual flight-path.
All you need is the GPS-logfiles (preferably GPX), and GPSBabel – another great application for converting between almost every log-format there is.
In GPSBabelGUI.exe you have to choose your input format: GPX XML (.gpx).
Output has to be .KML (Google Earth), and since this is a flightlog, I want absolute values, and a extrusion line from the trackpoint to the ground. To be exact: extrude=1,floating=1

GPSBabel screendump

GPSBabel screendump

With everything converted to Google Earth KML, it looks something like this:

Google Earth flightlog /w absolute values + trackpoints drawn to the ground

Google Earth flightlog /w absolute values + trackpoints drawn to the ground

On top of this, you could include the auto-created KML-log from GPicSync and render your geotagged images on top of the flightlog.

As a part of my GPS-logging -page I’m trying to share my experiences regarding GPS-usage without having to buy expensive equipment.
Some pictures from my second-to-last flight:

{wp-gallery-remote: gallery=0; rootalbum=44183; showsubalbums=true; imagefilter=include:44457,44467,44477,44502,44507,44512,44517,44527,44557,44567,44597,44617,44627,44632,44642,44667,44702,44707,44712,44717;}

 

Easy torrent downloading with rTorrent and FavLoc

Written by Ingolf Zeiner Petersen on March 30th, 2009

Being an frequent torrent consumer, I want to download and seed torrents according to categories on my FreeBSD server easily using my preferred Firefox browser – and watching my downloaded files over the Samba protocol.
Also, I want to download my favourite torrent from RSS-feeds, automatically.

What you need

What to do

rTorrent config

The important bit from .rtorrent.rc
schedule = watch_directory_1,5,5,"load_start=/home/asdf/torrent_autostart/*.torrent,d.set_directory=/disk1/other/"
schedule = watch_directory_2,5,5,"load_start=/home/asdf/torrent_autostart/mp3/*.torrent,d.set_directory=/disk1/mp3/"
schedule = watch_directory_3,5,5,"load_start=/home/asdf/torrent_autostart/tv/*.torrent,d.set_directory=/disk2/tv/"

rssdler config

Complete config
[global]
urllib = True
downloadDir = /home/asdf/torrent_autostart
workingDir = /home/asdf/.rssdler
log = 5
logFile = rssdler.log
verbose = 5
runonce = False
scanMins = 10
cookiefile = /home/asdf/rss/cookies.txt
cookieType = MozillaCookieJar

[Site-name1]
directory = /home/asdf/torrent_autostart/tv
link = http://asdf.tld/rssdl.php
maxSize = 2800
download1 = ^unnamed.series.*pdtv
download1True = False
download2 = ^unnamed.series.*720p.*x264
download2True = False
download9 = unnamed.series.*(pdtv|hdtv|dvdrip)
download9True = False 

[SiteName2]
directory = /home/asdf/torrent_autostart/musicvideos
link = http://www.asdf.tld/mvid_rss.php
maxSize = 2500
regextfalse = (karaoke|webtv)
download1 = ^artist.name.*pdtv
download1True = False
download2 = ^artist.name.*xvid
download2True = False

FavLoc config

After installing the FavLoc extension in Firefox, configuring is fairly simple, but requires the “torrent_autostart” directory on your rTorrent server to be accessible from your computer running Firefox.
I map up my torrent_autostart directory on station X: and point my different FavLoc categories (like “tv, movies, music” and such).

Now I can right-click the torrent-links and choose the download-location on my remote server – easy as that!

Samba config

I simply make the download directories accessible through my Samba user.
In that way, I can i.e. stream my RAR-packed movies directly over the network with applications like Xbox Media Center (XBMC) or with my preferred media player (i. e. Media Player Classic – Home Cinema, VLC) with RARFileSource.

RSS feeds

I would very much recommend NRKbeta’s legal RSS-feeds for testing.
They publish various TV-series in both SD- and HDTV.

Still not working?

Comments are welcome! But remember:

this was never meant to be an “for dummies” -tutorial — i would expect you to have some knowledge on setting up the various services (especially rTorrent).

 

Getting permalinks working with apache2

Written by Ingolf Zeiner Petersen on March 23rd, 2009

Finally I got the permalinks working!

{wp-gallery-remote: gallery=0; rootalbum=40806; showimagesheader=false; imagefilter=include:40857;thumbsize=150;divstyle=;}

I wanted to use the following format on my links: /%year%/%monthnum%/%postname%/
In my case, that requires Apache2 with mod_rewrite.
The module was already installed, but it wouldn’t work anyway!

The solution was in httpd.conf:

<Directory "/usr/local/asdf/wordpress">
AllowOverride All
Order Deny,Allow
Allow from all
</Directory>

Allow_Override All did the trick, allowing the WordPress-generated .htaccess -file to override the default Apache-settings.