-
Notifications
You must be signed in to change notification settings - Fork 15
Description
The current mapping of OSM tags used to locate leisure facilities does not match exactly the definition of leisure in the mobility surveys.
We map the leisure motive in Mobility to leisure motives in the mobility surveys here :
mobility/mobility/motives/leisure.py
Line 165 in 74f2f5f
| Field(default_factory=lambda: ["7.71", "7.72", "7.73", "7.74", "7.75", "7.76", "7.77", "7.78"]), |
These survey ids are documented here:
mobility/docs/source/definitions.md
Lines 58 to 66 in 74f2f5f
| | 7 | LOISIRS | | |
| | 7.71 | Activité associative, cérémonie religieuse, réunion | | |
| | 7.72 | Aller dans un centre de loisirs, parc d'attraction, foire | | |
| | 7.73 | Manger ou boire à l'extérieur du domicile | | |
| | 7.74 | Visiter un monument ou un site historique | | |
| | 7.75 | Voir un spectacle culturel ou sportif (cinéma, théâtre, concert, cirque, match) | | |
| | 7.76 | Faire du sport | | |
| | 7.77 | Se promener sans destination précise | | |
| | 7.78 | Se rendre sur un lieu de promenade | |
The OSM tags used are defined here:
mobility/mobility/parsers/leisures_frequentation.py
Lines 4 to 61 in 74f2f5f
| LEISURE_MAPPING = { | |
| # French variants / lexical variants | |
| "parc": "park", | |
| "citypark": "park", | |
| "centre_de_loisirs": "sports_centre", | |
| "terrain de boules": "miniature_golf", | |
| # Spelling variations and common typos | |
| "pingpong": "table_tennis_table", | |
| "sport_center": "sports_centre", | |
| "sport_centre": "sports_centre", | |
| "sport_hall": "sports_hall", | |
| "lake_bath": "bathing_place", | |
| "flussbad": "bathing_place", | |
| # Combined values | |
| "miniature_golf;trampoline_park;sports_centre": "miniature_golf", | |
| "sports_centre;pitch": "sports_centre", | |
| "sports_centre;jump_park": "sports_centre", | |
| "swimming_pool;ice_rink": "swimming_pool", | |
| "swimming_pool;sports_centre": "swimming_pool", | |
| # Escape game variants | |
| "laser_game": "escape_game", | |
| "lasertag": "escape_game", | |
| "escape game": "escape_game", | |
| # Spa / sauna / wellness | |
| "spa": "sauna", | |
| "healthspa": "sauna", | |
| "thalasso": "sauna", | |
| "thalassotherapy": "sauna", | |
| # Out-of-scope or useless values → removed | |
| "building": None, | |
| "parking": None, | |
| "forest": None, | |
| "footway": None, | |
| "construction": None, | |
| "vacant": None, | |
| "proposed": None, | |
| "natural": None, | |
| "garss": None, | |
| "grass": None, | |
| "dr": None, | |
| "fes": None, | |
| "check": None, | |
| "spot": None, | |
| "island": None, | |
| "refuge": None, | |
| "detention": None, | |
| "hostel": None, | |
| "tourism": None, | |
| "boat": None, | |
| "coworking_space": None, | |
| "association": None, | |
| "music": None, | |
| } |
I think we mostly match sport facilities (motive 7.76) for now?
We should probably add more OSM tags to the mapping ?
The long term solution should probably be to split the global leisure motive into more specific ones, so that we separate restaurant and bars from spectacles for example ?