Geo::Coordinates::MGRS::XS - Perl extension for converting MGRS coordinates to UTM or lat/lon.
use Geo::Coordinates::MGRS::XS, :all; my ($lat, $lon) = mgrs_to_latlon("32VNN100100"); my ($zone, $hemisphere, $northing, $easting) = mgrs_to_utm("32VNN100100");
Converts MGRS coordinates to UTM or lat/lon.
This module is written in C/XS for an extra speed boost - if you're not too worried about execution speed you should probably take a look at the more mature Geo::Coordinates::UTM, which also handles MGRS coordinates.
umeldt <chris@svindseth.jp>
Copyright (C) 2015 by umeldt
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.22.0 or, at your option, any later version of Perl 5 you may have available.
To install Geo::Coordinates::MGRS::XS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Coordinates::MGRS::XS
CPAN shell
perl -MCPAN -e shell install Geo::Coordinates::MGRS::XS
For more information on module installation, please visit the detailed CPAN module installation guide.