将纬度经度坐标转换为图像地图坐标

发布于 2024-12-16 19:20:17 字数 236 浏览 2 评论 0原文

我几乎肯定这个问题已经得到了解答;但是,无法找到它,因为 XY 坐标由于其相对定义而过载。

我试图找到/弄清楚的是如何获取纬度/经度坐标(例如 12.121212、-12.323232)并进行转换,以便它们可以映射到二维平面,例如图像地图上的点。

有没有人解决了这个问题并知道他们可以向我指出的脚本或其他问题?

理想情况下,我正在寻找 JavaScript 或 .Net 的解决方案;然而,可以同样地转换算法。

I'm almost positive this has been answered already; however, unable to find it since XY coordinates are overloaded due to their relative definition.

What I am trying to find/figure out is how to take latitude/longitude coordinates (e.g. 12.121212, -12.323232) and convert such so they can be mapped onto a 2-dimensional plane such as a point on an image map.

Has anyone solved this issue and know of a script or another SO question that they can point me to?

Ideally I'm seeking a solution in either JavaScript or .Net; however, can convert algorithms just the same.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

欢烬 2024-12-23 19:20:17

我相信您正在寻找类似墨卡托投影的东西。

有些相关,但方向相反:
http://answers.yahoo.com/question/index?qid=20080521142713AAnlVtI

还填充了信息:
http://msdn.microsoft.com/en-us/library/bb259689.aspx

I believe you are looking for something like the Mercator projection.

Somewhat related, but going the opposite direction:
http://answers.yahoo.com/question/index?qid=20080521142713AAnlVtI

Also filled with information:
http://msdn.microsoft.com/en-us/library/bb259689.aspx

单身狗的梦 2024-12-23 19:20:17

这种操作称为“投影”。您需要知道要投影到的坐标系的标识。这里有很多神秘的传说。

看到这个。

https://gis.stackexchange.com/questions/11560/将纬度和经度转换为北纬和东纬

This operation is called "projection." You need to know the identity of the coordinate system you want to project into. There is a lot of arcane lore here.

See this.

https://gis.stackexchange.com/questions/11560/convert-latitude-and-longitude-into-northings-and-eastings

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文