Skip to content
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

Implement visualize_pathways.py #154

Merged
merged 2 commits into from Mar 18, 2019

Conversation

aababilov
Copy link
Contributor

Generates a GraphViz DOT file that Visualizes pathway graph for a given GTFS feed.

Graph vertices are stations, platforms, entrances, generic nodes and boarding areas.
Graph edges are pathways.

Legend for vertices:

  • platform: light sky blue
  • station: light yellow
  • entrance: light coral
  • generic_node: light grey
  • boarding_area: springgreen

Usage:

$ visualize_pathways.py my-feed-dir my-feed.dot
$ dot -T png -o my-feed.png my-feed.dot

@aababilov aababilov closed this Mar 18, 2019
@aababilov aababilov deleted the visualize-pathways branch March 18, 2019 21:35
@aababilov aababilov restored the visualize-pathways branch March 18, 2019 21:35
@aababilov aababilov reopened this Mar 18, 2019
@aababilov
Copy link
Contributor Author

Here is a PNG file created for the test feed.
au-sydney-entrances

@davidlattimore
Copy link

LGTM

@skinkie
Copy link
Contributor

skinkie commented Mar 18, 2019

Would it be possible to also create a map view? Analogue to #129?

@aababilov
Copy link
Contributor Author

Yes, this can be added as an extra feature.

@aababilov aababilov merged commit 5ae88cf into google:master Mar 18, 2019
@aababilov aababilov deleted the visualize-pathways branch March 18, 2019 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants