diff --git a/source/part2/chapter-09/md/00-retrieving-osm-data.md b/source/part2/chapter-09/md/00-retrieving-osm-data.md index 153074d4..60366b6c 100644 --- a/source/part2/chapter-09/md/00-retrieving-osm-data.md +++ b/source/part2/chapter-09/md/00-retrieving-osm-data.md @@ -108,7 +108,7 @@ From here we can see that our graph contains nodes (the points) and edges (the l For now, we are only interested in the geometry and attributes of the street network and will convert the streets (edges of the network) into a `GeoDataFrame` using the `osmnx` function `graph_to_gdfs()`. -```python +```python editable=true slideshow={"slide_type": ""} edges = ox.convert.graph_to_gdfs(graph, nodes=False, edges=True) edges.head(2) ``` @@ -298,7 +298,7 @@ Check your understanding and retrieve OpenStreetMap data from some other area in - Restaurants and cafes (or why not also other amenities) - Green spaces -Note, the larger the area you choose, the longer it takes to retrieve data from the API! When fetching the street network, you can use parameter `network_type=drive` to limit the graph query to filter out un-driveable roads. +Note that the larger the area you choose, the longer it takes to retrieve data from the API! When fetching the street network, you can use parameter `network_type=drive` to limit the graph query to filter out un-driveable roads. ```python editable=true slideshow={"slide_type": ""} tags=["remove_cell"] # Use this cell to enter your solution. diff --git a/source/part2/chapter-09/nb/00-retrieving-osm-data.ipynb b/source/part2/chapter-09/nb/00-retrieving-osm-data.ipynb index 35e98c9f..13321ced 100644 --- a/source/part2/chapter-09/nb/00-retrieving-osm-data.ipynb +++ b/source/part2/chapter-09/nb/00-retrieving-osm-data.ipynb @@ -398,7 +398,13 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "metadata": { + "editable": true, + "slideshow": { + "slide_type": "" + }, + "tags": [] + }, "outputs": [ { "data": { @@ -1392,7 +1398,7 @@ "- Restaurants and cafes (or why not also other amenities)\n", "- Green spaces\n", "\n", - "Note, the larger the area you choose, the longer it takes to retrieve data from the API! When fetching the street network, you can use parameter `network_type=drive` to limit the graph query to filter out un-driveable roads." + "Note that the larger the area you choose, the longer it takes to retrieve data from the API! When fetching the street network, you can use parameter `network_type=drive` to limit the graph query to filter out un-driveable roads." ] }, {