[Bug 740884] Re: "Location" auto-complete menu often offers duplicate suggestions

Sergio Benjamim sergio_br2 at yahoo.com.br
Sun Jul 15 04:33:05 UTC 2012


http://geoname-lookup.ubuntu.com/?query=Rio%20de%20Janeiro returns:

[{"name" : "São Sebastião do Rio de Janeiro", "admin1" : "Rio de Janeiro", "country" : "Brazil", "longitude" : "-43.207500", "latitude" : "-22.902780" }, 
{"name" : "São Sebastião de Rio de Janeiro", "admin1" : "Rio de Janeiro", "country" : "Brazil", "longitude" : "-43.207500", "latitude" : "-22.902780" }, 
{"name" : "Ciutat de Rio de Janeiro", "admin1" : "Rio de Janeiro", "country" : "Brazil", "longitude" : "-43.207500", "latitude" : "-22.902780" },
 {"name" : "Río de Xaneiro - Rio de Janeiro", "admin1" : "Rio de Janeiro", "country" : "Brazil", "longitude" : "-43.207500", "latitude" : "-22.902780" }, 
{"name" : "Rio de Janeiro", "admin1" : "Rio de Janeiro", "country" : "Brazil", "longitude" : "-43.207500", "latitude" : "-22.902780" }, {"name" : "Vila Rio de Janeiro", "admin1" : "São Paulo", "country" : "Brazil", "longitude" : "-46.541940", "latitude" : "-23.446760" }]


There aren't "Ciutat de Rio de Janeiro", "Rio de Xaneiro" or "São Sebastião do Rio de Janeiro". See in http://pt.wikipedia.org/wiki/Anexo:Lista_de_munic%C3%ADpios_do_Brasil#R

"Vila Rio de Janeiro" is not a city, it is a neighborhood of Guarulhos
City (near São Paulo). Take a look at "-23.446760, -46.541940" in Google
maps. This does not need to be in the database.

Rio de Janeiro could be like this:

{"name" : "Rio de Janeiro", "admin1" : "Rio de Janeiro", "country" :
"Brazil", "longitude" : "-43.207500", "latitude" : "-22.902780" }

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/740884

Title:
  "Location" auto-complete menu often offers duplicate suggestions

Status in The Date and Time Indicator:
  Fix Released
Status in Ubuntu Geonames:
  Confirmed
Status in “indicator-datetime” package in Ubuntu:
  Fix Released
Status in “ubiquity” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: indicator-datetime

  indicator-datetime 0.1.98-0ubuntu1, Ubuntu Natty

  1. From the clock menu, choose "Time & Date Settings..."
  2. Click "Unlock to change these settings".
  3. In the "Location" field, enter "kuala lumpur", or "wellington", or "rio de janeiro " (with a trailing space).

  What happens:
  * "kuala lumpur" returns two suggestions with the exact text "Kuala Lumpur (Kuala Lumpur, Malaysia)".
  * "wellington" returns two suggestions with the exact text "Wellington (Wellington, New Zealand)".
  * "rio de janeiro " returns three suggestions with the exact text "Rio de Janeiro (State of Rio de Janeiro, Brazil)".

  What should happen: No two suggestions should ever have exactly the
  same text, because you have no way of telling what the difference is.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-datetime/+bug/740884/+subscriptions




More information about the foundations-bugs mailing list