Openstreetmap@GeoKur

July 30th, 2010
Geocachers "logging" a car

Tomorrow a geocaching event called GeoKur will take place at Bad Herrenalb, Black Forest, Germany. At the Kurhaus, the central facility, we will man a booth to provide first hand information about openstreetmap to the 600+ attendees.

This evening, there was a nice barbecue party at the Hirschwinkel shelter near Bad Herrenalb, where we helped the first people to solve problems using osm data.

A rather interesting experience was to observe geocachers “logging” a car by scribing their nicknames into its surface. I always knew there are human beings with strange hobbies, but until a couple of hours before I thought mapping for osm was the most strange :) .

Openstreetmap Routing News

July 19th, 2010
Beach Trip (openclipart.org, Gerald_G, public domain)

Beach Trip (openclipart.org, Gerald_G, public domain)

Most of you might already have heard about it, but anyway, here are two additions to the open source routing pool.

Vodaphone released most of the code of their discontinued Wayfinder navigation product into the world wild web. It seems the code needs maintenance before it is useful. Let’s see whether some enthusiasts are taking over.

The far more interesting announcement, though, has been posted right at the beginning of this year’s State of the Map conference. The Open Source Routing Machine (OSRM) is a »high-perfomance routing backend«. Check out the demo provided via Geofabrik. It’s just some C code. After compilation, you’ll get a handful of binaries, including the usual tool to convert OSM XML data into some binary file format and a web server which handles the requests and delivers the resulting route.

The speed is just amazing. However, after reading some of the source code, it currently appears to obey the following limitations. What I recall:

  • The result gets shipped in KML format. There’s nothing wrong with that, but I guess a GPX format was more versatile. I’m pretty sure, though, that KML has been chosen with reason.
  • AFAIR there’s only the web server’s output, no file output.
  • The code can only cope with a single tag per element, e.g. using the highway tag. It currently is not possible to select items by multiple tags, e.g. highway=track, tracktype=grade1.
  • Most options are hard coded, so it’s not possible to play with the options by editing a configuration file.

Anyway, it’s the initial release, and it looks very promising. I’m pretty curious how it will be accepted by the community, how it will develop over time and whether there will be collaboration or competition between OSRM and Routino.

Made in Spain

July 12th, 2010
Flag of Spain (openclipart.org)

Flag of Spain (openclipart.org)

Octopus (openclipart.org, public domain)

Octopus (openclipart.org, public domain)

Flag of the Netherlands (openclipart.org)

Flag of the Netherlands (openclipart.org)

OK, here’s the last comment of a bloody soccer ignorant concerning the soccer world cup of 2010. The country which is the preferred vacation destination for many germans won it after 120 minutes of a hard fight against our neighbours. While the Netherlands have been strong in defending their goal and collecting 8 (red-)yellow cards, Spain has been strong in attacking the goal of their combatants but not bringing the balls in. As a compensation they also collected 5 yellow cards.

But in the extra time they finally made the 1:0, and so they bring the world cup to Spain for the very first time. I have no clue what the villages and cities in Spain look like right now, but I guess tomorrow will be a national holiday ;-) .

Midisport 8×8 Configuration Script resurrected

July 11th, 2010

Ages back I wrote an ugly shell script to configure the offline mode of an m-audio Midisport 8×8 MIDI patchbay. Here it is, including a minor bug fix:

mspconf.sh.tar

The code is still ugly, but it does the job, at least on my machine :) .

Made in Germany

July 11th, 2010
Vuvuzelas (openclipart.org, public domain)

Vuvuzelas (openclipart.org, public domain)

I never was a fan of soccer, but this world cup broke my neck. Though I’m not familiar with the tactics and strategies of this game, it was a great joy to watch the german team and its counterparts.

Thanks to the excellent summer weather conditions somewhere between 30°C and 40°C, I went to a biergarten to attend the match.

The german team is depressed as they, besides others, intended to reach the final game and to get the world cup. But they failed in the semi final versus Spain, so they had to prove they are worth the third place. And they made it. So stop the typical german whining and enjoy what you have reached :) .

They beat Uruguay 3:2. Admittedly, the latter ones did a great job as well. Considering that Uruguay hosts less than a 20th of inhabitants compared to germany (80,000,000 vs. 3,500,000), they by far had the better team :) .

A nice match indeed. I will attend again.

Germanes eunt domus

July 7th, 2010
Football (openclipart.org, public domain)

Football (openclipart.org, public domain)

Well, not exactly. There’s still one match ahead. But the dream of winning the world cup turned to dust a couple of minutes ago.

Though I’m not a big fan of soccer, I must admit that even I enjoyed to watch the games of the german team. But despite the hard work during the last years, Spain still has the stronger team, and they won with reason. Congrats.

Die Bundespräsidentenwahl 2010 – Wulff gewinnt erwartungsgemäß

June 30th, 2010

SPD und Grüne haben es überraschenderweise geschafft, mit Joachim Gauck (494 Stimmen im dritten Wahlgang) einen aussichtsreichen Kandidaten aufzustellen. Leider haben sie dabei übersehen, dass die Linken ihrer DDR-Vergangenheit noch lange nicht entwachsen sind. Im entscheidenden dritten Wahlgang haben sie sich wohl weitestgehend der Stimme enthalten. Gleichwohl erhielt Gauck in allen Wahlgängen etliche Stimmen aus dem Regierungslager.

Die Regierung nominierte Christian Wulff (625 Stimmen im dritten Wahlgang), der somit zum zehnten deutschen Bundespräsidenten gewählt ist.

Die Leitung der Versammlung hat erneut Norbert Lammert übernommen, dessen Humor der ganzen Veranstaltung einiges ihrer Steifigkeit nimmt.

Vielleicht hätte der Bundesrepublik im zwanzigsten Jahr nach der Wiedervereinigung ein Mann aus dem Osten, der nicht dem aktuell wenig erfolgreichen Regierungslager entstammt, mehr geben können. Die Frage stellt sich allerdings nicht mehr, denn die Entscheidung ist gefallen. Schaun wir mal, wie sich Wulff so macht. Als geschmeidiger Taktiker wird er voraussichtlich öffentlich nicht besonders wahrgenommen werden.

Neulich, in einem griechischen Restaurant im westlichen Mainfranken

June 28th, 2010
Deutscher Michel (Wikipedia, Public Domain)

Deutscher Michel (Wikipedia, Public Domain)

Es begab sich zu jener Zeit (sprich gestern), dass die deutsche Nationalmannschaft in einem fairen (vom 2:2 mal abgesehen), denkwürdigen und schön anzuschauenden Fußballspiel die Engländer mit 4:1 bezwang.

Wir beschlossen nach dem Spiel ob des herrlichen Wetters das Abendessen in einem griechischen Restaurant zu uns zu nehmen, das mit einem kleinen Biergarten aufwarten konnte. Drinnen lief auf einem Beamer bereits die erste Halbzeit des Spieles Mexiko gegen Argentinien. Auf dem Weg zur Toilette widerfuhr meinem Freund folgende kleine Szene.

An einem Tisch sitzen mehrere Leute, deren Augenlider (mutmaßlich bedingt durch überdurchschnittlichen Alkoholgebrauch) bereits auf Halbmast gesetzt waren. Aus der Runde ertönt beim Vorbeigehen in etwa die folgende Frage:
»Bist Du für Deutschland?«
»Äh, wieso?«
»Damit wir wissen, ob wir Dich hier überhaupt haben wollen!«

Schöner hätte er nicht zum Ausdruck bringen können, weshalb ich mir mit den gesellschaftllichen Auswirkungen dieses Sports schon immer schwertue.

Routino Frontend published

June 27th, 2010
RoutinoFrontend

RoutinoFrontend

I’ve just released Routino Frontend to the world wild web. The current code needs manual installation. A proper installer will be created only in case I see there’s some interest in this application.

Routino Frontend will start the GPS subsystem and allow you to get the current GPS location as departure or destination. Additionally, up to three via points are accepted.

To get the coordinates for via or destination points, go to Mappero, point the map to the desired location, press the left uppermost on-screen button, choose »Show Position« and copy it to the device’s clipboard.

After a route is calculated, the resulting file will be placed in the documents folder of the device, ready to be loaded into Mappero or Maep.

The code is in its early stages and needs refactoring. Please note that the current frontend will invoke routino in blocking mode. As soon as you process a route, Routino Frontend will not return before it finished. In case you calculate a long route, this means that Routino will eat all your CPU, memory, swap memory and battery power until it has done its job (which means that you probably need to remove the battery to quit it).

If you are more familiar with Python (and especially its subprocess module) as I am and you can help to add a nice cancel button which reliably kills Routino please drop me a line.

Neulich, im deutschen Mittelklasserestaurant

June 24th, 2010
Dishes (openclipart.org, public domain)

Dishes (openclipart.org, public domain)

Die nachfolgende Konversation habe ich nicht aufgezeichnet und gebe sie daher aus der Retrospektive wieder. Sie ist daher sicher etwas überspritzt dargestellt.

»Was darf ich Ihnen bringen?«
»Äh…die Karte?«
»Gerne.«
»Haben Sie heute zufällig ein Gericht außerhalb der Karte?«
»Nein, es steht alles in der Karte.«
»OK, danke.«
»Es gibt noch einen Wildschweinbraten, der nicht auf der Karte steht.«
»Ah. Was kostet der Braten?«
»Das selbe wie der Rehbraten.«
»Und wieviel kostet der?«
»Da müssen wir in die Karte schauen…«
»Hm, nein, dann nehme ich eine Cola und die geschmorte Hasenkeule.«
[...etwas später]
»Ich hätte gerne ein Radler.«
[...noch später]
»Hm, hatte ich das jetzt richtig in Erinnerung?«
»Also ich hatte ein Radler bestellt, keine Cola.«

Es sind dies die Momente, die das Leben so lebenswert machen. Weil sie mich mit Heiterkeit erfüllen. Die Dame arbeitet dort schon länger. Der Job ist immer der selbe: Kunde kommt, Kunde studiert Karte, Kunde bestellt Getränk, Kunde bestellt Essen, Kunde bekommt Ware, Kunde verzehrt Ware, Kunde zahlt, Kunde geht.

Und dennoch hat sie sich trotz fortgeschrittenen Alters ihre jugendliche Naivität bewahrt. Kein Anflug von routinierter Abfertigung – es ist, als würde sie dort den ersten Tag arbeiten. Einerseits ist es schön, nicht bloß als Tisch- bzw. Kundennummer wahrgenommen zu werden. Andererseits ist die Fehlerquote beeindruckend – es war nämlich an diesem Mittwoch Abend nicht sonderlich viel los; es befanden sich gerade mal vier Gäste im Restaurant (was nicht zuletzt dem anstehenden Vorrundenspiel der deutschen Nationalmannschaft gegen Ghana geschuldet gewesen sein dürfte).

Selbstverständlich habe ich sie abschließend mit einem guten Trinkgeld bedacht. Schließlich hat sie sich Mühe gegeben. Das abgestandene Cola mit der beeindruckenden Schaumkrone, das ich vor dem Radler trank? Schwamm ‘drüber. Die geschmorte Hasenkeule, die ich statt des Wildschweins bestellte und die schon reichlich trocken und salzig daherkam? Da konnte sie nichts dafür.

Und die Lehre aus der Geschicht’? Gehe niemals Mittwochs in einem Restaurant essen, das Montags und Dienstags Ruhetag hat :) .

Am einem Tisch in der Nähe saß ein einsamer Herr fortgeschrittenen Alters, der die beiden Gäste am Nachbartisch in ein Gespräch über den Fußball verwickelte. Die verdienten ja alle zuviel, und außerdem die vielen [Adjektiv entfernt] Neger da, das könne ja nichts werden. Ich überlegte einzuwerfen, dass der ein oder andere Afikaner durchaus Dinge auf die Kette bekäme, die so mancher Deutsche (sprich er) nicht hinbekämen. Nachdem die Leute am Nachbartisch zurückhaltend reagierten und ich die Diskussion als aussichtslos einschätzte, hielt ich mich zurück.

Im weiteren Verlauf der Diskussion stellte sich heraus, dass er aus Niederlauterbach stammt, einer französichen Gemeinde gleich hinter der deutschen Grenze. Auch wenn die Franzosen bei der WM kein tolles Bild abgegeben haben, stehen sie doch, anders als die Deutschen, als viel toleranteres Volk da. Franzose ist, wer sich französisch fühlt und französische Lebensart schätzt. Von dieser Einstellung könnten sich meine Landsleute noch mehrere Scheiben abschneiden.

Es sind dies die Momente, in denen ich mich zurücksehne nach meinem heimischen Rechner, von dem aus ich an verschiedensten Softwareprojekten mit den verschiedensten Leuten zusammenarbeite. Es ist mir dabei vollkommen egal, woher sie stammen und welcher Kultur sie angehören. Man teilt ein gemeinsames Interesse und arbeitet zusammen daran. Was juckt es da, ob die e-Mailadresse dabei auf .fr, .cz., .uk, .br oder .com endet? Interessante Menschen findet man überall auf der Welt. Außer vielleicht in Niederlauterbach. Wobei auch das nicht ausgeschlossen ist.

Ich verstehe mich als Kosmopoliten, und die Möglichkeiten, die uns die modernen Kommnunikationsmittel bieten, genieße ich sehr. Einfaltspinsel aus irgendwelchen Dörfern rund um den Globus stören dabei nur. Gleich nach dem Elternführerschein wäre ich für den Wahlführerschein. Ach, ein gefählicher Ansatz? Fürwahr. Aber wieso sollen wir für mißglückte Bildungspolitik mit der falschen Regierung bezahlen?

Es gibt Dinge, die wirklich schwierig zu akzeptieren sind.

First Offline Bike Routing on the N900 using Routino

June 14th, 2010
Biker pictogram (openclipart.org, public domain)

Biker pictogram (openclipart.org, public domain)

As a long time contributor of the openstreetmap project, I always dreamt about using our collaboratively collected data not only for creating maps, but also for (offline) routing. Actually, several routers exist, but none of them seemed to be really capable of doing offline bike routing.

Appearently I missed one bit. This weekend, I tried Andrew M. Bishop’s Routino. It’s a set of command line tools to convert osm XML files into a binary format and to use this data for routing. Additionally some helper applications are provided.

Surprisingly, the code cross-compiled for Maemo 5 without any further interaction (as advertised), just by typing make. Hmpf. Hmpf. Frankly, I was very exited.

The application is highly configurable via some XML files. Thus it supports routing using configurable profiles as well as shortest and quickest routes while supporting via points. It can output the route in various formats. I’ve converted a small set of osm data and tested the results for bike routes and was quite impressed.

I wrote some experimental code using PyGtk to make using it a bit more convenient on the N900:

Routino Frontend

Routino Frontend

It can get the start position from the location system of the N900. Unfortunately I struggled with DBus and was not successful yet getting the viewport coordinates from Mappero for convenient graphical destination selection, but I hope to get this working during the next days. Currently, the destination can be copied over using the clipboard.

Here’s a route calculated by Routino and loaded into Mappero:

Routino Route loaded into Mappero

Routino Route loaded into Mappero

It’s far from being convenient to use or user friendly. But for me a dream comes true: Offline bike routing on my mobile computer. Thanks Andrew, you made my weekend!

The day after Federal President Horst Köhler resigned

June 1st, 2010

horst_koehler.jpg

Almost exactly one year after his reelection, the german Federal President, Horst Köhler, unexpectedly resigned yesterday. There’s some ongoing discussion whether his reasons were sufficient for a resignation. But that’s out of the question, as he already made a decision.

Unlike in other countries (like France or the US), the position of the german president is largely a ceremonial one. This means that the resignation of Horst Köhler does not affect the german capacity to act politically.

Germany now needs a new president, and the election needs to take place within 30 days. The election is performed by a »special body in the institutional system of Germany, convened solely for the purpose of electing the German Federal President«, the Bundesversammlung.

Every member of the Bundesversammlung can propose a candidate, but usually, the fractions select them beforehand. It will be interesting to see what candidates will be proposed, and whether the majority of the Bundesversammlung is willing to elect a person who intends to stand as a representative who takes a neutral political point of view.

OS-Install-o-mania Parts 1, 2 and 3

May 31st, 2010
Unintentionally trashing the Vista installation on a Dell computer

Unintentionally trashing the Vista installation on a Dell computer

One decade back, I was installing operating systems quite often. Win 98 was broken every now and then, and Linux was developing very quickly.

Meanwhile I’m very reluctant in updating operating systems. It just takes too much time to set up the system, to reinstall all required applications and to do all the configuration work. Or the other way around: It’s just a waste of time.

However, there are circumstances where your machines need some healing hands.

#1: N900 Upgrade

This week, a much anticipated update for the Nokia N900 was finally released. I was eagerly waiting for it, as I hoped that it would erase »The Big Bug«. The update was advertised as an »over-the-air«-update, installable via a wireless network connection. Unfortunately, the device didn’t offer the update on my machine. After waiting for a couple of days, I got suspicious and searched the web for the reasons.

Obviously the device performs some checks first, and in case certain circumstances occur, it denies to offer the update. The reason might be that I enabled an additional repository and installed (only) a couple of extra software packages. Further, the N900’s operating system is not installed to the 32GB flash memory. Instead, it lives in some wee small extra partition of about 200MB. I’ve never understood why it is designed this way and why the space is that limited. Unfortunately, the Debian-like operating system stores each package in a folder in this small partition, further reducing its size.

So I ssh’ed into the phone and tried to install the update using apt-get. It told me that it wants to download about 100MB of packages and that there was not enough space left. I created a folder on the 32GB flash drive and symlinked to it. Now the update packages were downloaded and the update went fine – halfways. I saw some warnings during the update, and finally it stopped.

So I did it the hard – by reflashing the device. I downloaded the current firmware image and a GUI tool for the Mac. Unfortunately this tool failed to complete the flashing process so the device was bricked. I tried again using my Linux box and everything went fine now. As all personal data lives on the 32GB storage which was not touched by the flashing process, I just needed to reinstall some additional software packages (mainly those for mapping) and was back in business.

#2: Reinstalling Vista from a recovery CD

The backlight of the display on my Dell notebook was broken (it appeared as a defective contact, as the backlight switched off every now and then). I’ve a service contract and hoped they would replace it as soon as possbile (»next business day«). Surprisingly, there was some (bi-daily) mail exchange where they told me what to do – one bit of information per message.

First they asked me to install some BIOS and driver updates, though I wrote in my initial message that I’m running Linux on the machine and that everything looks like a hardware defect. I wanted to do them the favour and booted Vista from the (seldom used) NTFS partition. After downloading and installing the driver updates, Vista prefered to show a blue screen at each attempt to boot it. Doh.

Dell further asked me to run a diagnostics tool before booting the operating system. This led me nowhere, as the backlight of the display always switched off while the tool was running.

Next they offered to catch the device and to repair it off-site. The device would be unavailable for up to two weeks. Hey guys, there was a reason why I spent the extra bucks for the on-site service.

Finally, after almost two weeks, a technician dropped by and exchanged the display. Heck, I didn’t remember how bright the display once was :) .

I do not really rely on the Vista installation, but I boot it every now and then to compile and test some code of my own. Due to some file system errors, problems with KDE after upgrading Ubuntu, the broken Vista installation and the fact, that the 15 GB partition was too small for Vista (yes, Vista needs at least 10GB for its installation, 2GB for a swap and 2GB for a hibernation file), I decided to set up the complete machine anew.

I backed up my home directory and used the Kubuntu installation disk to repartition the hard drive.

The Vista installation went halfway straightforward thanks to the Dell recovery CD. But later on I got stuck as there was no driver installed for the wireless network adapter. I tried to install it from an additional CD that came with the device, but to no avail. I finally downloaded some drivers from the Dell page and got it working, but this still was a challenge as it was not obvious which file to download and install. This was surprising as I passed the service tag of the device to the online support system.

Finally Vista insisted to download and install plenty of huge updates. I read »Usability Engineering kompakt« meanwhile :) .

#3: Installing Kubuntu 10.04 LTS

This one was simple. Insert the CD, enter some data, select the right partitions for installation and let the installer alone for a couple of minutes. After booting the system, plug in the USB hard drive containing the backup of your home directory and copy the files back to the hard drive. Log in and feel comfortable.

Conclusion

It was good luck that it was a rainy sunday. I really hate those bread- and senseless installation orgies. I hope the machine will now run until it gets replaced.

Adieu KDE – peu à peu

May 30th, 2010
Office utils (openclipart.org, public domain)

Office utils (openclipart.org, public domain)

I’ve been a KDE user for a very long time – actually since I use Linux on my machines. I remember the day when I wiped Win 95 and installed SuSE Linux (do not recall the version) back in 1998. I sat in front of the computer, staring at the KDE filemanager. And I thought: »And that’s the operating system better than Win?!?«. Meanwhile I know better, and KDE matured over the years. I helped with a bunch of applications, writing manuals, filing bug reports, and finally started to write my own code to get some tools I missed.

KDE 3.5 was a very usable and stable system, while KMail still is an excellent mail user agent.

However, the switch to KDE 4 was a major break, introducing lots of rewritten code and new design concepts. While I appreciated all the ongoing changes, I left my system untouched, still running KDE 3.5.

I upgraded as my distro was outdated and the repositories went offline. This way I got KDE 4.3. Well, it was running and ready to use, but there were lots of issues which did remind me of the days when struggling with Win 95.

One source of eternal joy is the mess around KDE PIM, Akonadi, Strigi, Nepomuk, Virtuoso-t and the like.

Virtuoso-t CPU usage, draining the battery

Virtuoso-t CPU usage, draining the battery

Kontact, the PIM application embedding mail, contacts, feeds and the like, started to rely on Akonadi, which in turn requires an SQL database server for operation. Unfortunately it didn’t work out of the box, and after following some docs on the net and trying out several meds to cure the problem, I finally gave up and decided that I will never run an SQL server just to manage some personal data. So I have to close the annoying Akonadi error message dialog each time I log in.

Akonadi error message after each login

Akonadi error message after each login

I understand the design concepts behind the PIM suite and am impressed of what the KDE community tries to achieve. But at first I need a working system where I can perform basic tasks. Further, I want to create backups just by copying the data of my home directory to another hard drive. I will not start to write specialized scripts which will backup and restore some additional data of a database server. If I wanted to, I’d install an Exchange server and enjoy the journey.

One of the cool things I always liked in KDE was the fish-protocol which allows you to edit files transparently directly on a server over an ssh connection. Unfortunately this was one of the features broken in KDE 4.3.

Meanwhile I upgraded my distro and got KDE 4.4. The fish protocol is operational again (which is great). But the problems with Akonadi remained. I still cannot access my contacts from within Kontact, as it complains about problems with the Akonadi server.

Impossible to access contacts

Impossible to access contacts

Additionally, it seems that there still is absolutely no possibility to sync any of the PIM data with my cell phone.

The file indexer continues to keep my CPU and notebook fans busy (hi nepomukservicestub). I saw it eating one of my cores completely, but also saw it at 70% CPU usage.

Nepomukservicestub easting 49% CPU

Nepomukservicestub easting 49% CPU

Dolphin, the file manager, also shows some severe bugs. Today I wanted to change the file permissions of an (admittedly huge) backup file available on an external USB hard drive. I rightclicked and chose to open the properties dialog. The result was a frozen file manager which I killed manually. After two further attempts I used the command line to set the file’s properties. In case you expect that all this fan blowing at least makes sense because you’ll easily find files afterwards, you might be wrong.

Nepomuk search failed

Nepomuk search failed

To me KDE 4 appears as an overloaded desktop environment with too many applications, too many features and too many bugs, which in turn has problems performing basic tasks like managing files, PIM data and doing some sync to a cell phone. I really appreciate the decision to turn the computer into a social desktop to manage one’s internet activity. But I wonder whether it was better to keep the rewrite of the desktop separate of the breaks and changes of the PIM applications. The propellerheads behind KDE were brave and decided that they better do it the hard way. KDE probably will be a cool desktop in a couple of years again.

But meanwhile I need a replacement, and less surprisingly I’m considering to give another desktop a try. Besides Gnome and Evolution, there are other window managers and PIM applications. If you’re a KDE switcher and want to share some experience, please drop me a line.

Mapping the woods between Karlsruhe and Rastatt

May 23rd, 2010
Back Side of Rastatt Castle

Back Side of Rastatt Castle

Today’s trip led from Karlsruhe to Rastatt, an ancient german town with several baroque buildings. I decided not to make it a grand mapping trip, but to use openrouteservice.org to find the way. This means I expected not to find new ways because the route was calculated based on existing ones.

The way led through the woods and fields between the two towns. Many of the ways originally have been mapped by me several years ago and needed maintenance. Tracktypes for example didn’t exist in those days yet. Surprisingly I found some new ways anyway while others meanwhile have been paved.

Unfortunately my bike caused some trouble again. I’ve been at the shop three times, but they just don’t manage to get their stuff done. I’m already looking for another dealer and a new bike. I wanted to avoid spending the money, but today it broke my neck. It’s just no fun when your vehicle of choice doesn’t do its job.

Mappers heading towards Wissembourg

May 23rd, 2010
La Maison du Sel en Wissembourg

La Maison du Sel en Wissembourg

Finally the rainy days are over. The warm and sunny weather conditions allowed for the first mapping trip to Wissembourg by bike – the biking season finally has started.

I mapped a lot of details along the way. Some short breaks every now and then and finally a nice supper at the destination took time. Luckily »Deutsche Bahn« (a german railway company) provided public transport back home.

The location services of the N900 are pretty good, but there are also some weak points:

  • The N900 uses assisted GPS (AGPS) to get its position really quickly. If however no callular net is available, it needs ages (up to twenty minutes) to get a GPS fix. I’ve also seen such a behaviour on one of Garmin’s premium GPSrs, but only every now and then. The N900 does it each time it is outside the network of my provider. I guess the behaviour could by improved by saving an almanac to the device, but appearently the N900 doesn’t do it.
  • The first fixes the GPS subsystem delivers to the requesting application are sometimes really far (and I mean far) away from the actual position. This makes it difficult to check the trip’s length at home. I’ve never seen such a behaviour on the Garmins I used, and I consider this being a software bug.
  • Modern vehicles use screens with a vapour deposited metal layer. This hinders the GPS signals flowing into the vehicle. If the Garmin’s have a fix outside the vehicle, they are usually (but not always) capable to keep the fix after entering the car or train. The N900 today had difficulties, but as the WBT I also used today did not really do much better, I guess there were really bad GPS conditions in the train.
  • The big bug requires a second device which is more reliable for collecting tracklogs. Both Maep as well as Mapper loose their tracks in case you must hard reset the device.

Here’s how the tracklog recorded in the train looks like. Note that it should follow the rails precisely:

The device is an almost perfect gadget anyway. All I want to say is: If you reliably want to collect the tracklogs of your trips, just get an additional logger. The N900 is an exccellent general purpose device. It is not a specialized GPS receiver and logger.

Mapping a watermill hiking trail

May 16th, 2010
Ottenhöfen, Black Forest

Ottenhöfen, Black Forest

Around Ottenhöfen, a Black Forest town, some ancient watermills have been restored. A hiking trail connects all of them. Today’s weather was not that great, e.g. too cold for May, and it was a cloudy and windy day. We grabbed the occasion anyway, stuffed eleven people into two cars and entered the black forest, leaving the cars at Ottenhöfen station. Here’s one of the watermills:

Watermill near Ottenhöfen (wikimedia commons, Andreas Frick, public domain)

Watermill near Ottenhöfen (wikimedia commons, Andreas Frick, public domain)

Meanwhile I know why I’ve been elected to book and drive a van of the local car sharing provider. Along the trail, a lot of fountains are sited, and some of them act as a very special selling point (called »Schnapsbrunnen«). The black forest aborigines place bottles of schnapps in the water, add some drinking glasses and an offertory box. Hikers just serve themselves and leave some money. Needless to say that some of us served themselves very well :) .

Of course I used the occasion for some mapping. Most tracks and ways already have been mapped, but not very well. I added some ways, details along them and fixed some broken crossings. I’ve also modelled the water mill trail for appearance in the hiking and bridle map, but it will take some time until it gets rendered.

Finally we had some coffee at a local restaurant, enjoying local cake. This is a typical black forest cherry cake (»Schwarzwälder Kirschtorte«):

Black Forest cherry cake (»Schwarzwälder Kirschtorte«)

Black Forest cherry cake (»Schwarzwälder Kirschtorte«)

A great trip, and it begun raining just as we returned to the cars. An excellent timing :) .

Überraschendes Wahlergebnis in Nordrhein-Westfalen

May 10th, 2010
Ballot box (openclipart.org, public domain)

Ballot box (openclipart.org, public domain)

Ich verstehe nichts von Fußball und äußere mich daher üblicherweise nicht zu Dingen wie Abseits oder Elfmeter. Bezogen auf die Politik interessiere ich mich eher für die mittel- und langfristige Gestaltung, die in der Tagespolitik ob der verhältnismäßig kurzen Wahlzyklen oftmals zu kurz kommt.

Dennoch verblüfft mich das Ergebnis der heutigen Wahl in Nordrhein-Westfalen.

Ob es gerechtfertigt war, die Union derart heftig abzustrafen, vermag ich nicht zu beurteilen, da ich die Arbeit der NRW-Regierung in den vergangenen Jahren nicht verfolgt habe. Vor dem Hintergrund diverser Ereignisse der vergangenen Wochen und Monate in Berlin und Düsseldorf war aber ein Stimmeneinbruch abzusehen. Zudem hat noch immer jeder dritte Wähler der Union seine Stimme gegeben. Das ist zwar im Vergleich zum letzten Ergebnis schwach, aber noch immer eine ganze Menge. Tatsache ist allerdings, dass es momentan für eine Fortsetzung der schwarz-gelben Koalition schlecht aussieht. Dass das der Union übel aufstößt ist nachvollziehbar.

Auch die Sozialdemokraten haben leicht verloren, befinden sich aber mit der Union überraschend auf Augenhöhe. Man mag politisch stehen, wo man will, aber auch wenn man sich mit den beiden »Volksparteien« (ein komisches Wort) schwer tut, darf man die Rolle, die sie als Mehrheitsbeschaffer bei der Bildung stabiler Regierungen spielen, nicht geringschätzen.

Stellt sich die Frage, wohin die Wähler der Union und der Sozialdemokraten abgewandert sind. Vor dem Hintergrund der Wirtschaftskrise und der Schwäche einiger Länder der Eurozone wandert der Blick zuallererst auf die Randparteien.

Bei den Liberalen hat sich nicht viel geändert. Eigentlich könnte man erwarten, dass die Menschen ihre Hoffnungen auf Politiker mit vermeintlicher wirtschaftlicher Kompetenz setzen würden. Diesen Bonus haben die Liberalen aber vermutlich im letzten Bundestagswahlkampf verspielt. In der Folgezeit sendeten die Bundesliberalen immer wieder das Signal aus, dass mir ihnen nicht sonderlich gut zu regieren ist.

Die Linke konnte zwar geringfügig zulegen. Es war aber eigentlich zu erwarten, dass die Linke mit ihren Positionen im ehemaligen »Pott« stärker würde zulegen können. Vielleicht haben die Wähler durch die Liberalen gelernt, unrealistische Forderungen zu erkennen.

In jedem Falle erfreulich ist, dass die Parteien am rechten Rand von der Situation nicht profitieren konnten und außen vor bleiben dürfen.

Somit wandert der Blick suchend durch die Parteienlandschaft, um den Gewinner des heutigen Abends auszumachen. Fündig wird man interessanterweise bei den Grünen. Auf ARD.de kann man lesen: »Den Volksparteien laufen die Wähler weg«. Man könnte auch einer anderen Lesart folgen, die der Realität vielleicht viel näher kommt: Die Gewichte innerhalb der Voksparteien verschieben sich.

Was viele noch immer nicht wahrhaben wollen ist, dass die Grünen eine durchaus konservative Partei darstellen, die mitnichten als Revolutionäre mit unrealistischen Forderungen am linken Rand agieren. Ganz im Gegenteil ist die Partei inzwischen zu einer professionellen Partei gereift, deren Köpfe es in der Regierungsverantwortung immer wieder geschafft haben, »heimlich, still und leise« ihre Ziele zu verfolgen. Auch die Grünen haben ihre ersten Skandale erlebt und somit belegt, dass sie zum Establishment gehören. Gleichzeitig erscheinen sie aber neben Union und SPD viel unverbrauchter und progressiver. Wer den Staus quo bewahren möchte, wählt die Union. Wer die Segnungen der Industriegesellschaft der zweiten Hälfte des letzten Jahrhunderts erneut herbeisehnt, wählt die Sozialdemokraten. Und wer der Meinung ist, dass unsere Gesellschaft dringender Veränderungen bedarf, wählt die Grünen. Gewiss, eine überspitzte, simplifizierende und allzu plakative Darstellung. Aber die Wähler des bevölkerungsreichsten deutschen Bundeslandes haben ein Signal gesetzt: Es geht auch anders. Dass sie durch die Bereitschaft zur Veränderung im Zweifelsfalle eine große Koalition riskieren, ist bemerkenswert.

Der eigentliche Verlierer des Tages aber ist die Bundesrepublik Deutschland. Im Bundesrat, bewusst geschaffen zur Limitierung der Macht des Bundes, lebt sie fort, die deutsche Kleinstaaterei der vergangenen Jahrhunderte. Über den Bundesrat versuchen die Wähler heute die durch die Bundestagswahl falsch gestellten Weichen gegen den Zugverkehr zu sperren. Nicht dass ich ein Fan der schwarz-gelben Koalition wäre. Aber das letzte, was wir für die nächsten Jahre brauchen können, ist eine in ihrer Handlungsfähigkeit behinderte Bundesregierung – egal welcher Couleur sie auch sein mag.

Osmarender rules changed to render forest parcel names

May 9th, 2010
Forest parcel name rendered in osmarender, zoom 17

Forest parcel name rendered in osmarender, zoom 17

At crossings of tracks in the woods, you often can find up to four name plates displaying the names of the adjacent wooden parcels. I usually placed a node tagged as place=locality and added the names. Of course this leads to a situation where the names will overlap each other, and after collecting some of those plates, it was desirable to draw the parcels as areas with the name rendered at the center, not as individual nodes at the vertices. I currently add a polygon tagged as landuse=forest.

While Mapnik renders the names of natural and landuse features in zoom levels 14 through 17, Osmarender only rendered them visibly at zoom level 17. It rendered natural names at zoom levels 16 and 15, but subsequently the caption was hidden by the rather huge surrounding wood polygon. landuse was missing in those levels.

I’ve thus adjusted the render rules so the names of natural and landuse features also get displayed at zoom levels 16 and 15. I hope this won’t mess up the map in densely populated areas. If so, please drop me a line and I’ll change the additional k="landuse" v="*" to something like k="landuse" v="forest|wood".

As soon as the changes are slurped by the tiles@home clients, I’ll start to convert the locality-nodes to something like amenity=nameplate or similar to finally clean up the map.

Mapping Hiking Routes

May 1st, 2010
Hikingmap Route

Hikingmap Route

While curing some cold, I mapped a hiking route to make it appear on the Hiking and Bridlemap.
Read the rest of this entry »