organicmaps / organicmaps

🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Please donate to support the development!
https://organicmaps.app
Apache License 2.0
8.58k stars 837 forks source link

Rewording of Category: Hotel #7922

Open patepelo opened 2 weeks ago

patepelo commented 2 weeks ago

The proposal is to rename "Hotel" Category to "Accommodation" Rationale: Current category search includes more than only hotels and this word would accommodate better.

Origin:

I propose to merge this PR without category_hotel.

Then make/discuss new PR with better categories/wording.

Originally posted by @vng in https://github.com/organicmaps/organicmaps/issues/7785#issuecomment-2053785897

biodranik commented 2 weeks ago

This is a good idea. @vng would it be hard to show some sub-hints when a parent category is typed? E.g. to show the blue suggestion "Hotels" that will find only hotels if a user typed "accommodation"?

pastk commented 2 weeks ago

This is a good idea. @vng would it be hard to show some sub-hints when a parent category is typed? E.g. to show the blue suggestion "Hotels" that will find only hotels if a user typed "accommodation"?

It'll be useful for many cases indeed, but it'll require extending the categories.txt format to store lists of associated categories.

pastk commented 2 weeks ago

It's possible to treat all types included into a category as "associated searches", e.g. show hotel, motel, guest house, resort etc. for the "accomodation" search, but this list could be too specific and too long and hence not useful.