Schmorpforge Software Repository

Geo-LatLon2Place

Piratenpartei
Deliantra Free MMORPG
The free as in beer, liberal, code & content retro-style graphical MMORPG :)

Geo-LatLon2Place

This is a single-purpose module that tries to do one job: find the nearest placename for a point on earth. It doesn't claim to do a perfect job, but it tries to be simple to set up, simple to use and be fast. It doesn't attempt to provide many features or nifty algorithms, and is meant to be used in situations where you simply need a name for a coordinate without becoming a GIS expert first.

Blurb

 my $lookup = Geo::LatLon2Place->new ("allCountries.ll2p");

 # and then do as many queries as you wish:
 my $res = $lookup->(49, 8.4);
 

Resources

CVSBrowsable CVS module 'Geo-LatLon2Place'
CVSAnonymous CVS:  cvs -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co Geo-LatLon2Place
IRCServer irc.schmorp.de, channel #schmorpforge, user schmorp (say hi and wait a few minutes or hours, or /msg schmorp directly))

Package Documention

PODLatLon2Place.pm
PODbin/geo-latlon2place-makedb