简体   繁体   English

诺基亚HERE API上的街道名称一词匹配

[英]One-word-of-the-street-name matching on Nokia HERE API

Although similar but not exactly the same problem as How to return results for incomplete strings on Nokia Here Maps API? 与“ 如何在Nokia Here Maps API上返回不完整字符串的结果”问题相似但不完全相同 because I am not doing incomplete strings but rather a complete word but not the whole street address. 因为我不是在输入不完整的字符串,而是在输入完整的单词,而不是整个街道地址。 Specifically, in Barcelona, if I search for the word Fortuny, 3 it finds Carrer de Fortuna but I search for Pintor Fortuny, 3 then it correctly finds me Carrer del Pintor Fortuny 具体而言,在巴塞罗那,如果我搜索的单词Fortuny的,3发现CARRER德财神 ,但我要寻找的平托尔Fortuny的,3,那么它正确地找到我CARRER德尔平托尔Fortuny的

Is there a way for the API to return me Pintor Fortuny, 3 if my search keyword is Fortuny ? API有没有办法向我返回Pintor Fortuny,如果我的搜索关键字是Fortuny 则返回3 Or at least give them both so that the user can choose? 或者至少给它们两个,以便用户可以选择?

In this case your request a complete string but still a minor part of the complete street name. 在这种情况下,您需要一个完整的字符串,但仍然是完整街道名称的一小部分。 This is not enough information for the Geocoder to find the street which you are looking for. 对于Geocoder而言,这不是足够的信息,无法找到您要寻找的街道。

During the string comparison for 'Fortuny' the shorter street name 'Carrer Fortuny' matches better than 'Carrer del Pintor Fortuny'. 在对“ Fortuny”进行字符串比较时,较短的街道名称“ Carrer Fortuny”比“ Carrer del Pintor Fortuny”更好地匹配。 You need to provide minimum 'Pintor Fortunity' for a better match. 您需要提供最小的“ Pintor Fortunity”才能更好地匹配。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM