2010-11-13 85 views
0

任何人都知道,如果Google地图地理编码服务能够返回包含以搜索字词开头的搜索结果的搜索结果,那么搜索结果会与搜索字词完全匹配?谷歌地图地理编码 - 通配符搜索完全匹配

这里是我的榜样

在澳大利亚,如果我搜索术语“低音”,我得到一个确切的结果,因为有一个镇叫澳大利亚巴斯。但我也想包括任何其他可能以巴斯开始的城镇 - EG“Bass Hill”和“Bassendean”。

我还没有找到一个参考或例子 - 任何帮助将不胜感激!

回答

0

我没有看到任何方式来做到这一点。

从谷歌地理编码参考找到这个。现在

How should I format my geocoder queries to maximise the number of successful requests? 

The geocoder is designed to map street addresses to geographical coordinates. We therefore recommend that you format geocoder requests in accordance with the following guidelines to maximise the likelihood of a successful query: 

    * Specify addresses in accordance with the format used by the national postal service of the country concerned. 
    * Do not specify additional address elements such as business names, unit numbers, floor numbers, or suite numbers that are not included in the address as defined by the postal service of the country concerned. 
    * Use the street number of a premise in preference to the building name where possible. 
    * Use street number addressing in preference to specifying cross streets where possible. 
    * Do not provide 'hints' such as nearby landmarks. 

,上面给(谷歌的地理编码Web服务)是不会承担由你一些其他的输入给出的输入。它试图将您提供的输入映射到街道地址,城市,国家或其他类似的地方。