Searching for "toilet" or "bathroom" doesn't include amenity=toilets in the results #1462

Closed
opened 2021-10-24 05:56:17 +00:00 by squeak9 · 12 comments
squeak9 commented 2021-10-24 05:56:17 +00:00 (Migrated from github.com)

This seems like an oversight, currently it only shows results for toilets=yes (wiki) and not amenity=toilets (wiki) which is the tag for public toilets and not just if a feature has a toilet or not.

Please include amenity=toilets into the results.

While you're at it consider displaying information from the tags that further describes the public restroom like changing_table=*, wheelchair=*, access=customers and fee=* cause these are tags that streetcomplete users constantly contribute to the map.

This seems like an oversight, currently it only shows results for `toilets=yes` ([wiki](https://wiki.openstreetmap.org/wiki/Key:toilets)) and not `amenity=toilets` ([wiki](https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dtoilets)) which is the tag for public toilets and not just if a feature has a toilet or not. Please include `amenity=toilets` into the results. While you're at it consider displaying information from the tags that further describes the public restroom like `changing_table=*`, `wheelchair=*`, `access=customers` and `fee=*` cause these are tags that [streetcomplete users constantly contribute to the map](https://wiki.openstreetmap.org/wiki/StreetComplete/Quests#Released_quest_types).
biodranik commented 2021-10-24 06:47:38 +00:00 (Migrated from github.com)

@vng do we really ignore amenity=toilets?

@vng do we really ignore `amenity=toilets`?
vng commented 2021-10-24 10:56:39 +00:00 (Migrated from github.com)

We do search for amenity=toilets. Better to check it like "Show on map".
Current ranking in search is bad (on my opinion) and first results in list will be POIs with names and toilet=yes.
Public toilets will be at the end of the list despite of the distance. This is bad and we already have a bunch of issues with search ranking ...

We do search for amenity=toilets. Better to check it like "Show on map". Current ranking in search is bad _(on my opinion)_ and first results in list will be POIs with names and toilet=yes. Public toilets will be at the end of the list despite of the distance. This is bad and we already have a bunch of issues with search ranking ...
squeak9 commented 2021-10-24 19:28:06 +00:00 (Migrated from github.com)

Ah, you're right! They do show on the map, didn't think to check that.

They do show in the list also but you have to scroll like you said, the unnamed toiled 1km away was below the named place with toilets 50km away..

Thanks for clearing that up, hope you fix the search rankings later on but I guess that's a larger issue.

Ah, you're right! They do show on the map, didn't think to check that. They do show in the list also but you have to scroll like you said, the unnamed toiled 1km away was below the named place with toilets 50km away.. Thanks for clearing that up, hope you fix the search rankings later on but I guess that's a larger issue.
Outlet2048 commented 2021-10-24 21:07:19 +00:00 (Migrated from github.com)

While we're at it:

https://wiki.openstreetmap.org/wiki/Tag:building%3Dtoilets

Building=toilets should be added as well

That tag can be set by streetcomplete users who answer the building quest
Therefore there might be buildings tagged as toilets with no extra toilet tag added as POI inside of the buildings

Which is why I believe this tag should be included when searching for toilets

While we're at it: https://wiki.openstreetmap.org/wiki/Tag:building%3Dtoilets Building=toilets should be added as well That tag can be set by streetcomplete users who answer the building quest Therefore there might be buildings tagged as toilets with no extra toilet tag added as POI inside of the buildings Which is why I believe this tag should be included when searching for toilets
biodranik commented 2021-10-25 08:18:44 +00:00 (Migrated from github.com)

It is incorrect from the OSM point of view to show building= objects as amenity=
It would be great if streetcomplete will properly add amenity= to toilets.

It is incorrect from the OSM point of view to show building= objects as amenity= It would be great if streetcomplete will properly add amenity= to toilets.
Outlet2048 commented 2021-10-25 08:23:37 +00:00 (Migrated from github.com)

Even though it is incorrect to tag it that way, this currently seems to be the case
Wouldn't supporting the tag be an option regardless?

Even though it is incorrect to tag it that way, this currently seems to be the case Wouldn't supporting the tag be an option regardless?
biodranik commented 2021-10-25 09:15:15 +00:00 (Migrated from github.com)

Ideally, it would be great to avoid supporting incorrect tagging and fix the problem in the core instead.

Ideally, it would be great to avoid supporting incorrect tagging and fix the problem in the core instead.
Outlet2048 commented 2021-10-25 10:06:40 +00:00 (Migrated from github.com)

https://github.com/streetcomplete/StreetComplete/issues/3398
Seems like the proposal was denied by the devs

https://github.com/streetcomplete/StreetComplete/issues/3398 Seems like the proposal was denied by the devs
matkoniecz commented 2021-11-15 15:40:32 +00:00 (Migrated from github.com)

Building=toilets should be added as well

definitely no, as it includes also disused toilet buildings, private toilets (say separate toilet building on stadium inaccessible to general public and used only by players) etc.

(I am one of StreetComplete contributors)

> Building=toilets should be added as well definitely no, as it includes also disused toilet buildings, private toilets (say separate toilet building on stadium inaccessible to general public and used only by players) etc. (I am one of StreetComplete contributors)
Owner

We do search for amenity=toilets. Better to check it like "Show on map". Current ranking in search is bad (on my opinion) and first results in list will be POIs with names and toilet=yes. Public toilets will be at the end of the list despite of the distance. This is bad and we already have a bunch of issues with search ranking ...

Do we really support toilets=yes? It doesn't show up as an extension of other types in types_strings.txt like its done with some some other attributes e.g. amenity.parking.private or natural.beach.gravel

Update: we do support it via data/replaced_tags.txt: toilets=yes : amenity=toilets

> We do search for amenity=toilets. Better to check it like "Show on map". Current ranking in search is bad _(on my opinion)_ and first results in list will be POIs with names and toilet=yes. Public toilets will be at the end of the list despite of the distance. This is bad and we already have a bunch of issues with search ranking ... Do we really support [toilets=yes](https://wiki.openstreetmap.org/wiki/Key:toilets)? It doesn't show up as an extension of other types in `types_strings.txt` like its done with some some other attributes e.g. `amenity.parking.private` or `natural.beach.gravel` Update: we do support it via `data/replaced_tags.txt`: `toilets=yes : amenity=toilets`
Owner

Just to link here related issues: #1301 and #979
Upd: and #1648

Just to link here related issues: #1301 and #979 Upd: and #1648
Owner

To be done as part of #1376

To be done as part of #1376
This repo is archived. You cannot comment on issues.
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
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#1462
No description provided.