After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 734086 - Example search for "Wi-Fi Access" gives no results
Example search for "Wi-Fi Access" gives no results
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
git master
Other All
: Normal minor
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2014-08-01 00:15 UTC by Anders Jonsson
Modified: 2014-08-03 18:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Search for hotels of wifi. (1.19 KB, patch)
2014-08-03 13:32 UTC, Anders Jonsson
none Details | Review

Description Anders Jonsson 2014-08-01 00:15:42 UTC
Found in data/org.gnome.Maps.appdata.xml.in:

"You can even search for specific types of locations, such as “Pubs near
Main Street, Boston” or “Wi-Fi Access near Alexanderplatz, Berlin”."


Sadly the Wi-Fi Access example will give poor results. I got no results and thought it might be broken, but found on this page that it corresponds to the openstreetmap tag amenity=wifi  ( http://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases/EN )

A search on http://taginfo.openstreetmap.org/tags/amenity=wifi showed that there are only 115 such tagged places on the whole planet, so the chance of finding one nearby is very slim.

I therefore recommend that you replace "Wi-Fi Access" with for example "Hotels" (152 000 entries in the database) or "Restaurants" (410 000 entries) as these are much more likely to give useful results.


Furthermore it would be good to add a link to http://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases in a translation comment so the translators know what words and syntax they should use to make the Nominatim search work in their language.
Comment 1 Jonas Danielsson 2014-08-02 21:21:24 UTC
I agree, care to cook up a patch?
Comment 2 Anders Jonsson 2014-08-03 13:32:45 UTC
Created attachment 282408 [details] [review]
Search for hotels of wifi.

This searches for amenity=hotel rather than the largely unused tag amenity=wifi, and this actually gives results around Alexanderplatz, Berlin, so a user does not need to wonder if the search is broken.

Also add a link to the words used by Nominatim in different languages, helping translators to choose the correct terms used for searches in their own language.
Comment 3 Anders Jonsson 2014-08-03 13:33:34 UTC
(In reply to comment #1)
> I agree, care to cook up a patch?

Sure, what do you say about https://bugzilla.gnome.org/show_bug.cgi?id=734086#c2 ?
Comment 4 Jonas Danielsson 2014-08-03 18:44:17 UTC
Thanks! committed @282408 - Search for hotels of wifi. - none