Osmnx

Latest version: v2.0.1

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 12

2.0.1

- fix error message when elevation module's optional dependencies are missing (1250)
- update "walk" network_type to filter out ways whose sidewalks are mapped separately (1254)

2.0.0

Read the v2 [migration guide](https://github.com/gboeing/osmnx/issues/1123)

- add type annotations to all public and private functions throughout package (1107)
- remove all functionality previously deprecated in v1 (1113 1122 1135 1148)
- add Python 3.13 support (1223)
- drop Python 3.8 support (1106)
- bump minimum required numpy version to 1.22 for typing support (1133 1198)
- bump minimum required versions of geopandas to 1.0 and pandas to 1.4 for union_all support (1179 1198)
- replace gdal optional dependency with rio-vrt optional dependency (1203)
- improve docstrings throughout package (1116)
- improve logging and warnings throughout package (1125)
- improve error messages throughout package (1131)
- improve internal file handling context management (1226 1227)
- refactor features module for speed improvement and memory efficiency (1157 1205)
- refactor save_graph_xml function and \_osm_xml module for speed improvement and bug fixes (1135)
- make save_graph_xml function accept only an unsimplified MultiDiGraph as its input data (1135)
- replace save_graph_xml function's edge_tag_aggs tuple parameter with way_tag_aggs dict parameter (1135)
- add utils_geo.buffer_geometry helper function (1214)
- add OSM junction and railway tags to the default settings.useful_tags_node (1144)
- add node_attrs_include argument to simplification.simplify_graph function to flexibly relax strictness (1145)
- add edge_attr_aggs argument to simplify_graph function to specify aggregation behavior (1155)
- add node_attr_aggs argument to the consolidate_intersections function to specify aggregation behavior (1155)
- allow per-node tolerance values for intersection consolidation (1160)
- make consolidate_intersections function retain unique attribute values when consolidating nodes (1144)
- make which_result function parameters consistently able to accept a list throughout package (1113)
- handle implicit maxspeed values in add_edge_speeds function (1153)
- change add_node_elevations_google default batch_size to 512 to match Google's limit (1115)
- better virtual raster handling in elevation module (1236)
- use system's default start method when multiprocessing (1237)
- allow analysis of MultiDiGraph directional edge bearings and orientation (1139)
- allow graph union queries through the custom_filter argument (1204)
- fix graph projection creating useless lat and lon node attributes (1144)
- fix bug in \_downloader.\_save_to_cache function usage (1107)
- fix bug in handling requests ConnectionError when querying Overpass status endpoint (1113)
- fix minor bugs throughout to address inconsistencies revealed by type enforcement (1107 1114)
- make optional function parameters keyword-only throughout package (1134)
- make dist function parameters required rather than optional throughout package (1134)
- make utils_geo.bbox_from_point function return a tuple of floats for consistency with rest of package (1113)
- make bounding box coordinate order consistently left, bottom, right, top (1196)
- rename truncate.truncate_graph_dist max_dist argument to dist for consistency with rest of package (1134)
- remove retain_all argument from all truncate module functions (1148)
- remove settings module's deprecated and now replaced settings (1129 1136)
- rename osm_xml module to \_osm_xml to make it private, as all its functions are private (1113)
- rename private \_downloader module to \_http (1114)
- remove unnecessary private \_api module (1114)

1.9.4

- pin maximum dependency versions for remaining v1 releases
- add warning to note that the order of bounding box coordinates will change in v2

1.9.3

- update the official package reference paper (1169)
- rename network_types "all" -> "all_public" and "all_private" -> "all" for clarity (1164)
- deprecate the obsolete "all_private" network_type name (1164)

1.9.2

- deprecate and replace settings module's default_accept_language, default_referer, and default_user_agent settings (1138)
- deprecate and replace settings module's memory, nominatim_endpoint, overpass_endpoint, and timeout settings (1138)
- deprecate save_graph_xml function's renamed or obsolete parameters (1138)
- deprecate graph_from_xml tags and polygon function parameters (1146)
- deprecate simplify_graph function's endpoint_attrs argument and replace it with edge_attrs_differ (1146)
- deprecate utils_graph.get_digraph function and replace it with covert.to_digraph function (1146)
- deprecate utils_graph.get_undirected function and replace it with covert.to_undirected function (1146)
- deprecate utils_graph.graph_to_gdfs function and replace it with covert.graph_to_gdfs function (1146)
- deprecate utils_graph.graph_from_gdfs function and replace it with covert.graph_from_gdfs function (1146)
- deprecate utils_graph.remove_isolated_nodes function (1156)
- deprecate utils_graph.get_largest_component function and replace it with truncate.largest_component function (1146)
- deprecate utils_graph.route_to_gdf function and replace it with routing.route_to_gdf function (1146)
- deprecate speed module and move all of its functionality to the routing module (1146)

1.9.1

- fix deprecation warning in simplification.simplify_graph function (1126)

Page 1 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.