Skip to content

Commit

Permalink
Merge pull request #1135 from gboeing/xml
Browse files Browse the repository at this point in the history
Improve OSM XML file saving
  • Loading branch information
gboeing authored Mar 2, 2024
2 parents 6f89cd6 + 9cbbf68 commit f13b679
Show file tree
Hide file tree
Showing 16 changed files with 560 additions and 617 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
- id: validate-pyproject

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.2.1"
rev: "v0.2.2"
hooks:
- id: ruff
args: [--fix]
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ Read the v2 [migration guide](https://github.com/gboeing/osmnx/issues/1123)
- improve docstrings throughout package (#1116)
- improve logging and warnings throughout package (#1125)
- improve error messages throughout package (#1131)
- refactor save_graph_xml function and \_osm_xml module for a >5x speed improvement and bug fixes (#1135)
- remove settings module's osm_xml_node_attrs, osm_xml_node_tags, osm_xml_way_attrs, and osm_xml_way_tags settings (#1135)
- remove save_graph_xml function's node_tags, node_attrs, edge_tags, edge_attrs, merge_edges, oneway, api_version, and precision parameters (#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)
- make optional function parameters keyword-only throughout package (#1134)
- make dist function parameters required rather than optional throughout package (#1134)
- make which_result function parameter consistently able to accept a list throughout package (#1113)
Expand Down
1 change: 1 addition & 0 deletions environments/docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ typeguard
types-requests

# linting/testing
lxml
nbdime
nbqa
pre-commit
Expand Down
Loading

0 comments on commit f13b679

Please sign in to comment.