Osmnx

Latest version: v1.9.3

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

Scan your dependencies

Page 1 of 12

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)
- drop Python 3.8 support (1106)
- bump minimum required numpy version to 1.21 for typing support (1133)
- improve docstrings throughout package (1116)
- improve logging and warnings throughout package (1125)
- improve error messages throughout package (1131)
- refactor features module for speed improvement and memory efficiency (1157)
- 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 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)
- allow analysis of MultiDiGraph directional edge bearings and orientation (1139)
- 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)
- 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.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)

1.9.0

- add endpoint_attrs argument to simplification.simplify_graph function to flexibly relax strictness (1117)
- fix a bug in the features module's polygon handling (1104)
- update obsolete numpy random number generation (1108)
- make deprecation warnings FutureWarnings (1124)
- update warning messages to note that deprecated code will be removed in v2.0.0 (1111)
- deprecate strict argument in simplification.simplify_graph function in favor of new endpoint_attrs argument (1117)
- deprecate north, south, east, west arguments throughout package in favor of bbox tuple argument (1112)
- deprecate return_coords argument in graph.graph_from_address function (1105)
- deprecate return_hex argument in plot.get_colors function (1109)
- deprecate address, point, network_type, edge_color, and smooth_joints arguments in plot.plot_figure_ground function (1121)

1.8.1

- fix a bug arising from the save_graph_xml function (1093)
- warn user if their query area is significantly larger than max query area size (1101)
- refactor utils_geo module and deprecate quadrat_width and min_num function arguments (1100)
- under-the-hood code clean-up (1092 1099 1103)

Page 1 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.