Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Geo::iArea 0.0.1

    Download button

    No screenshots available
    Downloads: 148  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    OHTSUKA Ko-hei | More programs
    Perl Artistic License / FREE
    April 13th, 2011, 01:03 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Geo::iArea description

    Convert latitude/longitude data to NTT DoCoMo's iArea data

    Geo::iArea is a Perl module that requires no configuration files or environment variables.

    SYNOPSIS

     use Geo::iArea;

     # Convert from latitude/longitude data
     # If specified 2 arguments, judge them as latitude/longitude.
     # latitude/longitude must be wgs84 datum.

     my $ia = Geo::iArea->new(35.0000,135.0000);

     # You can also make iArea object from iArea code.
     # If argument is only 1 and it is 5 digits, it is judged as iArea code.

     my $ia = Geo::iArea->new('25100');

     # You can also make iArea object from 2~7 level mesh code.
     # If argument is only 1 and it is 6~11 digits, it is judged as mesh code.

     my $ia = Geo::iArea->new('52354000000');

     # After create iArea object, you can access to iArea property.
     my $name = $ia->name # Name of area.
     my $region = $ia->region # Name of Japanese region which the area is included.
     my $pref = $ia->pref # Name of prefecture which the area is included.
     my ( $min_lat, $min_lng, $max_lat, $max_lng ) = $ia->rectangle();
     # Return MBR rectange data of given iArea.
     my ( $cen_lat, $cen_lng ) = $ia->center();
     # Return center data of given iArea.



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    latitude converter | longitude converter | Perl module | latitude | longitude | converter

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM