Geo::Geotude - OOP for performing geotude location conversions.
my $lat = '3.106254'; my $lon = '101.630517'; my $geo = Geo::Geotude->new('latitude' => $lat, 'longitude' => $lon); print $geo->geotude(); # prints '53281.86.93.30.75.41.67'
Geowhat? A Geotude is : "permanent and hierarchical. [As] a trade-off: A Geotude is less intuitive than address, but more intuitive than latitude/longitude. A Geotude is more precise than address, but less precise than latitude/longitude."
This package provides OOP methods for converting a decimal latitude and longitude in to Geotude and vice versa.
Valid arguments are :
geotude
A Geotude string.
Must be present if neither latitude or longitude are defined.
latitude
A latitude, in decimal format.
Must be present if longitude is defined.
longitude
A longitude, in decimal format.
Must be present if latitude is defined.
Returns a Geo::Geotude object.
Returns a comma-separated string when called in a scalar context.
When called in an array context, returns a list containing decimal latitude and longitude.
Returns a geotude string when called in scalar context.
When called in an array context, returns a list containing the major and minor (or sub) geotudes.
1.0
$Date: 2007/08/09 02:10:54 $
Aaron Straup Cope <ascope@cpan.org>
http://www.geotude.com/
Please report all bugs via http://rt.cpan.org/
Copyright (c) 2007 Aaron Straup Cope. All Rights Reserved.
This is free software. You may redistribute it and/or modify it under the same terms as Perl itself.
To install Geo::Geotude, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Geotude
CPAN shell
perl -MCPAN -e shell install Geo::Geotude
For more information on module installation, please visit the detailed CPAN module installation guide.