Mailody meets Marble
As you might have figured, I’m trying to integrate with every technology that is Hot. Today I decided to sidetrack from the Nepomuk integration and do another one in the meanwhile.
[img_assist|nid=248|title=|desc=|link=node|align=center|width=515|height=431]
What you see in the image is the route of a mail message. You can see the origin of a mail in the map and how the message got to you…
It analyses the headers, grabs the ip-addresses of the mail servers, translates them to coordinates, start the MarbleWidget and draws the items on there.
Currently I use the unmaintained http://netgeo.caida.org-site to give me the coordinates which belong to an ip-address. I’m not so happy with that. I rather use the geoclue system, but I don’t really understand how to implement it.
Maybe someone has an idea what I can use best for the conversion from ip-address to location? Find me on freenode irc, nickname toma or leave a message.
Hi Tom,
If you draw using GeoPainter and use
GeoPainter::drawAnnotation( ….. )
as used in the test plugin you’d get more fancy graphics ;)
I’m not sure GeoClue is really what you want – as far as I can tell, it’s a “where am I right now” service, with no provisions for “where is IP x.x.x.x”.
Some of the providers may be able to do this as a way of finding “where am I now”, but that’s not to say that such a provider will be available.
You could also use http://www.hostip.info/ although i have no clue how good it is.
What about GeoLite? http://www.maxmind.com/app/c
that only maps to cities and countries as far as i can see. coordinates would be better. next to that, i think an online database is better for this.
Thanks a lot. I’ve added this source to the lookup and fall back to the other one if needed.
“I’m trying to integrate with every technology that is Hot.”
Not a good design policy. This seems like just another bloated feature of no real benefit to me. Why clutter up the menues any more?
instead of using the way of a plugin, you should now be able to simply add a Placemark containing a LineString in the normal way (addKmlfromData). Styles should work too, overlays aren’t working yet.