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

Link up additional GTFS graphs to existing #1

Closed kuanb closed 6 years ago

kuanb commented 6 years ago

There could be a default True option to attempt to join a new GTFS feed to an existing GTFS feed. A threshold for how far away the nearest node could be needs to also be implemented. Not all stops should be joined to the existing graph (if it is provided). Any points beyond this threshold should remain in isolation. This can result in the graph being disconnected / weak (although a single GTFS does not itself guarantee a strongly connected graph).