Web service to get the GPS Coordinates

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


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.


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


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

this is the link to the geocoding service by google

链接地址: http://www.djcxy.com/p/43122.html

上一篇: 单态限制对类型约束的影响

下一篇: Web服务获取GPS坐标