doumicheng6732 2017-01-13 06:39
浏览 50

鉴于其纬度和经度的确切地址

I'm developing a web app wherein I need to get the "exact" address given a latitude and longitude pair. I tried Maps Geocode API as well but it doesn't give the exact address. I think Places API would be a good option alas I don't get how to use it.

I'm using golang.

  • 写回答

1条回答 默认 最新

  • dswe30290 2017-01-13 09:35
    关注

    IMO, if you think that reverse geocoding results a bad, Places API results wouldn't make you happier.

    Here is the sample of Places API

    https://maps.googleapis.com/maps/api/place/search/xml?location=55.753720,37.620144&key=google_map_api_key

    And Geocoder to compare

    https://maps.googleapis.com/maps/api/geocode/xml?latlng=55.753720,37.620144

    As you can see, there is no address in Places API results. The first addresses you may get only after addition radius parameter:

    https://maps.googleapis.com/maps/api/place/search/xml?location=55.753720,37.620144&radius=100&key=google_map_api_key

    For me, trying to decide which address within 100 meters is right is more complex task than simple use of the best possible result from geocoding.

    评论

报告相同问题?

悬赏问题

  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂
  • ¥15 wordpress 产品图片 GIF 没法显示