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

Subselect certain types of roads that pipes can be under #134

Merged
merged 11 commits into from
Apr 25, 2024

Conversation

barneydobson
Copy link
Collaborator

@barneydobson barneydobson commented Apr 23, 2024

  • add graphfcn to remove non allowable links
  • update parameters to customise this behaviour
  • update prepare_data to use osmnx bbox and remove depreciation error
  • test new behaviour

Fixes #126 (I realise I named the branch for the wrong issue)

- add graphfcn to remove non allowable links
- update parameters to customise this behaviour
- update prepare_data to use osmnx bbox and remove depreciation error
- test new behaviour
@barneydobson barneydobson self-assigned this Apr 23, 2024
@barneydobson barneydobson linked an issue Apr 23, 2024 that may be closed by this pull request
@barneydobson barneydobson removed a link to an issue Apr 23, 2024
@barneydobson barneydobson changed the title Address issue Subselect certain types of roads that pipes can be under Apr 23, 2024
@barneydobson barneydobson requested a review from dalonsoa April 23, 2024 10:21
Copy link
Collaborator

@dalonsoa dalonsoa left a comment

Choose a reason for hiding this comment

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

The code looks good, but I'm unsure if to be understanding the logic of what is being done - essentially, the docstring in the main function.

tests/test_graph_utilities.py Show resolved Hide resolved
swmmanywhere/graph_utilities.py Outdated Show resolved Hide resolved
swmmanywhere/graph_utilities.py Show resolved Hide resolved
@barneydobson barneydobson merged commit 671fa76 into main Apr 25, 2024
10 checks passed
@barneydobson barneydobson deleted the 128-pipes-not-under-roads branch April 25, 2024 08:32
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.

Subselect roads from OSM for plausible pipes
2 participants