Geo::Coordinates::VandH - Convert and Manipulate telco V and H coordinates
use Geo::Coordinates::VandH; $blah=new Geo::Coordinates::VandH; ($lat,$lon) = $blah->vh2ll(5498,2895); printf "%lf,%lf\n",$lat,$lon; To find the mileage between 5498,2895 and 5527,2873 in miles: use Geo::Coordinates::VandH; $blah=new Geo::Coordinates::VandH; printf "Distance between Pontiac, MI and Southfield, MI is approximately: %d miles\n",$blah->distance(5498,2895,5527,2873);
Currently this package supports the translation of V+H to Lat/Long, and mileage calculations between two V+H coordinates. Results are returned in decimal degrees for V+H to Lat/Long, and Miles for distance. Future versions will convert Lat/Long to V+H coordinates.
Paul Timmins, <paul@timmins.net>
perl.
To install Geo::Coordinates::VandH, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Coordinates::VandH
CPAN shell
perl -MCPAN -e shell install Geo::Coordinates::VandH
For more information on module installation, please visit the detailed CPAN module installation guide.