[search] Searching for "water" miss many water source types - important for hiking use #1621
Labels
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
2 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#1621
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
"water" search result only in
type.natural.water.*
like "water", "lake", "reservoir".But it doesn't result (neither in the list, nor on the map) in "drinking water", "water tap", "spring", "water well", "drinking fountain" types.
Likewise, searching for e.g. "drinking water" will not show "water tap", "spring" etc.
For hiking use its really important to be able to search for all available water sources around.
Maybe we need to maintain a list of synonims for some popular/important search terms?
(it'll be great to distinguish between potable/non-potable water as well by maybe using different icons - but that's a further improvement, first thing a search needs to be fixed)
The list of synonyms is defined in data/categories.txt
I propose following changes. Its mainly targeted to outdoors use, but will be an improvement for urban use as well.
Add "Water" to the "categories" list in search screen (in the bottom of the list, in between Entertainment and Hospital maybe).
That "Water" search shall result in all water sources with a likely drinkable water:
Bigger bodies of water like rivers, lakes, ponds etc. should not be included as they are quite big and obvious terrain features on the map anyway (it'll be possible to search for them using their own terms like "lake" still).
A search for "drinking/potable water" shall result in
amenity=drinking_water
only.As I understand we don't have a drinking_water=* attribute available in OM map files? If we do, then we can add other types with a
drinking_water=yes
to this search.I don't think that the "water" search should result in confirmed drinkable (
amenity=drinking_water
) sources only, becauseI'll prep the changes in
categories.txt
.Feedback?
@biodranik
Approved.