trufi-association / trufi-core

Trufi - A Flutter app for Public Transportation
https://www.trufi-association.org
GNU General Public License v3.0
92 stars 45 forks source link

The search result displays two result with the same name. #687

Open AnivlisLuz opened 10 months ago

AnivlisLuz commented 10 months ago

Bug description

When a place name is searched as destination, in the "Search result" section there is two option with thw same name, but they are not the same, One of them is from Quillacollo and the other one is from Cochabamba, So we need to more information to distinguish one from the other

Severity :white_large_square: Low: Minimal impact, such as cosmetic bugs that do not affect the functionality or usability of the system. :white_check_mark: Medium: Cause inconvenience or annoyance, with temporary workarounds available. :white_large_square: High: Limit key system functions, with possible temporary workarounds available. :white_large_square: Critical: Cause a complete or severe system outage with no workarounds.

Steps to Reproduce

  1. Open the app
  2. Select "Select origin" label in top bar.
  3. Type an place name, e.g. Place name: Cine Center
  4. See error

Current Result

There is two result with the same place name.

Expected result

Just should have a kind of result taht match with the searched place

Attachments

3_iOS

Environment

Workaround

Choose one option and see if it is the one that we wanted to find.

Additional information Suggestion: We could add an extra description, with a query in Overpass about the administrative address. TC-264

GustavoTCh commented 10 months ago

@AnivlisLuz I tested, and each "Cine center" has a different location, the first is Quillacollo, and the other is Cercado. I reviewed the data: 1: Quillacollo -> ["Cine Center",[],{},[-66.1506307,-17.3807717],null,"public_transport:platform"] 2: Cercado -> ["Cine Center",[],{},[-66.2732534,-17.3928064],null,"amenity:cinema"]

We need to review the "search.json" generator in repository I can't do anything from the frontend app.

GustavoTCh commented 10 months ago

@SamuelRioTz Could you review the repository please.

AnivlisLuz commented 10 months ago

We decided to use photon to solve the issue.