This repository contains Python scripts that check OSM data completeness and recency for tourism amenities in Kathmandu.
First, OSM data within a given geojson bounds is extracted using the osmnx
python library. After this, by making requests to the Overpass API, we look at the latest date at which each entity is modified. Finally, after joining these two datasets, we generate summary statisics and time series plots to understand attribute coverage and data recency.
Currently, we have performed completeness and recency analysis for the following amenities in Kathmandu:
This section describes what we have found so far regarding the state of OSM data
Amenity | Count |
---|---|
Hotels | 578 |
Guest houses | 291 |
Restaurants | 1324 |
Bars | 62 |
Nightclubs | 8 |
Cafes | 696 |
Travel and tour operators | 396 |
Amenity | name | phone | opening_hours | beds | rooms | stars | |
---|---|---|---|---|---|---|---|
Hotels | 61% | 11% | 20% | 10% | 0% | 3% | 3% |
Guest houses | 42% | 11% | 23% | 12% | 0% | 1% | 0% |
Restaurants | 60% | 4% | 14% | 14% | - | - | - |
Bars | 32% | 5% | 17% | 21% | - | - | - |
Nightclubs | 56% | 0% | 11% | 0% | - | - | - |
Cafes | 54% | 3% | 12% | 16% | - | - | - |
Travel and tour operators | 64% | 32% | 36% | 26% | - | - | - |
Amenity | Pre-covid | During the pandemic | % pre covid | % during the pandemic |
---|---|---|---|---|
Hotels | 544 | 34 | 94% | 6% |
Guest houses | 279 | 12 | 96% | 4% |
Restaurants | 1175 | 149 | 89% | 11% |
Bars | 54 | 8 | 87% | 13% |
Nightclubs | 5 | 3 | 63% | 38% |
Cafes | 589 | 107 | 85% | 15% |
Travel and tour operators | 359 | 37 | 91% | 9% |
In OSM hotels are mapped using the infrastructure tag tourism=hotel
. Here are some links around the analysis:
- IPython Notebook: this file contains both code as well as results from the analysis.
- CSV - Hotels in Kathmandu Valley: a list of hotels in Kathmandu with secondary attributes such as name, email, phone number, opening hours, and so on.
In OSM, guest houses are mapped using the infrastructure tag tourism=guest_house
. Here are some links around the analysis:
- IPython Notebook: this file contains both code as well as results from the analysis.
- CSV - Guest houses in Kathmandu Valley: a list of guest houses in Kathmandu with secondary attributes such as name, email, phone number, opening hours, and so on.
In OSM restaurants are mapped using the infrastructure tag amenity=restaurant
. Here are some links around the analysis:
- IPython Notebook: this file contains both code as well as results from the analysis.
- CSV - Restaurants in Kathmandu Valley: a list of restaurants in Kathmandu with secondary attributes such as name, email, phone number, opening hours, and so on.
In OSM cafes are mapped using the infrastructure tag amenity=cafe
. Here are some links around the analysis:
- IPython Notebook: this file contains both code as well as results from the analysis.
- CSV - Cafes in Kathmandu Valley: a list of cafes in Kathmandu with secondary attributes such as name, email, phone number, opening hours, and so on.
In OSM night clubs are mapped using the infrastructure tag amenity=nightclubs
. Here are some links around the analysis:
- IPython Notebook: this file contains both code as well as results from the analysis.
- CSV - Nightclubs in Kathmandu Valley: a list of nightclubs in Kathmandu with secondary attributes such as name, email, phone number, opening hours, and so on.
In OSM bars are mapped using the infrastructure tag amenity=bar
. Here are some links around the analysis:
- IPython Notebook: this file contains both code as well as results from the analysis.
- CSV - Bars in Kathmandu Valley: a list of bars in Kathmandu with secondary attributes such as name, email, phone number, opening hours, and so on.
In OSM travel and tour operators are mapped using the infrastructure tag shop=travel_agency
. Businesses that provide adventure experiences such as rafting, trekking, bungy jumping , etc., are also mapped under the same category. Here are some links around the analysis:
- IPython Notebook: this file contains both code as well as results from the analysis.
- CSV - Travel and tour operators: a list of travel and tour operators in Kathmandu with secondary attributes such as name, email, phone number, opening hours, and so on.