mmann1123 / pyGIS

pyGIS is an online textbook covering all the core geospatial functionality available in Python. This includes handling vector and raster data, satellite remote sensing, machine learning and deep learning applications. -- Under Development --
Other
173 stars 29 forks source link

Replaced deprecated geometries module with the features module #59

Closed namdude0373 closed 2 weeks ago

namdude0373 commented 1 year ago

The geometries module has been deprecated: https://osmnx.readthedocs.io/en/stable/user-reference.html#osmnx.geometries.geometries_from_place

Running the current code snippet using the geometries module prints the following text in the console:

UserWarning: The geometries module and geometries_from_X functions have been renamed the features module and features_from_X functions. Use these instead. The geometries module and function names are deprecated and will be removed in a future release. buildings = ox.geometries_from_place(place_name, tags)