[OSM-talk-nl] Announce search box with result suggestions
F. Heinen
f.heinen.nl at gmail.com
Tue Nov 16 21:36:04 UTC 2010
Hey Martijn,
I hope I can give some constructive criticism:
The idea is perfect but it does not help for me (at this alpha stage). It
even is worse to be honest then without suggestions.
I'll explain why. When you type a word and at the first characters you see
already results.
These results don't give any good options, yes they match the typed
characters but not the result you like to have.
Try Amsterdam. Only at Amsterda then it suggested that you want Amsterdam.
But in Holland you'd like already with Amst
that it suggest Amsterdam and Amstelveen etc. 99% sure you don't want "Grove
Ct, Lisletown, Fayette, Kentucky, United States of America". :)
So IMHO we need the following:
[brainstorm mode]
- Give points for each search on a string which gives an result. Give
suggestions based on all that has more then 1 point sorted on points
descending. (life time of a point is smth like 60 days)
- Give suggestions based on your country. So IMO make a formula for search
points of foreign countries vs your current country (based on your IP). Smth
like:
search_suggestions = max ( descending ( current country suggestions +
surrounding_country suggestions / 2 + other countries / 5 ) ; 10)
[/brainstorm mode]
In this way the system then will work is that the good & best & top results
in your country are shown with the best & top ones in the surrounding
countries and only the top ones in the world.
This is most likely the result you like. Now you see very nice towns in
China but for sure you will never want these _here_ in the Netherlands as a
result but for sure if you are in (the right part of) China.
Regards,
Frenzel
2010/11/5 Martijn van Exel <m at rtijn.org>
> Hi all,
>
> The lack of "auto-complete" or search suggestions like you see in for
> example Google (maps) and the OSM wiki search box has been bugging me for a
> while. So I created a prototype based on the Nominatim API and the Google
> Closure JS framework. There's a lot of things it won't do yet, but it's a
> decent first step.
>
> Give it a try, I will put the source in SVN if you want to get your hands
> dirty with this.
>
> http://lima.schaaltreinen.nl/mvexel/nominatim/
>
> Best,
> Martijn
>
> martijn van exel +++ m at rtijn.org
> laziness - impatience - hubris
> http://schaaltreinen.nl/
> twitter / skype: mvexel
> flickr: rhodes
>
> _______________________________________________
> Talk-nl mailing list
> Talk-nl at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-nl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-nl/attachments/20101116/3845e15f/attachment.htm>
More information about the Talk-nl
mailing list