The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Geo::Coordinates::MGRS::XS - Perl extension for converting MGRS coordinates to UTM or lat/lon.

SYNOPSIS

use Geo::Coordinates::MGRS::XS, :all;

my ($lat, $lon) = mgrs_to_latlon("32VNN100100");
my ($zone, $hemisphere, $northing, $easting) = mgrs_to_utm("32VNN100100");

DESCRIPTION

Converts MGRS coordinates to UTM or lat/lon.

SEE ALSO

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.

AUTHOR

umeldt <chris@svindseth.jp>

COPYRIGHT AND LICENSE

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.