View Single Post
Posts: 82 | Thanked: 44 times | Joined on Feb 2010
#27
Originally Posted by n900-dk View Post
The 'findNearestAddress' from geonames.org works only in the US, guess you are not there? But I have modified the 'whereami.py', so it will just return the GPS coordinates, and in the webservice at http://whereismydevice.com/devices, you will then have a link to Google Maps for this position. Works fine for me here in Denmark
Aha that's good to know ... The address lookup isn't that important when you are looking at the position through the webservice, but it's nice if you are sent it by SMS, because then you get a rough idea of the address right there in the SMS. If anyone knows of a webservice that will do reverse geocoding globally and has an easy API to integrate, please let me know, or update the script and post it, then I will update the script on the site.

Also Grog - thanks for noticing the script error in getactions.py - I have updated the scripts on the site to have += instead of = as per your diff. I have also changed NULL to null in ssh.sh and whereami.sh

Cheers,

Ben
__________________
http://www.whereismydevice.com - Recover your device if lost/stolen

http://jqueryinreallife.blogspot.com - Comedy jQuery blog