pyGIS icon indicating copy to clipboard operation
pyGIS copied to clipboard

Replaced deprecated geometries module with the features module

Open namdude0373 opened this issue 1 year ago • 0 comments

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)

namdude0373 avatar Sep 03 '23 23:09 namdude0373