获取 GPS 坐标的 Web 服务

编程入门 行业动态 更新时间:2024-10-24 18:20:24
本文介绍了获取 GPS 坐标的 Web 服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在开发一个需要某个地点的 GPS 坐标的 Web 应用程序 (jsp/strtus2).我想知道的是,是否有任何免费的网络服务可以通过将地址或邮政编码传递给服务器来获取某个地点的 GPS 坐标.

I'm developing an web application (jsp/strtus2) which requires the GPS coordinates of a place. What I want to know is, whether there are any free web services that I can get GPS coordinates of a place by passing address or zip code to the server.

提前致谢,女娲

推荐答案

雅虎的地理编码器 易于使用.基本上更改了一些查询字符串,它会输出一个易于解析的 xml 文件.

Yahoo's Geocoder is easy to use. Basically change a few query strings and it outputs an easy to parse xml file.

Google 在我们所在地区遇到了一些问题,返回的坐标有时非常不准确.雅虎往往会在有问题的街道上实际登陆,但可能不会自己击中包裹.

Google's had a few issues in our area with the coordinates being returned being incredibly inaccurate at times. Yahoo tends to actually land on the street in question, but probably wont hit the parcel itself.

也就是说,请注意这些服务并不是最准确的.

That said, just note these services aren't going to be the most accurate.

更多推荐

获取 GPS 坐标的 Web 服务

本文发布于:2023-10-13 17:21:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1488611.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:标的   GPS   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!