Open anastassiavybornova opened 2 weeks ago
OSMnx migration - tracking warnings
FutureWarning: 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 the v2.0.0 release. See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123
gdf = ox.geometries.geometries_from_polygon(location, poitag)
FutureWarning: The get_undirected
function is deprecated and will be removed in the v2.0.0 release. Replace it with convert.to_undirected
instead. See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123
Gu = ox.bearing.add_edge_bearings(ox.get_undirected(G))
Tracking pyproj deprecation warnings
FutureWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1 transformed_sw = pyproj.transform(p_ll, p_mt, sw.x, sw.y) # Transform NW point to equidistant
@anastassiavybornova in the meantime, if it's useful, you can install the pre-release of OSMnx 2.0.0 beta from pip if you need GeoPandas >=1.0 compatibility. The beta is at this point pretty well tested and an rc is coming shortly.
@gboeing thanks for the hint!
current versions incompatible: