pyGIS
pyGIS copied to clipboard
Replaced deprecated geometries module with the features module
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)