Osmnx

Latest version: v1.9.3

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

Scan your dependencies

Page 4 of 12

1.2.1

- fix rate limit checking and pausing on newest versions of Overpass API
- allow add_edge_lengths function to be run on a subset of edges
- resolve pandas deprecation warning

1.2.0

- add ability to load GraphML string data to the load_graphml function
- add "reversed" edge attribute to support node-order-dependent edge attributes
- add new edge_color and edge_linewidth arguments to plot_footprints function
- fix nearest_edges function selecting arbitrary edge when bounding boxes overlap
- fix get_digraph function's parallel edge handling
- fix pandas and geopandas version compatibility
- fix log output appearing in Jupyter notebooks on Unix-like systems
- remove old functions and arguments previously deprecated in v1.1
- deprecate utils.config function in favor of using settings module directly

1.1.2

- fix geocoding when no geojson is returned
- fix graph simplification to properly handle travel_time edge attributes
- fix streets per node not being calculated when clean_periphery=False
- allow user-defined aggregation function when imputing missing edge speeds
- allow user to configure requests package keyword arguments when connecting to APIs
- faster graph projection by calculating UTM zone number with a computationally cheaper method
- improve efficiency of quadrat-based geometry cutting
- fall back on google dns resolution when necessary if using a proxy
- move count_streets_per_node function to stats module
- resolve shapely and geopandas deprecation warnings

1.1.1

- fix overpass status endpoint checks with explicit IP address resolution
- fix slot management on local overpass instances by optionally disabling rate limiting
- parallelize shortest_path calculation for multiple origins/destinations

1.1.0

- add graph-constrained spatial sampling function
- add add_node_elevations_raster function to add node elevations from local raster file(s)
- add add_node_elevations_google function and deprecate old add_node_elevations function
- add faster streamlined nearest_nodes and nearest_edges functions to distance module
- deprecate old get_nearest_node, get_nearest_nodes, get_nearest_edge, and get_nearest_edges
- add utils_geo.interpolate_points function and deprecate redistribute_vertices in favor of it
- add vectorized calculate_bearing function and deprecate get_bearing in favor of it
- expose individual street network stats functions in stats module
- deprecate the extended_stats function in stats module
- add network orientation and entropy stats functions to bearing module
- add plot_orientation function to bearing module to polar histograms of graph edge bearings
- add route_linewidths parameter to plot_graph_routes function
- handle relations of type "boundary" in geometries module
- multi-index GeoDataFrames returned from geometries module by element type and osmid
- ensure all nodes have integer IDs after graph intersection consolidation
- vectorize add_edge_lengths, add_edge_grades, and add_edge_bearings functions
- improve save_graph_xml speed
- improve geocoder module error messages
- improve handling of node geometry when converting graph to/from GeoDataFrames
- fix network_type filters allowing ways tagged "bus_guideway"
- fix handling of boolean type conversion in load_graphml
- fix truncate_graph_dist retaining unreachable nodes
- fix bug in consolidate_intersections when pygeos is installed
- move add_edge_lengths function from utils_graph to distance module
- remove descartes dependency in line with geopandas

1.0.1

- fix network_type filters allowing ways tagged "planned"
- fix "drive" network_type allowing some alleys
- fix intersection consolidation for compatibility with v1.0 node ids/indexing
- fix python 3.6 compatibility
- deprecate folium polyline styling arguments

Page 4 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.