获取 GPS 坐标的 Web 服务 [英] Web service to get the GPS Coordinates

查看:19
本文介绍了获取 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 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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