Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 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

    Geography::NationalGrid::TW 0.08

    Download button

    No screenshots available
    Downloads: 369  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Yen-Ming Lee | More programs
    Perl Artistic License / FREE
    December 5th, 2007, 15:19 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Geography::NationalGrid::TW description

    A Perl module to convert Taiwan Datum (TWD67/TM2, TWD97/TM2) to/from Latitude and Longitude.

    Geography::NationalGrid::TW is a Perl module to convert Taiwan Datum (TWD67/TM2, TWD97/TM2) to/from Latitude and Longitude.

    SYNOPSIS

    You should _create_ the object using the Geography::NationalGrid factory class, but you still need to know the object interface, given below.
    # default TWD97
    my $point1 = new Geography::NationalGrid::TW(
    'Easting' => 302721.36,
    'Northing' => 2768851.3995,
    );
    printf("Point 1 is %f X and %f Yn", $point1->easting, $point1->northing);
    printf("Point 1 is %f N and %f En", $point1->latitude, $point1->longitude);
    # transform to TWD67
    $point1->transform('TWD67');


    Once created, the object allows you to retrieve information about the point that the object represents. For example you can create an object using easting / northing and the retrieve the latitude / longitude.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    convert Taiwan Datum | Perl module | Latitude and Longitude | Geography | convert | Taiwan

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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