开发者

GTFS and multiple routes

开发者 https://www.devze.com 2023-04-13 09:41 出处:网络
I am working with GTFS format.I have a concern for example consider a little complex network where a user want to travel from a source \'A\' to Destination \'B\' and actually there exist no direct rou

I am working with GTFS format.I have a concern for example consider a little complex network where a user want to travel from a source 'A' to Destination 'B' and actually there exist no direct route from A to B.But we can reach B from A thru a stop C. i cant see a way mentioned in GTFS to know that there exist some route to reach B in our example(A->c->B). Do i miss something here? or t开发者_如何学运维here is no way to do that but to implement our own algo? or is some third party already implemented the algo in java (i believe someone did it ;) ).

Thanks in advance.

Cheers Sriram.

PS:As i am unable to create new tags hence i have the transport,java tag (not gtfs or something similar to that)


Well GTFS does not help in identifying paths across different routes and this has to be done on fly.


As Sriram's answer from 4.5 years ago notes, GTFS does not attempt to represent all possible paths through a transit network. OpenTripPlanner is an open-source project that tries to solve this problem in the general case: http://www.opentripplanner.org/. OTP uses GTFS as its primary schedule input.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号