Location::GeoTool::Plugin::GridLocator - Extension for Location::GeoTool
use Location::GeoTool qw/GridLocator/; my $geo = Location::GeoTool->create_coord('354345.000','1394437.000',"wgs84", "dmsn"); my $gl = $geo->get_gridlocator; # PM95UR
Location::GeoTool::Ex::GridLocator extends the Location::GeoTool module.
If you use this module in your program, it add get_gridlocator method to Location::GeoTool.
Please see the way to use this, please see upper SYNOPSIS part. It contains the way to use this.
This extension calcurates Grid Locator based on datum of Location::GeoTool object. So, if you want to make object by Tokyo datum but get Grid Locator in wgs84, do like below:
my $geo = Location::GeoTool->create_coord('354345.000','1394437.000',"tokyo", "dmsn"); my $gl = $geo->datum_wgs84->get_gridlocator;
None.
Location::GeoTool
Support this module in Kokogiko web site : http://kokogiko.net/
OHTSUKA Ko-hei, <nene@kokogiko.net>
Copyright (C) 2005-2007 by Kokogiko!
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available.
To install Location::GeoTool, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Location::GeoTool
CPAN shell
perl -MCPAN -e shell install Location::GeoTool
For more information on module installation, please visit the detailed CPAN module installation guide.