-
Notifications
You must be signed in to change notification settings - Fork 244
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
2357 add junctions to suburban widgets #2476
2357 add junctions to suburban widgets #2476
Conversation
@ziv17 Following the correspondence here you can find a road segment table (As to 03-2022) here. I waiting for a new updated of that table, hope to get it soon. For now you can make sure to create a xlsx and adjust our parser code AND make sure loading works as expected. Let me know if you find additional errors as the one you found and I'll send the new segments table ASAP |
Also @ziv17 can we create tests that use GPS data of junctions (we have this data from the CBS) and use segments GPS and maybe even data from google maps Geocoding to find errors? Editing: this is for next prs, I suggest we first insert your current prs so the cache data will be updated with the junctions in the segment |
7a6324a
to
2a315c2
Compare
2a315c2
to
a3c91e8
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #2476 +/- ##
==========================================
- Coverage 53.16% 53.03% -0.14%
==========================================
Files 117 119 +2
Lines 9670 9788 +118
==========================================
+ Hits 5141 5191 +50
- Misses 4529 4597 +68
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
f422db9
to
aaf2a78
Compare
Hi @atalyaalon , query: |
abd3345
to
0cdc9a5
Compare
Hi @atalyaalon , query: |
Hi @atalyaalon |
@ziv17 , this pr looks great! Awesome work!
|
0cdc9a5
to
6b29497
Compare
Hi @atalyaalon ,
Yes, correct
Yes
If there are widgets that do not use get_query(), then yes. I can take it as a task if you want.
Improve implementation: db filter of string not equal and included in list #2507
Remove road_segment_name from query if road_segment_id is present. [#2503] |
Hi @atalyaalon ,
in line |
@ziv17 In that case you can remove the test |
Hi @ziv17 , awesome work again :) answers below:
Great
Great, can you create a list of the tables and create new migration / add to current DB migration in this pr?
Yes, can you create a list of these widgets in an issue and we'll priorities? (This won't impact current PR, we won't wait)
|
Opened 2508 |
Will do |
Hi @atalyaalon , |
Below widgets do not use get_query(), and need to be handled specifically. anyway/widgets/all_locations_widgets/seriously_injured_killed_in_bicycles_scooter_widget.py |
Below widgets do not use get_query(), and need to be handled specifically. anyway/widgets/all_locations_widgets/seriously_injured_killed_in_bicycles_scooter_widget.py Closes #2508 |
Tables with road_segment_id or non_urban_intersection: Adding non_urban_intersection index to above table. |
Hi @atalyaalon |
b59a08c
to
87c5698
Compare
Hi @atalyaalon This PR is ready for your review |
Note: No need to resolve conflicts, I resolved them here: #2527 |
87c5698
to
1ac258e
Compare
Closes #2546 |
5a3e5a8
to
bd935a1
Compare
Closes #2546 |
cf971f6
to
439a8fe
Compare
Adding SegmentJunctions class. Adding non_urban_intersection index to markers_hebrew involved_markers_hebrew vehicles_markers_hebrew Remove test_scrape_sanity_online_walla() as it depends on actual values returned from Walla, and is not stable
Adding suburban_junctions.py and a command process suburban-junctions to load SuburbanJunction and RoadJunctionKM db tables from added file in prev commit. Removed updating these tables from accidents. Remove trailing blank from hebrew name of junction 7039 in suburban_junctions.xlsx
4689382
to
04a39c9
Compare
The previous PR was closed by mistake. Opening a new one.