June 27, 2002
You are here (probably)

Here is a new toy I'm playing with. If it works correctly it should show approximately where you are located geographically. I only tested this with my home coordinates and a few others, but perhaps you can give me some feedback if you are suddenly popping up in Wladiwostok or Patagonia.

[UPDATE - I moved the flash file into the MORE part as there is a new version]

How does this work? Actually it is pretty simple: I use a PHP script to connect to NetGeo which is a geographic database that translates IP adresses into latitude and longitude coordinates, plus some additional info like country code or city name. Then I just have to translate this into XY - that is the hardest part, because my map uses a Mercator Projection.

BTW - it is possible that this sometimes does not work. There is a limit on the NetGeo server which allows only a certain amount of requests within 30 seconds.

Of course this is only the start. I already have some ideas how to continue from here:

- Show the locations of recent visitors
- Show the locations of neighboring blogs or linked sites
- Do some crazy networking/relevance/search based on location


Posted at June 27, 2002 07:30 PM | Further reading
Comments

pretty cool. missed me by a couple hundred miles (said i'm in princeton, nj, as opposed to boston, ma) but on a global scale...not bad!

Posted by: BIT-101 on June 27, 2002 08:51 PM

pretty cool. missed me by a couple hundred miles (said i'm in princeton, nj, as opposed to boston, ma) but on a global scale...not bad!

Posted by: BIT-101 on June 27, 2002 08:53 PM

Damn this is cool. Could you make the text cut 'n' paste'able please.. That would allow us to give us our cordinates...

It shows
Longitude: 10 degrees, 75 E and
Latitude: 59 degrees, 92 N -
City: Oslo
State: Oslo
Country: Norway

Which is right on the spot. Nice to know where in the world I am *g*. Will you make the project open source? And the PHP script - is it available somewhere?

Posted by: Jarle on June 28, 2002 12:00 AM

Hey, I found IP-atlas (http://www.xpenguin.com/ip-atlas.php), just downloaded and pointed my browser at the location its at - and voila:
http://www.bsp.no/test/ipatlas/ip-atlas-0.9/plot.php

Very cool :-) But your Flash frontend is a zillion times cooler!

Posted by: Jarle on June 28, 2002 12:36 AM

Nice, but it missed me by a couple thousand miles... It says I'm in Fairfax, Virginia (as does the IP-atlas that Jarl links to), but I live over in Seattle, WA.

Maybe if I refresh it a few times....

Posted by: michael e. gunn on June 28, 2002 01:17 AM

Nope. Apparently, I live in Fairfax, Virginia. All this time I thought I lived on the west coast. Strange though, that is the Pacific Ocean out my window, is it not? :)

Posted by: michael e. gunn on June 28, 2002 01:21 AM

Hey this is really cool...

One minor thing.. I'm in Auckland NZ, ... right down the bottom right corner. Alas it cuts off the text, you got the placing exactly right, but just couldn't read the text :)

I like this is really awesome ... and like Jarle said...please share the codes :)

Posted by: PNut on June 28, 2002 03:36 AM

Wow - a lot of feedback! Thanks guys!

Of course this is only the first version, things like the cut-off textbox for New Zealand will be fixed.

If you get a wrong city name that's probably because of your ISP - this data comes from NetGeo. This is something I cannot fix.

As usual I will release the source code as soon as I have reached a decent status - this is still pre-alpha.

Posted by: coma2mario on June 28, 2002 11:26 AM

Really there's nobody to field these messages?

I think this is another way to getting us to some database because I don't understand the reason why of this comments box.

Posted by: Sergio on August 12, 2002 05:43 AM

Missed me by 86 km, but considering I work in the middle of nowhere and we share a high-speed line with our headquarters in Bergen, this is cool!

Posted by: Jan on August 23, 2002 01:45 PM

hallo, amazing missed me 400.km but i thing the the cordinated point is my internet company Upload location... generally Nice work. Congulations.

Posted by: can karakurum on September 28, 2002 09:40 AM

Hi, exactly correct position.... my second internet company which located a few km to my place, show my cordinates almost exactly in a little distance mistake, Good Work..

Posted by: can karakurum on September 28, 2002 09:52 AM

Amazing flash killer app. , but missed me too by 300 Kms. I am located in Mumbai (India), maybe its tracking our gateway server of our organisation located in Pune (India).
Great flash stuff, one of it's kind in the Flash 'ocean' of web...

Posted by: Abhijeet on January 29, 2003 08:57 AM

Sucks, Puts me in the missle of the pacific, i'm in the UK.

Posted by: chumbawumba on February 1, 2005 03:06 PM

As the NetGeo Service doesn't work anymore the map doesn't either. Sorry.

Posted by: Mario Klingemann on February 1, 2005 03:17 PM

Dude this thing doesnt work 4 me sorry to say

Posted by: NItrous Oxide on March 29, 2005 11:47 PM
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?



Thank you!

Most Visited Entries
Sketches, Works & Source Code
Lectures
Contact
Backlog
In Love with
Powered by
Movable Type 2.661

© Copyright Mario Klingemann

Syndicate this site:
RSS 1.0 - RSS 2.0

Quasimondo @ flickr
Quasimondo @ LinkedIn
Quasimondo @ Twitter
Quasimondo @ Facebook
Quasimondo @ MySpace
Quasimondo is a Bright
Citizen of the TRansnational Republic
My other blog in german
Impressum


My family name is written Klingemann,
not Klingelmann, Klingeman, Klingaman, Kingemann,
Kindermann, Killingaman, Klingman, Klingmann, Klingonman
Klingemman, Cleangerman, Klingerman or Kleangerman

profile for Quasimondo at Stack Overflow, Q&A for professional and enthusiast programmers