On 13 Aug, 07:18, virtuPIC <WebMas...@airspace-v.comwrote:
If you are really clever you could also ask 'whois' and parse the
reply. I think that's how MaxMind and others have built their
databases. Here you get the most current and most precise information
available via net infrastructure.
But be cautios: The problem I had with MaxMind's database was that of
many users connected via ISP I only got the ISP's location which
frequently is a few hundred miles away. From my current office in
Germany I am connected to the net via Italy giving me Italian Google
search pages...
virtuPIC
--
Airspace V - international hangar flying!http://www.airspace-v.com/ggadgetsfor tools & toys
I'd also question the usefulness of IP address to geography mappings.
The easiest way to find out where a user is would be to **ask** them!
Of course, most users tend to think in terms of towns/cities and
countries rather than lattitude and longitude - and you'd want the
results in a strucutred format - which rather suggests clicking on
selection criteria rather than free text input.
IIRC the phpclassess website does geographical data manipulation to
find local user groups. Also, The CIA World Fact Book data seems to
published on a redistributable basis - although getting hold of the
raw data & metadata might be tricky. There may well be published
public listings of cities in the world - try google for a start. If
that trail goes cold, try chasing up from micro-formats and/or Mozilla
labs (who are actively looking at pushing data manipulation out to the
browser).
C.