开发者

Looking for free online webservice for getting zipcode(/postalcode) from lat, long? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is no开发者_如何学运维t 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 8 years ago.

Improve this question

I am Looking for free online webservice for getting zipcode(/postalcode) from lat, long ?

There is one :

http://ws.geonames.org/findNearbyPostalCodesxml?formatted=true&lat=latValue&lng=longValue

but its not working.....!

Do you know other than this...?

Thanks


Since your question is tagged iPhone, I assume you're doing this on the iPhone. If that's the case, why not just use MapKit?

Use the MKReverseGeocoder class which, given your latitude/longitude pair, will send -reverseGeocoder:didFindPlaceMark: to its delegate. The placemark has a postalCode property.

If you really need a web service, I've looked at the following services for geocoding (not reverse-geocoding). You might want to look at them to see if any of them suits your needs:

  • Google
  • CloudMade
  • Tiny Geocoder
  • Yahoo
  • TeleAtlas (not purely a web service)

I've done limited testing of each of these services with the exception of TeleAtlas. For my purposes, Google and Tiny Geocoder returned the best results. YMMV.


CloudMade supports reverse geocoding...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜