Geography::NationalGrid::TW 0.03 review

Download
by rbytes.net on

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

License: Perl Artistic License
File size: 5K
Developer: Yen-Ming Lee
0 stars award from rbytes.net

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.

Requirements:
Perl

Geography::NationalGrid::TW 0.03 search tags