[OSM-dev] Nominatim results when limit=1
Jason Lee
jaslee.st at gmail.com
Tue Sep 11 15:33:29 BST 2012
Great! Thanks for the update Brian.
On 11 September 2012 14:40, Brian Quinion <openstreetmap at brian.quinion.co.uk
> wrote:
> > I have a service setup using the OSM Nominatim service and I have a
> query on
> > number of results returned with the "limit=" parameter. I have it set as
> 1
> > to only get the top result BUT when I search for "San Francisco" or
> "Boston"
> > (where countrycodes=us) I surprisingly got no results? I change this to
> > limit=2 and limit=3 and see that I get 1 and 2 results respectively -
> which
> > seems offset to me...
>
> I see the problem - the new code from removing duplicate places occurs
> too late in the process after the limit has already been applied.
>
> Should be an easy fix, I'll get it done and released.
>
> Thanks,
> --
> Brian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20120911/dcb82d36/attachment.html>
More information about the dev
mailing list