Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 perusing the Monastery: (7)
As of 2015-07-04 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls