Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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;


Comment on Re: Finding distance between cities or countries Perl module
Download Code

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 scrutinizing the Monastery: (18)
As of 2014-07-14 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (260 votes), past polls