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 732316 - Use population data to order search results
Use population data to order search results
Status: RESOLVED OBSOLETE
Product: libgweather
Classification: Core
Component: general
3.12.x
Other Linux
: Normal normal
: future
Assigned To: libgweather-maint
libgweather-maint
Depends on:
Blocks:
 
 
Reported: 2014-06-27 08:13 UTC by Nick Richards
Modified: 2021-06-09 21:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nick Richards 2014-06-27 08:13:39 UTC
A search for 'london' returns,

London - Kiribati
London - (Heathrow Airport)
London - (another duplicate UK result)
London - (another duplicate UK result)
London - Ontario, Canada
London - Kentucky, United States

Results should instead be ordered by population which is more likely to be useful to a prospective user, which would put the 1,829 people of London, Kiribati at the bottom of the results.

Freebase has some accurate and up to date machine readable sources for population data (queries on http://www.freebase.com/location/statistical_region/population) or we could go with a crude approach to whitelist really large places.
Comment 1 Bastien Nocera 2014-07-04 09:06:59 UTC
See bug 732729
Comment 2 Giovanni Campagna 2014-08-01 10:12:14 UTC
I'm happy to accept a patch that adds rough population values to the Locations xml database, or even better a scripts that retrieve those values from somewhere.
I'm not going to do any work on this myself though.
Comment 3 GNOME Infrastructure Team 2021-06-09 21:06:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgweather/-/issues/126.