Long time no post, I know ;-) But now I’m back again :-p

As an owner of a Tomtom via 120, I wanted to update the POI’s, but I didn’t want to pay for just updating the Points-of-Interest. As I’m participating in openstreetmap.org, I’ve decided to use those POI’s and upload them to my device.
Sadly, most or even all providers of these files seem to no longer update their data for Switzerland (http://eofw.org/osm/ for example). Therefore I decided to generate these files on my own, shouldn’t be too much of a hassle.
My tool of choice was osmosis, which uses the planet.osm (or an extract of it) and lets you filter based on your own criterias.

I’ve decided to create the following POI-files:

I decided to merge all restaurants + cafe’s + fast-food shops into one file, as well did I merge pubs + bars + nightclubs into a single file. For details of the applied filters, check the script below. The ‘–tf accept-nodes name=”*”‘ is used to filter out unnamed shop’s etc, which would appear as osm-idXXX, which I don’t like.

And now finally the script:

These are my first attempts in using osmosis, so any hints/improvements on the script above are welcome. I guess I could just use a oneliner for all the osmosis commands, but as the script just runs a short time, I can live with that, and this way it’s more readable ;-)
As I’m planning on generating these files regularly and upload them here, feel free to let me know if you should miss any category!

Ahh, and before I forget, yes, you can install the POI’s without any of the tomtom software (MyTomtom / TomTom home or however it’s called)! Just connect it via usb, it’ll show up as an additional network-interface (usb0 in my case). Now go ahead and get a DHCP lease. That’s it, now your TomTom is accessible via the IP 169.254.255.1. Now either upload the files via WebDav at http://169.254.255.1/personal/pois or use the fancy webinterface using http://169.254.255.1/pcmi/index.html

Cheers,
Raphi