Hello, 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...
http://nominatim.openstreetmap.org/search?q=San+Francisco&format=json&limit=1&json_callback=geocodeResult&countrycodes=us http://nominatim.openstreetmap.org/search?q=San+Francisco&format=json&limit=2&json_callback=geocodeResult&countrycodes=us http://nominatim.openstreetmap.org/search?q=San+Francisco&format=json&limit=3&json_callback=geocodeResult&countrycodes=us ...on the other hand, searching for "Chicago" for limit=1 then 2 then 3, I get the expected number of results... http://nominatim.openstreetmap.org/search?q=Chicago&format=json&limit=1&json_callback=geocodeResult&countrycodes=us<http://nominatim.openstreetmap.org/search?q=Chicago&format=json&limit=2&json_callback=geocodeResult&countrycodes=us> http://nominatim.openstreetmap.org/search?q=Chicago&format=json&limit=2&json_callback=geocodeResult&countrycodes=us http://nominatim.openstreetmap.org/search?q=Chicago&format=json&limit=3&json_callback=geocodeResult&countrycodes=us<http://nominatim.openstreetmap.org/search?q=Chicago&format=json&limit=2&json_callback=geocodeResult&countrycodes=us> Is there a bug here or something I am not understanding? Any advice much appreciated. Jason
_______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

