Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSMnx 2.0 Migration Guide #1123

Open
gboeing opened this issue Jan 31, 2024 · 0 comments
Open

OSMnx 2.0 Migration Guide #1123

gboeing opened this issue Jan 31, 2024 · 0 comments

Comments

@gboeing
Copy link
Owner

gboeing commented Jan 31, 2024

Overview

OSMnx v2.0.0 is targeted for release later in 2024. This major release includes some breaking changes (including removing previously deprecated functionality) that are not backwards compatible with v1. This issue provides guidance on migrating from v1 to v2. It will be updated as more details are finalized.

Migrating to v2

To ensure your code is fully compatible with OSMnx v2, install the latest v1 release (currently v1.9.2) then run your code. The latest v1 release will remain compatible with the v1 API, but any deprecated functionality you're using will issue a FutureWarning with simple guidance to make it v2 compatible.

Key changes

For now, see the changelog for details and see the v2 documentation here.

Work currently in progress at #1106.

This was referenced Feb 1, 2024
georgmangold added a commit to georgmangold/wolf that referenced this issue Apr 7, 2024
controller.py:431: FutureWarning: The `north`, `south`, `east`, and `west` parameters are deprecated and will be removed in the v2.0.0 release. Use the `bbox` parameter instead. See the OSMnx v2 migration guide: gboeing/osmnx#1123   polygon = ox.utils_geo.bbox_to_poly(north, south, east, west)  controller.py:733: FutureWarning: The `north`, `south`, `east`, and `west` parameters are deprecated and will be removed in the v2.0.0 release. Use the `bbox` parameter instead. See the OSMnx v2 migration guide: gboeing/osmnx#1123   graph = ox.graph_from_bbox()

`north`, `south`, `east`, `west` parameters are deprecated use `bbox` as tuple parameter instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant