Retrieving Country (ISO 3166-1) and Region (ISO 3166-2) codes from address (using existing web services) [duplicate]

StackOverflow https://stackoverflow.com/questions/7974562

문제

Are there any web services or DBs available that will be able to return the ISO 3166-1 and ISO 3166-2 (Country & region) codes given a particular address or latitude/longitude coordinates?

I'm currently using the Google Geocode API in a PHP app, and would like to augment that info with the above mentioned ISO codes.

Thanks very much.

Prembo.

도움이 되었습니까?

해결책

How to reverse geocode without Google? contains an answer that would do the job. (Thanks @peter-szymkowski)

The Web Service that can be used is provided by: www.geonames.org

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top