kuanb / peartree

peartree: A library for converting transit data into a directed graph for sketch network analysis.
MIT License
201 stars 23 forks source link

Custom implementation of simplify_graph #61

Closed kuanb closed 6 years ago

kuanb commented 6 years ago

Very much akin to the method of the same name in OSMnx (and have made sure to cite the function in the comments of the method). Has some updates that help with using the method with peartree, names:

Note: Also relevant as a "good enough" replacement for the desired feature add in Issue https://github.com/kuanb/peartree/issues/46

Example, San Mateo: Before: image

After: image

codecov[bot] commented 6 years ago

Codecov Report

Merging #61 into master will decrease coverage by 3.27%. The diff coverage is 95.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
- Coverage   91.66%   88.39%   -3.28%     
==========================================
  Files          11       12       +1     
  Lines         672      741      +69     
==========================================
+ Hits          616      655      +39     
- Misses         56       86      +30
Impacted Files Coverage Δ
peartree/toolkit.py 95.73% <95.23%> (-0.21%) :arrow_down:
peartree/convert.py 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 92b5da1...d660c67. Read the comment docs.