Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Lesson 3 - Retrieving OpenStreetMap data with osmnx #10

Open
muxevola opened this issue Jun 8, 2020 · 1 comment
Open

Lesson 3 - Retrieving OpenStreetMap data with osmnx #10

muxevola opened this issue Jun 8, 2020 · 1 comment

Comments

@muxevola
Copy link

muxevola commented Jun 8, 2020

The below command:

buildings = ox.buildings_from_place(place_name)

Is failing with the below error:

module 'osmnx' has no attribute 'buildings_from_place'

I had to use this instead:

buildings = ox.footprints_from_place(place_name)

NOTE: it seems .buildings_from_place() was removed in v10.

@VuokkoH
Copy link

VuokkoH commented Jun 9, 2020

Hi, yes indeed.

Please note that this repository is an old version of the course. You can find most up-to-date materials under the site-repo (https://autogis.github.io/).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants