<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 18, 2018 at 12:53 PM, Maarten Deen <span dir="ltr"><<a href="mailto:mdeen@xs4all.nl" target="_blank">mdeen@xs4all.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2018-02-18 19:28, Tom Hughes wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 18/02/18 18:04, Paul Johnson wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  OK, so what can we do about this problem?  For example, go to Jenks, Oklahoma.  Search for Walmart.  First result isn't the Walmart Neighborhood Market across the street from the Riverside Market shopping center.  It's not even the Walmart Supercenter across from Oral Roberts University.  Or even the Walmart Neighborhood Market further from downtown Jenks, but still in Jenks, over by Haddington Heights.  The results instead are in Sunset Harbor, Florida; Saint Louis, Missouri; Tallahassee, Florida, El Paso, Texas; and Fairbanks, Alaska.<br>
<br>
I get that if you get specific and actually type "Walmart jenks" in, you get the one in Haddington Heights, and then the one in Glenpool, Oklahoma (slightly odd for that one, but not entirely unreasonable).  But this isn't what most people are going to do.  I also get that the homepage isn't /meant/ to be used as the product itself, just a demonstration, but we really should be putting our best foot forward there.<br>
</blockquote>
<br>
I can't comment about how the algorithm works because I don't know<br>
anything about it. I'm just saying that we do tell it the viewbox<br>
</blockquote>
<br></span>
It appears to me that the bounding box is used when searching places (towns, cities) or streets, but not when searching objects like shops or restaurants.<br>
For instance, searching for a McDonald's always gives me the McDonald's at 1351, George Dieter Drive, El Paso City, El Paso County, Texas, 79936, Verenigde Staten van Amerika</blockquote><div><br></div><div> Keen ask.  I think a <i>lot</i> of the complaints regarding Nominatim that have come up could be fixed by using the bounding box context for all items.  I may have incorrectly opened an <a href="https://github.com/osmandapp/Osmand/issues/5036">Osmand bug</a> on the assumption Nominatim was consistently using the geocontext for all results.</div></div></div></div>