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 support for implicit maxspeed #1153

Merged
merged 4 commits into from
Apr 1, 2024

Conversation

nikita03565
Copy link
Contributor

@nikita03565 nikita03565 commented Mar 27, 2024

refers to #1152

Added implicit speed mapping scraped from osm wiki to settings module
Updated _clean_maxspeed method to get values from that mapping if parsing as number fails

Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.98%. Comparing base (d614c96) to head (ae91015).

❗ Current head ae91015 differs from pull request most recent head cd2a742. Consider uploading reports for the commit cd2a742 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##               v2    #1153   +/-   ##
=======================================
  Coverage   97.98%   97.98%           
=======================================
  Files          24       24           
  Lines        2436     2437    +1     
=======================================
+ Hits         2387     2388    +1     
  Misses         49       49           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gboeing gboeing self-requested a review March 30, 2024 18:23
Copy link
Owner

@gboeing gboeing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this suggestion @nikita03565. I think you're right that handling these implicit values would be useful. I've left one comment for a requested change.

osmnx/settings.py Outdated Show resolved Hide resolved
@gboeing gboeing merged commit e621fd4 into gboeing:v2 Apr 1, 2024
1 of 5 checks passed
@gboeing gboeing mentioned this pull request Apr 1, 2024
13 tasks
@gboeing
Copy link
Owner

gboeing commented May 3, 2024

The first pre-release OSMnx v2 beta has been released. Testers needed! See #1123 for details.

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

Successfully merging this pull request may close these issues.

2 participants