Something like whereami [https://github.com/victor/whereami] would give better results I think.
My ip now just maps to the headquarters of my Thai isp. They happen to be only ~70km away but it could be out by hundreds if not thousands of km.
If I find some time I might send a PR or two with some improvements.