Web service to get the GPS Coordinates

a 夏天 提交于 2019-12-18 05:55:25

问题


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.

Thanks in advance, Nuwan


回答1:


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

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.




回答2:


You can use Bing Maps or Google Geolocation to do this. Bing has the pleasant ability to tie into native .NET namespaces.




回答3:


http://code.google.com/apis/maps/documentation/geocoding/index.html

this is the link to the geocoding service by google



来源:https://stackoverflow.com/questions/1320262/web-service-to-get-the-gps-coordinates

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!