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
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)
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 andgeometries_from_X
functions have been renamed thefeatures
module andfeatures_from_X
functions. Use these instead. Thegeometries
module and function names are deprecated and will be removed in a future release. buildings = ox.geometries_from_place(place_name, tags)