-
Notifications
You must be signed in to change notification settings - Fork 58
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
ENH: roundabout_simplification() notebook example #392
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, @gregmaya. Here's some initial comments:
- let's run
black
on the notebook for consistent string quotations, spacing, etc. - give all text a thorough scour for spelling, grammar, etc. (I can help with this later).
- we should consider some static
matplotlib
plots in lieu of the.explore()
method. Using.explore()
is great for live demos, etc. but they do not render in notebook HTML.
cc @amorfinv |
They do render in HTML, that it not an issue (see https://geopandas.org/en/stable/docs/user_guide/interactive_mapping.html) but they tend to be much heavier to load as you need to ship all the data. So agree with @jGaboardi that we should minimise them. edit: better see https://momepy--392.org.readthedocs.build/en/392/examples/roundabout_simplification.html |
Notebooks are pain to review....
- **Part of GSOC2022**
-
- The function was originally developed by [Greg Maya](https://github.com/gregmaya) and supervised by [Martin Fleischmann](https://github.com/martinfleis), [James Gaboardi](https://github.com/jGaboardi) and [Andres Morfin](https://github.com/amorfinv)
-
-It depends on the following packages:
-
-```
- momepy
- geopandas
- osmnx
-```
As mentioned above, give it a thorough proofreading. |
You can update this branch from main and move the notebook now. git fetch upstream
git merge upstream/main |
@gregmaya Once you have addressed @martinfleis's comments above, retag me for a review. |
Sure. I admit I might have to leave it for tomorrow but hopefully when you're up things will look much better. |
@gregmaya you will also need to list it in ToC here https://github.com/pysal/momepy/blob/main/docs/user_guide/preprocessing/preprocessing.rst to show in docs. |
@jGaboardi and @martinfleis feel free to review when you have some time. I know GSOC has a hard deadline today so I'm going to focus on documentation and putting up some other draft PR with some helper function I showed you guys before. That way can properly link them in the overview and I'll continue to develop things this week to hopefully tight things up a bit more. |
@gregmaya Unsure how to add comments to a notebook here. Small comments on first paragraph:
I think I will make a PR to your branch for any other comments as that should be easier |
Thanks, @amorfinv ! I copied over your corrections. I appreciate the extra pair of eyes. |
@gregmaya A couple more things for the test:
|
I've left some suggestions here gregmaya#2 (review). You may even merge that directly in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conditional approval pending your incorporation of @martinfleis's comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
What it says on the tin!