
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
coordinate-convert
Advanced tools
地理坐标转换库,可以实现WGS84转GCJ02、GCJ02转BD009、BD09转GCJ02
GPS全球定位系统使用的坐标系统,GPS设备直接返回的坐标即为WGS84,另外Google地图使用的也是WGS84坐标
由中国国家测绘局制定的地理信息系统的坐标,国内出版的各种地图坐标系统(包括电子地图),必须至少采用GCJ02对WGS84进行首次加密。
百度在GCJ02的基础上进行的二次加密格式
npm install coordinate-convert
bower install coordinate-convert
WGS84坐标转GCJ02坐标
经度值或经纬度数组
纬度值
转换后的经纬度数组
GCJ02坐标转百度BD09坐标
经度值或经纬度数组
纬度值
转换后的经纬度数组
百度DB09坐标转GCJ02坐标
经度值或经纬度数组
纬度值
转换后的经纬度数组
var coord = CoordinateConvert.wgc2gcj(116.3997, 39.9158)
FAQs
We found that coordinate-convert demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.