Re: [OSM-dev] nominatim-like wildcard search

2012-08-29 Thread Per Eric Rosén
Thanks. Of course there is no idea implementing it against current Nominatim, if it doesn't support partial names. Neither doing it with Overpass and client-side sorting may be the most efficient solution. Until Nominatim 2 is ready, I'll probably (this afternoon perhaps) hack together some ut

Re: [OSM-dev] nominatim-like wildcard search

2012-08-29 Thread Sarah Hoffmann
Hi Per, this topic seems to come up frequently lately and I'm actually glad you asked before going off implementing something. So forgive me if I jump in with a more general remark on the topic. On Wed, Aug 29, 2012 at 12:26:02PM +0200, Per Eric Rosén wrote: > I'm trying to build a autocompletio

Re: [OSM-dev] nominatim-like wildcard search

2012-08-29 Thread Roland Olbricht
> For exempel "Bre*" would return "Bremen", "Brenner" etc. I will limit my > queries by bbox, You can use Overpass API: E.g. http://overpass-api.de/api/interpreter?data=(rel[name~"^Bre"](50.6,7.0,50.8,7.3);way[name~"^Bre"](50.6,7.0,50.8,7.3);node[name~"^Bre"](50.6,7.0,50.8,7.3););out; gives all el

[OSM-dev] nominatim-like wildcard search

2012-08-29 Thread Per Eric Rosén
Hi! I'm trying to build a autocompletion name lookup for a HTML5-based cycle map. Is there any API where you can make wildcard nominatim-style lookups? For exempel "Bre*" would return "Bremen", "Brenner" etc. I will limit my queries by bbox, but other sorting and limiting, like sorting by dis