diff --git a/source/lessons/L3/retrieve-osm-data.rst b/source/lessons/L3/retrieve-osm-data.rst index ea3f317..a423ba1 100644 --- a/source/lessons/L3/retrieve-osm-data.rst +++ b/source/lessons/L3/retrieve-osm-data.rst @@ -70,13 +70,13 @@ Great! Now we can see that our graph contains the nodes (blue circles) and the e It is also possible to retrieve other types of OSM data features with osmnx. -- Let's download the buildings with ``buildings_from_place()`` function and plot them on top of our street network in Kamppi. Let's also plot the Polygon that represents the area of Kamppi, +- Let's download the buildings with ``footprints_from_place()`` function from OSM's ``footprints`` module and plot them on top of our street network in Kamppi. Let's also plot the Polygon that represents the area of Kamppi, Helsinki that can be retrieved with ``gdf_from_place`` function. .. ipython:: python area = ox.gdf_from_place(place_name) - buildings = ox.buildings_from_place(place_name) + buildings = ox.footprints.footprints_from_place(place_name, footprint_type='building') type(area) type(buildings)