This repository was archived by the owner on Oct 25, 2024. It is now read-only.
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
Errors in the maps section of 'Earthquakes solution' page #51
Open
Description
Obtaining maps from OpenStreetMap for the earthquakes exercise solution currently doesn't work. All the output blocks in that section show errors e.g.:
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
Cell In [24], line 1
----> 1 get_map_tile_at(latitude=51.477806, longitude=-0.001472, zoom=14)
Cell In [23], line 5, in get_map_tile_at(latitude, longitude, zoom, satellite)
3 tile_url = f"http://a.tile.openstreetmap.org/{zoom}/{x}/{y}.png"
4 response = requests.get(tile_url)
----> 5 assert response.status_code == 200
6 return IPython.core.display.Image(response.content)
AssertionError:
Metadata
Metadata
Assignees
Labels
No labels