开发者

get latitude longitude based on address api [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

Improve this question

I am 开发者_开发百科using http://code.google.com/apis/maps/documentation/geocoding/ api from google to get geolocation based on address. I put an address like this :"1600 Amphitheatre Parkway, Mountain View, CA", and getting the needed results, and I just need from here latitude and longitude. It works well from my localhost, but then I try to use it from hosting's server it says request denied. So my question is: if is there a similat api where i can send postcode street and house number and get latitude and longitude, thanks.


Your webhost might not allow such connections to other servers. Contact them to make sure they do. But that kind of problems often show up when you open socket connections, which i guess is not necessary for this API.

Otherwise you can try Yahoo's Geocoding API: http://developer.yahoo.com/maps/rest/V1/geocode.html Or as Yahoo themselfes suggest, the new PlaceFinder API. A link to PlaceFinder can be found at the same link.

If you're not satisfied with Yahoo, there is a similar API at multimap.com.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜