trufi-core icon indicating copy to clipboard operation
trufi-core copied to clipboard

Sorting destination list / priorities

Open amenk opened this issue 4 years ago • 3 comments

For Addis Ababa we got the following feedback:

When choosing your starting point and destination there is a drop down list of various locations under the heading places, I would recommend putting major transit hubs or landmarks at the top > of the list (eg Merkato bus station, stadium, megnanya, piazza, 4kilo, 6kilo)

Is there already a prioritization in search.json ? It's up for discussion how do implement that technically. For example we could prioritize specific OSM tags (such as place=suburb)

amenk avatar Jan 11 '20 15:01 amenk

We could add a priority column to the search data that the client can sort by. This can be calculated based on different signals, for example the place you suggested.

mdoelker avatar Jan 12 '20 19:01 mdoelker

Yes, other option would be to write the search.json as an ordered list (i.e. presorting it) -> would avoid sorting long lists in the app

amenk avatar Jan 13 '20 12:01 amenk

Right, that can be done additionally. In the long run we want to take the sqlite output for better performance and space usage, but that has not been implemented on the client side yet :)

mdoelker avatar Jan 13 '20 12:01 mdoelker

Closing this due to topic inactivity.

ValorNaram avatar Jun 23 '23 15:06 ValorNaram