地理编码不显示subpremise地址巴西

时间:2015-09-14 01:24:55

标签: geocode

如何在谷歌地理编码中收集建筑物的房间号信息? 在我的搜索中不显示。 SUBPREMISE

示例地址:rua joao samaha 1385,sala 403 bl 02 sao joao batista,belo horizo​​nte,MG,Brazil。

https://maps.googleapis.com/maps/api/geocode/json?address=

1 个答案:

答案 0 :(得分:0)

我是国际地址验证API提供商SmartyStreets的开发人员。这是我们在该地址上的组件信息:

[
   {
      // preceding data omitted
      "components":{
         "administrative_area":"MG",
         "building":"Bloco 02",
         "dependent_locality":"São João Batista (Venda Nova)",
         "country_iso_3":"BRA",
         "locality":"Belo Horizonte",
         "postal_code":"31520-100",
         "postal_code_short":"31520-100",
         "premise":"1385",
         "premise_number":"1385",
         "thoroughfare":"Rua João Samaha",
         "thoroughfare_name":"Joao Samaha",
         "thoroughfare_type":"Rua",
         "building_leading_type":"Bloco",
         "sub_building_type":"Sala",
         "sub_building_number":"403"
      },
      // remaining data omitted
   }
]

这些信息有帮助吗?

https://smartystreets.com/docs/international#components