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

Use shapes.txt route shapes if available #46

Closed kuanb closed 6 years ago

kuanb commented 6 years ago

Would be nice for edges, when plotted, to use "real" paths instead of straight lines if they are available. Could then thread that through to other distance operations, etc.

kuanb commented 6 years ago

Thought: Because we synthesize stop clusters and the like, this cannot be done cleanly. That said, I could re-implement a clean up feature akin to OSMnx's that takes a feed, e.g. San Mateo: image

And preserved the interstitial geometries as an edge attribute such that subsequent plots would retain the intermediary nodes in the form of a reference LineString: pt.generate_plot(Gs) image

kuanb commented 6 years ago

Deeming the PR https://github.com/kuanb/peartree/pull/61 "good enough" to close this issue out.