Geo::Coordinates::VandH::XS
use Geo::Coordinates::VandH::XS 'all'; my( $v, $h ) = toVH( $lat, $lon ); my( $lat, $long ) = toLatLon( $v, $h ); my $distance = distance( $v1, $h1, $v2, $h2 ); my $degrees = degrees($radians); my $radians = radians($degrees);
Convert and Manipulate telco V & H coordinates both to and from Lat/Lon and calculate the distance between pairs of V&H co-orods.
Latitude and longtitude are in degrees. Utility conversion funtions are available to convert degrees <-> radians
None by default.
Dr James Freeman, <james.freeman[AT]id3.org.uk<gt>
perl.
To install Geo::Coordinates::VandH::XS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Coordinates::VandH::XS
CPAN shell
perl -MCPAN -e shell install Geo::Coordinates::VandH::XS
For more information on module installation, please visit the detailed CPAN module installation guide.