How to convert longitude and latitude to street address

后端 未结 5 1036
伪装坚强ぢ
伪装坚强ぢ 2020-12-09 17:00

Given the latitude and longitude, how do we convert it to street address using Javascript or Python?

5条回答
  •  天命终不由人
    2020-12-09 17:42

    99% of the time, most people link you to Google Maps's API. Not a bad answer. HOWEVER -- Beware of the prohibited uses, usage limits and Terms of Use! While a distributed app many not run afoul of the usage limit, it is quite limiting for a web app. The TOS does not allow you to repurpose Google's data into an app with your skin on it. You would hate to have your business plan derailed by a cease and desist letter from Google, no?

    All is not lost. There are several open sources of data, including US Government sources. Here are a few of the best:

    The US Census Tiger Database, in particular, supports reverse geocoding and is free and open for US addresses. Most other databases derive from it in the US.

    Geonames and OpenStreetMap are user supported in the Wikipedia model.

提交回复
热议问题