Closed ahocevar closed 5 years ago
The MGRS utility currently only implements the UTM grid, so coordinates south of 80°S and north of 84°N will not work. See http://earth-info.nga.mil/GandG/publications/tm8358.1/tr83581b.html.
For this to work, someone would have to implement support for the Universal Polar Stereographic (UPS) grid.
I added data validation with https://github.com/proj4js/mgrs/pull/36, which should at least consistently throw an error if polar locations are passed in as a [lon, lat]
And created a new issue to track adding support for UPS: https://github.com/proj4js/mgrs/issues/33
I'm closing this issue as it was more of an issue with data validation than UPS support. Feel free to reopen or let me know if there are any questions :-)
Copied from proj4js/proj4js#151