Index of /php/geotude

      Name                    Last modified       Size  Description

[DIR] Parent Directory 15-Aug-2007 11:23 - [TXT] Changes 16-Aug-2007 01:02 1k [   ] Geotude-1.0.tar.gz 16-Aug-2007 01:02 2k

NAME
    Geotude - OOP for performing geotude location conversions.

SYNOPSIS
            $str_gt = '53281.86.93.30.75.41.67';

            $gt = new Geotude(array('geotude' => $str_gt));
            list($lat, $lon) = $gt->get_point();

            $gt2 = new Geotude(array('latitude'=>$lat, 'longitude'=>$lon));
            $geotude = $gt2->get_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=array())
  __PACKAGE__->new(%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->get_geotude()
    Returns a string containing a Geotude.

  $obj->get_point()
    Returns a list containing a latitude and a longitude.

VERSION
    1.0

DATE
    $Date: 2007/08/16 05:13:29 $

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.