User:Klaus

From Geohashing
Revision as of 10:05, 16 August 2015 by imported>Klaus (added 2015-08-16 48 8, although not done... some other minor changes, too)
Lol-asg.png 26 / m / 48,9

My home coordinates are plusminus 48.53,9.06 in the city of Tuebingen, Germany. I was born and lived for a long time in 49,11 and still am there from time to time.

I plan to geohash mostly by bike, but will make short detours (less than 5km one way), if a geohash is near to a route I'm driving by car anyway.

Geohashes

Finally I started with geohashing after years of just watching and checking the coordinates like once every few months :)

Achievements

Easy ones

Landgeohash.png
Klaus earned the Land geohash achievement
by reaching the (48, 8) geohash on 2015-05-17.
Bikegeohash.png
Klaus earned the Bicycle geohash achievement
by cycling 42km to and from the (48, 8) geohash on 2015-05-17.
Bus.PNG
Klaus earned the Public transport geohash achievement
by reaching the (48, 11) geohash on 2015-07-12 via S8, S7, bus 25 and U1.
Origin2.png
Klaus earned the Origin geohash achievement
by reaching the (49, 11) geohash for 1988-10-04 on 2015-07-17.
1988-10-04 retro view.jpg

Minesweeper

Minesweeper geohash empty.png Minesweeper geohash empty.png Minesweeper geohash empty.png
Minesweeper geohash flag.png Minesweeper geohash 1.png Minesweeper geohash empty.png
Minesweeper geohash empty.png Minesweeper geohash empty.png Minesweeper geohash empty.png
Klaus achieved level 1 of the Minesweeper Geohash achievement
by visiting coordinates in 48,9 and 1 of the surrounding graticules.
Minesweeper geohash empty.png Minesweeper geohash empty.png Minesweeper geohash empty.png
Minesweeper geohash empty.png Minesweeper geohash 1.png Minesweeper geohash flag.png
Minesweeper geohash empty.png Minesweeper geohash empty.png Minesweeper geohash empty.png
Klaus achieved level 1 of the Minesweeper Geohash achievement
by visiting coordinates in 48,8 and 1 of the surrounding graticules.

For an over view see the map: http://xkcd.nathanwoodruff.com/GooMapXKCDKlaus.htm or use the table below. It contains the first successful hash for each graticule. I only included graticules for the moment for which I know I'll be travelling through or staying at least a few days per year and thus there is a small possibility to get them, if the algorithm is kind enough!


50,10 50,11
49,9 49,10 49,11
48,8 48,9 48,10 48,11


Bash Script

As I always forget to look up the coordinates, I hacked this (very ugly) bash script to let a daily cronjob inform me per email, whenever a geohash is near to me:

#!/bin/bash

maxdistance=15

a=$(curl 'http://tjum.anthill.de/cgi-bin/geohash.cgi?lat=48.53&lon=9.06&nr=1&map=0&size=240x240&t=&date=&unit=km' 2>/dev/null |
iconv -f 'iso8859-1' -t 'utf8' |
sed  's/<br>/\n/g' |
sed 's/ / /g' |
fgrep 'km' |
cut -d ':' -f2 |
cut -d 'k' -f1 | 
sort -n |
head -n 1 |
cut -d '.' -f 1)

echo $a

if [ $a -lt $maxdistance ]
then
	echo 'http://tjum.anthill.de/cgi-bin/geohash.cgi?t=1&nr=o&unit=km&zoom=11%2F5&zoom=8%2F2&type=roadmap&lat=48.53&lon=9.06&size=240x240' | 
	mail -s "geohash is near to tuebingen ($a)" USERNAME
fi

I just parses the small hash inquiry tool from Ekorren in the most complicated way and sends the mail via a local mailserver :)