Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Finding distance between cities or countries Perl module

by Khen1950fx (Canon)
on Aug 16, 2012 at 12:18 UTC ( #987744=note: print w/ replies, xml ) Need Help??


in reply to Finding distance between cities or countries Perl module

See: Geo::Distance::XS.
#!/usr/bin/perl use strict; use autodie; use warnings; use Geo::Distance::XS; my $geo = Geo::Distance->new; my $distance = $geo->distance(mile => $lon1, $lat1 => $lon2, $lat2); print $distance;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987744]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-07-27 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (242 votes). Check out past polls.