Web mercator从X,Y转换为lat / long [英] Web mercator convert from X, Y to lat/long

查看:112
本文介绍了Web mercator从X,Y转换为lat / long的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了web mercator公式将lat / long转换为X,Y。当我添加50,50时,我想将其转换回lat / long。但我找不到任何公式。

我用过这个公式:

https://en.wikipedia.org/wiki/Web_Mercator#Formulas [ ^ ]

Hi, I've used web mercator formulas to convert lat/long to X,Y. when I add 50,50 I want to convert it back to lat/long. But I cant find any formula.
I've used this formula:
https://en.wikipedia.org/wiki/Web_Mercator#Formulas[^]

推荐答案

也许这就是你要找的东西

将纬度/经度指向隐藏在墨卡托投影上的像素(x,y) [ ^ ]



或者这个

墨卡托投影:基于像素的纬度公式? [ ^ ]
Maybe this is what you are looking for
Covert latitude/longitude point to a pixels (x,y) on mercator projection[^]

Or this
Mercator projection: formula for latitude based on pixels?[^]


但它不能用缩放计算。


这篇关于Web mercator从X,Y转换为lat / long的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆