The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Location::GeoTool::Plugin::GridLocator - Extension for Location::GeoTool

SYNOPSIS

  use Location::GeoTool qw/GridLocator/;
  
  my $geo = Location::GeoTool->create_coord('354345.000','1394437.000',"wgs84", "dmsn");
  
  my $gl = $geo->get_gridlocator;  # PM95UR

DESCRIPTION

Location::GeoTool::Ex::GridLocator extends the Location::GeoTool module.

FUNCTIONS

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.

NOTICE

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;

EXPORT

None.

SEE ALSO

Location::GeoTool

Support this module in Kokogiko web site : http://kokogiko.net/

AUTHOR

OHTSUKA Ko-hei, <nene@kokogiko.net>

COPYRIGHT AND LICENSE

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.