[OSM-talk] Name finder and home page search working again
Stefan Baebler
stefan.baebler at gmail.com
Thu Mar 27 09:07:55 GMT 2008
On Thu, Mar 27, 2008 at 12:55 AM, David Earl <david at frankieandshadow.com> wrote:
> On 26/03/2008 19:31, OJ W wrote:
> > Is it doing anything with the multilingual names in OSM (name:de=... and
> > similar)?
> Yes, that should have been on my list in the previous message.
> This always was included. e.g. try searching for Cologne and Köln (or Koln)
Venice in Italy has name:sl=Benetke
Italy has name:sl=Italija
Searching either for "benetke" or "italija" works as expected.
searching for "benetke, italija" (sl, sl) fails miserably - returning
empty page.
However searching for "benetke, italy" (sl, en) or "benetke, italia"
(sl, it) works flawlessly.
how exactly is the context determined?
a) is_in tag on the node, thus requiring additional (imo redundant)
is_in:sl="Italija, Evropa" tag on Venice
b) closeness of the nodes (might be ok for cities, but countries vary
a lot in size)
c) inclusion in a context polygon (country, city)
Similar problem is with "dunaj, avstrija" (sl, sl) = "vienna, austria"
(en, en) = "wien, osterreich" (de, de)
Perhaps matches in the same language should be ranked higher than
matches fro mmixed languages
Bigger entities should also be ranked higher (continent > country >
city > town > village > street ...) if no difference in context is
found
Try searching for "europe" or "austria". For the latter unique
"avstrija" (sl) gives far better results :)
Performance is much better than yesterday!
greets,
Stefan
More information about the talk
mailing list