Reiten auf Islandpferden
Vor zwei Wochen war ich mit Freundin und Bekannten auf einer Reittour mit Islandpferden. Wie auf Wikipedia beschrieben und was ich auch bestätigen kann, sind diese Pferde schön ruhig, nicht zu groß und lassen sich auch ohne Erfahrung reiten.
An besagtem Reitsonntag sind wir zu viert nach Kyrkekvarn zu einem Reithof gefahren und haben eine 2-Stunden-Tour gebucht. Am Stall angekommen, mussten wir uns erstmal Ausrüstung (Helm) aus dem Lager aussuchen und vor dem Tor aufstellen. Von einer der Tourleiterinnen wurde uns der Umgang mit Pferden erklärt, wie man Sattel und Saum einstellt und auf das Pferd auf- und absteigt. Jeder von uns wurde zu einem passenden Pferd im Stall eingeteilt und durfte es nach draußen führen. Nachdem alle aufgestiegen und alle Gurte überprüft waren, durften wir zum “Aufwärmen” in einer kleinen Koppel im Kreis reiten um etwas Gefühl für das Tier zu bekommen.
Danach ging es los in die Berge. Zwischendurch wurde immer wieder Halt gemacht, um einige Dinge zu erklären, z.B. die Gangarten. Eine Besonderheit von Islandpferden ist ihre Fähigkeit zum Tölt, eine Gangart, die einen ruhigen Ritt erlauben soll. Ich bin mir aber nicht sicher, ob das bei mir so richtig funktioniert hat, bin trotzdem gut durchgeschüttelt worden…
Da die gesamte Reittruppe aus ca. 15–20 Leute bestand, sind wir als eine lange Kette geritten. Mein Pferd („Blakkur“) kannte die Ausflugsroute schon sehr gut und ist praktisch ohne Lenken der Strecke gefolgt. Auf den Strecken, wo wir galoppieren durften, ist das Pferd von alleine losgerannt.
Etwa auf halber Strecke wurde Rast eingelegt mit Tee/Kaffee und belegten Broten. Für die Pferde gab es Knäckebrot. Danach wurde die Gruppe in eine “langsame” und eine “schnelle” Hälfte aufgeteilt. Als Anfänger sollte ich in der langsamen Gruppe bleiben, aber mein Pferd wollte unbedingt bei der schnellen Gruppe (zuerst weitergeritten) dabei sein. Nur mit kräftigen Zerren ließ es sich zum Warten überreden.
Auf dem Rückweg, überwiegend bergab, hatte man einen schönen Überblick über die Umgebung, trotz des leichten Regens, der dann einsetzte. Zurück am Stall mussten die Pferde versorgt, Zaumzeug abgemacht, gereinigt und ins Lager gebracht werden. Mit dem Wetter hatten wir insgesamt Glück, erst auf der Rückfahrt setzte der Wolkenbruch ein.
Insgesamt ein schöner Ausflug, kann ich jedem Schweden-Touristen wärmstens empfehlen.
Unten die Karte zeigt meinen GPS-Trace von der Reittour. Leider habe ich das Gerät erst ab der Rast eingeschaltet, daher fehlt die erste Tourhälfte.
Natürlich dürfen die obligatorischen Fotos nicht fehlen. Leider sind nicht alle Fotos auf Grund der wackligen und dunklen Bedingungen scharf geworden.
Automatic AdBlock filter list updates in Konqueror
As a KDE user, Konqueror is my favorite browser. It offers smooth integration into KDE, both in looks and features (e.g. using the Okular part to view PDFs). Its rendering engine is so good that it was forked into WebKit used in Apple’s Safari and Qt. One aspect Konqueror lacks in comparison to Firefox, though, is the support of plugins/addons of all kinds to add more features to the browser. There is a set of security and privacy enhancing plugins for Firefox I use myself and recommend to others. One of them is AdBlock Plus which uses a well-maintained list of URLs to block if you want to experience the net with less annoyance.
On the other side, Konqueror has a similar adblocking functionality built-in since KDE 3.5 (late 2005). In the configuration dialog, users can add fragments or regular expressions of URLs to be blocked. Maintaining such a list yourself is quite cumbersome, especially if you have accounts on several computers. At least since March 2007 there has been a feature request in KDE’s bug tracking system to add an automatic updater to Konqueror’s ad-filtering.
Last weekend, I started to scratch the itch and implemented an automatic filter list updater. Luckily, the internal format of AdBlock entries in Konqueror matches the one use by AdBlock Plus, except that some advanced features are not (yet) supported. Based on the then-current KDE 4.2.4 code I made changes to both kdelibs and kdebase. The former one contains the KHTML component including the actual filter, the latter contains the code for Konqueror’s settings GUI.
The changes I made to kdelibs work as follows: Read the khtmlrc configuration file to get a list of filter files following the format used by AdBlock Plus. My example configuration file contains several lists from easylist.adblock.org. The filter list files are downloaded and cached if no local copy is available or if it is outdated. Each filter list file is loaded and added to Konqueror’s current filter list each time the browser is started. The user-configured filter list is not modified, as the changes occur in memory only.
If you edit your khtmlrc manually to add new filter lists, this works already fine without GUI. For a better usability experience, I modified Konqueror’s settings dialog so that users can select from a list of preconfigured filter lists (currently, all lists from EasyList) which to actually use. Additionally, the time interval to refresh the lists can be configured.
I refrained from adding an option to add, modify or delete list entries in the GUI. This is simply for two reasons: (1) Users may tend to enter filter lists that do not follow the format (e.g. from other adblocking filter sites) and (2) the list of available filter lists does not change that often that it cannot be changed in the next monthly update of KDE. If users are eager to add more lists not officially approved, they can still edit their configuration files manually.
All patches and an example configuration file are available from bug report 143495 in KDE’s bug tracking system. If you have constructive suggestions, please add you comments to the bug report (do not post comments in this blog, that won’t help). To support the patch in getting approved and added to the official code base, vote for the bug (login required).
Mittsommer in Schweden
Am vergangenen Wochenende war Mittsommer hier in Schweden. Anders als in Deutschland hat Mittsommer (schwed. Midsommar) hier Feiertagscharakter, was man spätestens daran merkt, daß Geschäfte, die eigentlich immer offen haben*, plötzlich erst später aufmachen.
Nun, wir haben die Gelegenheit genutzt, eine kleine Nachtwanderung auf den Hausberg Billingen zu machen.
Die drei folgenden Bilder zeigen den gleichen See (fragt mich nicht nach dem Namen), wobei die dunklen von Norden nach Süden und das helle Bild von Süden nach Norden jeweils gegen Mitternacht aufgenommen wurden. Der Nebel deutet an, daß es gar nicht trocken-sommerlich warm war…
Von besagtem Billingen aus hat man auch eine schöne Sicht auf die Stadt Skövde (wobei es auf dem Bild etwas heller aussieht, als es wirklich war):
Mit diesen Bildern gehe ich in den Sommerurlaub und wünsche allen ein schönes Mittsommerfest!
* Anders als in Deutschland üblich verkaufen Lebensmittelgeschäfte, die sonntags offen haben, normalerweise kein Benzin.
Drawing GPS Traces on Map Tiles from OpenStreetMap
Ever wondered how to show your GPS traces to non-techie friends? This article may be the answer to your question.
Last weekend, I had the problem of visualizing a GPS trace to show a friend where I had been. Sending a .gpx file may be an answer to this question, but for someone not related to this whole map-making voodoo this file won’t help.
Well, given that a world map rendered as .png files is freely available from the OpenStreetMap project, isn’t there a way to draw GPS tracks on those images? The OpenStreetMap project allows you to download map tiles of size 256×256 pixel. To access those tiles (and to know which tile), you have to calculate the tile number depending on latitute, longitude, and zoom level. Using the coordinates from a .gpx file, all neccessary tiles can be retrieved and glued together to your own map. On this map, the tour as described by the .gpx file can be drawn.
Script
To simplify this process, I wrote a Perl script, which takes one or several .gpx files as input and generates a PNG image containing the map tiles and the GPS tracks as colored lines.
The script is available for download, released under the GPL version 3 or any later version.
The script’s usage is quite simle. Run
to generate a file called map.png which contains the track in a PNG file.
The output can be controlled by setting command line options:
-o FILENAME: Output filename of the image.
-z N: Zoom level, where N is a number between 1 (world) and 16 (most details) or “auto” (automatically determines a reasonable zoom level, default).
More command line options are shown when running the script with -h.
If you are familiar with Perl, you can change even more default settings (e.g. colors) at the start of the Perl script.
Perl hackers are welcome to send bug reports (I’m sure there are bugs) and suggestions for improvements.
Example
Below example visualizes two GPS tracks from Skara region (randomly selected) using the script’s default settings:
Using custom settings such as done by running
results in this image:
For reference, see how the original map looks like.
Update 20090623 I uploaded a new version which is more configurable and draws waypoints as small circles on the map.
Update 20090709 The new version improves the projection of coordinates on tile images (suggested by Pedja); tile sources can be selected via command line.
















