OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

Announcement

A fix has been applied to the login system for the forums - if you have trouble logging in please contact support@openstreetmap.org with both your forum username and your OpenStreetMap username so we can make sure your accounts are properly linked.

#1 2017-09-16 05:32:02

g246020
Member
From: Illinois
Registered: 2014-08-18
Posts: 38

Buggy Search

Search on https://www.openstreetmap.org/ seems buggy:

1) I am zoomed in to Chicago: https://www.openstreetmap.org/#map=9/41.8450/-88.2559
I search for: windmill
First search results are in England and Ireland.
The results seem to be sorted by key instead of proximity.
Would it be possible to change search to prefer current view, and allow to request extended search?

2) I added this place recently:
"Neil's Gallery Fine Art & Jewelery"
https://www.openstreetmap.org/node/5070497002

Search for: "Neil's Gallery" jumps to UK.
Full name search jumps to correct result.
Would it be possible to support partial name search?

Help link on main page kind of jumps into deep end of OSM.  Could we have a link to a section on searching, including what's supported, what not, what are OpenStreetMap Nominatim and GeoNames, and when they should be used.

Thanks!

Offline

#2 2017-09-18 04:51:40

escada
Moderator
Registered: 2011-08-13
Posts: 1,177

Re: Buggy Search

While Nominatim (the search engine behind osm.org) has a possibility to search locally, I don't know whether this is enabled from the osm.org site. I have read different opinions about that.

In case the request from osm.org to Nominatim is not made with with flag, Nominatim takes other properties into account to come to a solution. Field such as Wikidata, Wikimedia or website URLs help to increase the weight of a result

Another problem is of course that you added the name of the gallery in the operator field. This might have caused the "buggy" search.

When I search for "windmill in aartselaar" I get a result. "windmill in Chicago" does not return a result at all.

Perhaps there are no windmills mapped in Chicago, perhaps they are not mapped properly. Do you have an example of a windmill you want to see in the result ?


Nominatim is a separate service that is integrated in the osm.org website. You can access it directly at http://nominatim.openstreetmap.org/  There you find (rather technical) documentation as well.

Offline

#3 2017-09-18 10:37:25

henke54
Member
Registered: 2015-03-17
Posts: 345

Re: Buggy Search

g246020 wrote:

2) I added this place recently:
"Neil's Gallery Fine Art & Jewelery"
https://www.openstreetmap.org/node/5070497002

When i look at your node, there is no name . Maybe that is the reason ?

Offline

#4 2017-09-18 11:54:56

g246020
Member
From: Illinois
Registered: 2014-08-18
Posts: 38

Re: Buggy Search

2) I messed up with the example, unfortunately the issue is still valid.

* Another example business nearby: https://www.openstreetmap.org/node/5070497003
* Change to map view: https://www.openstreetmap.org/#map=19/3 … /-83.45056
* Search for: Hills Creek
* I have to click "More Results" 8 times before getting: "Shop Hills Creek, Glades Road, Gatlinburg, Sevier County, Tennessee, 37738, United States of America"

Offline

#5 2017-09-18 12:25:11

g246020
Member
From: Illinois
Registered: 2014-08-18
Posts: 38

Re: Buggy Search

Escada, is there a keyword to trigger search that would pass the "prefer local results" flag?

My sample windmill: http://www.openstreetmap.org/node/5006420387
I just updated it, so it has all fields to increase result weight.

Note the windmill is not within Chicago boundaries, only nearby. 
I tried "windmill near Chicago", that didn't work.

Offline

#6 2017-09-18 22:09:29

SimonPoole
Member
Registered: 2010-03-14
Posts: 1,324

Re: Buggy Search

@g246020 what does this have to do with editors? And, very simple solution, what about reading the documentation? ->  http://wiki.openstreetmap.org/wiki/Nominatim

Offline

#7 2017-09-19 03:47:55

g246020
Member
From: Illinois
Registered: 2014-08-18
Posts: 38

Re: Buggy Search

@SimonPoole, sorry I miscategorized the question.

To rephase what I said earlier, openstreetmap.org should pass "viewbox=<left>,<top>,<right>,<bottom>" parameter to Nominatim.

Offline

#8 2017-09-19 04:52:20

escada
Moderator
Registered: 2011-08-13
Posts: 1,177

Re: Buggy Search

please read this thread from 2015: https://lists.openstreetmap.org/piperma … 75195.html
I don't remember the outcome back then. Especially pay attention to whatever Sarah Hoffmann (Nominatim developer) and Tom Hughes (OSM sysop) write.

Offline

#9 2017-09-19 14:59:51

g246020
Member
From: Illinois
Registered: 2014-08-18
Posts: 38

Re: Buggy Search

@Escada, thank you very much for digging it out.  It took me an hour and couple coffee refills to get through that internet democracy in action... smile

My summary of that thread:
Developers are working on other priorities and also have other considerations how search results should be prioritized (extra weight for wikipedia, wikidata links).
Search can used for both for geographic places and POI and some of the requirements conflict comes from that.

Offline

Board footer

Powered by FluxBB