Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/proj4js/mgrs
/ functions
Functions
18 in github.com/proj4js/mgrs
⨍
Functions
18
◇
Types & classes
0
↓ 3 callers
Function
degToRad
* Conversion from degrees to radians. * * @private * @param {number} deg the angle in degrees. * @return {number} the angle in radians.
mgrs.js:143
↓ 2 callers
Function
UTMtoLL
* Converts UTM coords to lat/long, using the WGS84 ellipsoid. This is a convenience * class where the Zone can be specified as a single string eg."60
mgrs.js:249
↓ 2 callers
Function
decode
* Decode the UTM parameters from a MGRS string. * * @private * @param {string} mgrsString an UPPERCASE coordinate string is expected. * @return {o
mgrs.js:481
↓ 2 callers
Function
get100kSetForZone
* Given a UTM zone number, figure out the MGRS 100K set it is in. * * @private * @param {number} i An UTM zone number. * @return {number} the 100k
mgrs.js:388
↓ 2 callers
Function
radToDeg
* Conversion from radians to degrees. * * @private * @param {number} rad the angle in radians. * @return {number} the angle in degrees.
mgrs.js:154
↓ 1 callers
Function
LLtoUTM
* Converts a set of Longitude and Latitude co-ordinates to UTM * using the WGS84 ellipsoid. * * @private * @param {object} ll Object literal with
mgrs.js:169
↓ 1 callers
Function
encode
* Encodes a UTM location as MGRS string. * * @private * @param {object} utm An object literal with easting, northing, * zoneLetter, zoneNumber
mgrs.js:356
↓ 1 callers
Function
fetchAsText
(url)
test/setup.js:4
↓ 1 callers
Function
get100kID
* Get the two letter 100k designator for a given UTM easting, * northing and zone number value. * * @private * @param {number} easting * @param {
mgrs.js:374
↓ 1 callers
Function
getEastingFromChar
* Given the first letter from a two-letter MGRS 100k zone, and given the * MGRS table set for the zone number, figure out the easting value that * s
mgrs.js:581
↓ 1 callers
Function
getLetter100kID
* Get the two-letter MGRS 100k designator given information * translated from the UTM northing, easting and zone number. * * @private * @param {nu
mgrs.js:413
↓ 1 callers
Function
getLetterDesignator
(latitude)
mgrs.js:329
↓ 1 callers
Function
getMinNorthing
* The function getMinNorthing returns the minimum northing value of a MGRS * zone. * * Ported from Geotrans' c Lattitude_Band_Value structure table
mgrs.js:670
↓ 1 callers
Function
getNorthingFromChar
* Given the second letter from a two-letter MGRS 100k zone, and given the * MGRS table set for the zone number, figure out the northing value that *
mgrs.js:625
↓ 1 callers
Function
process
()
test/setup.js:19
Function
forward
(ll, accuracy)
mgrs.js:82
Function
inverse
(mgrs)
mgrs.js:117
Function
toPoint
(mgrs)
mgrs.js:125