Geography::NationalGrid::TW

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

Geography::NationalGrid::TW Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Yen-Ming Lee
  • Publisher web site:
  • http://search.cpan.org/~leeym/Geography-NationalGrid-TW-0.04/lib/Geography/NationalGrid/TW.pm

Geography::NationalGrid::TW Tags


Geography::NationalGrid::TW Description

Geography::NationalGrid::TW is 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.SYNOPSISYou 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 Related Software