-
Notifications
You must be signed in to change notification settings - Fork 0
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
Integrate Neighboring Road Names Retrieval #32
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
…over perform_spatial_join function, Improve CRS comparison, Use a context manager, Error handling for groupby
Solved PR Agent issues: Performance Concern Code Clarity Have also implemented following PR Code Suggestions:
|
Here's the link to the document explaining logic: |
Hello @maneesh-mapup and @Abeer-Mapup, I have made the changes as per the PR agent, please review the code. |
@pushpak-gote-mapup here are some suggestions: The group_and_aggregate function assumes certain column names exist. If these columns are missing, it will raise a KeyError. Consider adding a check for required columns before performing the grouping operation Type hinting: While the script uses type hints in some places, it could benefit from more consistent use throughout, especially for function return types. |
…emaining type hints, made final df by merging on both unique id and bridge id.
@Abeer-Mapup I have modified the create_buffer function to account for CRS units and added the remaining type hints. Additionally, the KeyError in the group_and_aggregate function is already being handled. |
Hey @pushpak-gote-mapup, here's the review: Strengths:
Improvements:
|
Hello @varun-andhra-mapup, I have made the suggested improvements.
|
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.
Good to go
User description
This script gets all neighbouring road names from the state dataset for bridge points.
PR Type
Enhancement, Other
Description
get_neighbouring_roads.py
to retrieve and process neighboring road names from state datasets.Changes walkthrough 📝
get_neighbouring_roads.py
Script for retrieving and processing neighboring road names
mile-point-approach/get_neighbouring_roads.py