我们如何从谷歌反向地理编码中获得更准确的位置地址。

时间:2017-03-09 07:14:35

标签: python

有时反向地理编码会返回错误的结果

https://maps.googleapis.com/maps/api/geocode/json?key=MY_API_KEY&latlng=10.005356,76.346065

结果: -

.........
...........
     "formatted_address" : "B11, Seaport - Airport Rd, Thuthiyoor, Chittethukara, Kakkanad, Kerala 682037, India",
     "geometry" : {
        "location" : {
           "lat" : 10.0005447,
           "lng" : 76.34949979999999
        },
        "location_type" : "ROOFTOP",
        "viewport" : {
           "northeast" : {
              "lat" : 10.0018936802915,
              "lng" : 76.3508487802915
           },
           "southwest" : {
              "lat" : 9.999195719708496,
              "lng" : 76.34815081970849
           }
        }
     },
     "place_id" : "ChIJe86clpYMCDsRUvgUaE8k3LU",
     "types" : [ "street_address" ]
  }, 
.............
............

latlng输入:latlng = 10.005356,76.346065

latlng从地理编码返回

“lat”: 10.0005447 ,“lng”: 76.34949979999999

有没有办法提高反向地理编码的位置返回的准确性

0 个答案:

没有答案