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

Add CLI flags to configure some osmnx settings #302

Open
rgreinho opened this issue Sep 3, 2023 · 1 comment
Open

Add CLI flags to configure some osmnx settings #302

rgreinho opened this issue Sep 3, 2023 · 1 comment
Assignees
Labels
kind/enhancement Improve an existing feature kind/feature New feature request
Milestone

Comments

@rgreinho
Copy link
Member

rgreinho commented Sep 3, 2023

Feature request

Current Behavior

There is currently no way to configure osmnx.

Expected Behavior

As a user, I would like to be able to define some osmnx settings from the CLI and/or environment variables.

Another use case, is that the Docker container does not need to use the osmnx cache since the container will be discarded at the end of its run.

Possible Solution

Here is the osmnx settings reference: https://osmnx.readthedocs.io/en/stable/internals-reference.html#osmnx-settings-module

@rgreinho rgreinho added kind/feature New feature request kind/enhancement Improve an existing feature labels Sep 3, 2023
@rgreinho rgreinho added this to the v2 milestone Sep 3, 2023
@rgreinho rgreinho self-assigned this Sep 3, 2023
@rgreinho
Copy link
Member Author

rgreinho commented Sep 3, 2023

Here is an example showing how to use the settings: https://github.com/gboeing/osmnx-examples/blob/fef107d0f83843aeb19ccc86c0191252e414a540/notebooks/01-overview-osmnx.ipynb#L37.

More can be found in the same repository.

@rgreinho rgreinho assigned lalver1 and unassigned rgreinho Sep 3, 2023
@rgreinho rgreinho modified the milestones: v2, v2.1 Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improve an existing feature kind/feature New feature request
Projects
None yet
Development

No branches or pull requests

2 participants