【发布时间】:2016-11-10 18:05:13
【问题描述】:
我正在尝试对菲律宾的一些地址进行地理编码,但是当我通过 Google API 进行搜索时,我得到的结果非常不准确(距离我正在寻找的点 10 公里,而 maps.google.com 提供了更好的结果大约有几百米的误差)。
在这里阅读了其他帖子(并测试了 Google Maps API 和 Google Places API)之后,似乎 maps.google.com 是基于 Google Place 的,所以这应该是实现的选项......但是,我仍然得到我正在寻找的地址附近并不真正靠近的地点列表。
我的电话是这样的:
address="Balay Expo Centro Building, EDSA corner McArthur Avenue, Araneta Center, Cubao, Quezon City, Metro Manila, Philippines"
google_places = GooglePlaces(API_KEY)
query_result = google_places.nearby_search(
location = address,
radius=5)
for place in query_result.places:
print place.name
print place.geo_location
有人知道如何提高精度吗?
【问题讨论】:
标签: python google-maps google-maps-api-3 google-places-api google-geocoding-api