Thank you for your suggestion. Would someone be willing to tell me
exactly how to "follow the alight edge to the stop vertex"? Given a
graph g and a psv-node psv, I know that I can do the following to find
the "alight" edge (though it's rather messy):
for edge in (g.get_vertex(psv.label).outgoing):
if (str(edge).startswith("<Edge><TripAlight")):
alight_edge = edge
However, I don't know how to find the node at the end of the alight
edge.
Your help will be greatly appreciated.
-C
On Mar 30, 5:56 pm, Brandon Martin-Anderson <
badh...@gmail.com> wrote:
> Hello,
>
> Given a PSV, follow the alight edge to the stop vertex, check the vertex ID,
> and use that to look up the station location in whatever database or GTFS
> file you ingested to create your graph.
>
> -B
>