insight-lane / crash-model

Build a crash prediction modeling application that leverages multiple data sources to generate a set of dynamic predictions we can use to identify potential trouble spots and direct timely safety interventions.
https://insightlane.org
MIT License
112 stars 40 forks source link

Adjacency #234

Closed j-t-t closed 5 years ago

j-t-t commented 5 years ago

Adds adjacency info to inters_segments.geojson and non_inters_segments.geojson. The connected segments are stored as a list as connected_segments. I'm happy to propagate them anywhere else as needed though.

Did a little code cleanup as well.

codecov[bot] commented 5 years ago

Codecov Report

Merging #234 into master will increase coverage by 0.56%. The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #234      +/-   ##
=========================================
+ Coverage   55.14%   55.7%   +0.56%     
=========================================
  Files          34      34              
  Lines        3393    3425      +32     
=========================================
+ Hits         1871    1908      +37     
+ Misses       1522    1517       -5