maidenhead - Convert positions to and from the Maidenhead Locator System
maidenhead -- 38.896 -77.042 maidenhead FM18lv maidenhead -help maidenhead -version
This option specifies the precision of the output. This is the number of pairs of characters for Maidenhead locators, or decimal places for degrees of latitude and longitude.
The default is the value of
This option displays the documentation for this script. The script then exits.
This option displays the version of this script. The script then exits.
This Perl script converts between degrees of latitude and longitude and Maidenhead Locator grid specifications. Positions to convert are given as command-line arguments.
Any command-line argument that begins with a letter is assumed to be a Maidenhead Locator, and converted to degrees of latitude and longitude.
Any other command-line argument is assumed to be degrees of latitude, with south being negative. The following argument is taken as degrees of longitude east of Greenwich, England, with west being negative. The pair is converted into a Maidenhead Locator.
Output is to standard out.
Tom Wyant (wyant at cpan dot org)
Copyright (C) 2018-2021 by Thomas R. Wyant, III
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.