<html>
<body>
At 01:49 PM 2/27/2007, Randall Hennig wrote:<br>
<blockquote type=cite class=cite cite="">Are there any Perl libraries
that will do IP address geolocation?</blockquote><br>
Just looking around at CPAN<br><br>
<a href="http://search.cpan.org/~tjmather/Geo-IP-1.27/" eudora="autourl">
http://search.cpan.org/~tjmather/Geo-IP-1.27/<br>
</a>but it seems to be dependent on databases supplied by <br>
&nbsp;&nbsp;&nbsp;
<a href="http://www.maxmind.com/app/products" eudora="autourl">
http://www.maxmind.com/app/products<br>
</a>and so is a commercial product?<br><br>
<br>
<font size=3>
<a href="http://search.cpan.org/~location/Geo-IP2Location-2.00/" eudora="autourl">
http://search.cpan.org/~location/Geo-IP2Location-2.00/</a><br>
but the readme notes<br>
</font><pre>&nbsp; The complete database is available at
<a href="http://www.ip2location.com/" eudora="autourl">
http://www.ip2location.com</a> under subscription package.
so it is another frontend to commercial offering.


</pre><font face="Courier New, Courier" size=3>
<a href="http://search.cpan.org/~gmpassos/Geo-IPfree-0.2/" eudora="autourl">
http://search.cpan.org/~gmpassos/Geo-IPfree-0.2/</a><br>
readme says &quot;See CPAN for updates...&quot; so naturally the latest
update was March 2003:w<br><br>
<br>
<a href="http://search.cpan.org/~tjmather/Geo-IP-PurePerl-1.18/" eudora="autourl">
http://search.cpan.org/~tjmather/Geo-IP-PurePerl-1.18/<br>
</a></font>The IP address to country database is available for free,
updated monthly:<br>
<pre>&nbsp;
<a href="http://www.maxmind.com/download/geoip/database/">
http://www.maxmind.com/download/geoip/database/

</a></pre><font face="Courier New, Courier" size=3>From the same guy
at<a href="http://sourceforge.net/projects/geoip/" eudora="autourl">
http://sourceforge.net/projects/geoip/</a><br>
talks about GeoLite databases &quot;that are not as accurate&quot;<br>
&nbsp;&nbsp;&nbsp;
<a href="http://www.maxmind.com/app/geolitecity" eudora="autourl">
http://www.maxmind.com/app/geolitecity</a><br>
but it's down to the city level, that's good, right?<br><br>
<br>
Look up of country is apparently easier to get data for . . .<br><br>
<a href="http://search.cpan.org/~nwetters/IP-Country-2.23/" eudora="autourl">
http://search.cpan.org/~nwetters/IP-Country-2.23/</a><br>
Free<br>
I'm not sure if this is required?<br>
<a href="http://search.cpan.org/~nwetters/IP-Country-Data-0.01/" eudora="autourl">
http://search.cpan.org/~nwetters/IP-Country-Data-0.01/</a><br><br>
<br>
<a href="http://search.cpan.org/~nwetters/IP-Country-DNSBL-1.02/" eudora="autourl">
http://search.cpan.org/~nwetters/IP-Country-DNSBL-1.02/</a><br>
Dynamic<br><br>
<br>
and that one link to SourceForge is an idea of where else to
look?<br><br>
<br>
<x-sigsep><p></x-sigsep>
-- <br>
I'm a pessimist about probabilities; I'm an optimist about
possibilities.<br>
&nbsp;&nbsp;&nbsp; Lewis Mumford&nbsp; (1895-1990) <br>
</font></body>
</html>