Index of /javascript/geotude
Name Last modified Size Description
Parent Directory 25-Aug-2007 14:49 -
Changes 25-Aug-2007 14:50 2k
geotude-1.1.tar.gz 25-Aug-2007 14:50 3k
NAME
Geotude - OOP for performing geotude location conversions.
SYNOPSIS
str_gt = '53281.86.93.30.75.41.67';
gt = new Geotude({'geotude' => str_gt});
point = gt->point();
gt2 = new Geotude({'latitude'=>point[0], 'longitude'=>point[1]});
geotude = gt2->geotude();
DESCRIPTION
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.
PACKAGE METHODS
new Geotude(args)
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 *Geotude* object.
OBJECT METHODS
obj->geotude()
Returns a string containing a Geotude.
obj->point()
Returns a list containing a latitude and a longitude.
VERSION
1.1
DATE
$Date: 2007/08/18 16:14:18 $
AUTHOR
Aaron Straup Cope
SEE ALSO
<http://www.geotude.com/>
BUGS
Sure. Why not.
LICENSE
Copyright (c) 2007 Aaron Straup Cope. All Rights Reserved.
This is free software. You may redistribute it and/or modify it under
the terms of the Perl Artistic License.