Mgrs
Utility for converting between WGS84 lat/lng and MGRS coordinates
Install / Use
/learn @proj4js/MgrsREADME
mgrs
Utility for converting between WGS84 lat/lng and MGRS coordinates, spunoff from proj4js
has 3 methods
- forward, takes an array of
[lon,lat]and optional accuracy and returns an mgrs string - inverse, takes an mgrs string and returns a bbox.
- toPoint, takes an mgrs string, returns an array of '[lon,lat]'
install dev dependencies with
npm install
test with
npm test
build with
npm run build
Licensed under the MIT license except:
Portions of this software are based on a port of components from the OpenMap com.bbn.openmap.proj.coords Java package. An initial port was initially created by Patrice G. Cappelaere and included in Community Mapbuilder (http://svn.codehaus.org/mapbuilder/), which is licensed under the LGPL license as per http://www.gnu.org/copyleft/lesser.html. OpenMap is licensed under the this license agreement
references:
- Wikipedia: https://en.wikipedia.org/wiki/Military_Grid_Reference_System
- GEOTRANS: https://earth-info.nga.mil/#geotrans
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
