Skip to content
This repository has been archived by the owner on Aug 16, 2019. It is now read-only.

Thru-Routes #43

Open
mattwigway opened this issue Nov 11, 2011 · 2 comments
Open

Thru-Routes #43

mattwigway opened this issue Nov 11, 2011 · 2 comments
Assignees
Milestone

Comments

@mattwigway
Copy link
Member

Some trips have through-routes, so they break some assumptions we make. For now, trips like this are being discarded.

Here's an example (some tags omitted for brevity):

<itinerary id="3" viaRoute="MAX">
<time-distance>
<fare>
<leg id="3.1" xsi:type="ns:WalkingLegType" order="start" mode="Walk" xmlns:ns="http://maps.trimet.org/maps/model/xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<leg id="3.2" mode="Light Rail" xsi:type="ns:TransitLegType" order="start" xmlns:ns="http://maps.trimet.org/maps/model/xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<time-distance>
<lineURL param="9066,A,10:21 PM,11509,10:37 PM,11498">
<from areaKey="PO" areaValue="Portland" xsi:type="ns:StopPointType">
<to areaKey="PO" areaValue="Portland" xsi:type="ns:StopPointType">
<pos>
<description>Expo Center MAX Station</description>
<stopId>11498</stopId>
<stopSequence>18</stopSequence>
</to>
<route>
<number>MAX</number>
<internalNumber>190</internalNumber>
<name>MAX Yellow Line to Expo Center</name>
<key>A</key>
<direction>out</direction>
<block>9066</block>
<provider>TRIMET</provider>
</route>
<fare>
</leg>
<leg id="3.3" mode="Light Rail" xsi:type="ns:TransitLegType" order="thru-route" xmlns:ns="http://maps.trimet.org/maps/model/xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<time-distance>
<lineURL param="9066,A,10:47 PM,11498,11:16 PM,7646">
<from areaKey="PO" areaValue="Portland" xsi:type="ns:StopPointType">
<pos>
<description>Expo Center MAX Station</description>
<stopId>11498</stopId>
<stopSequence>0</stopSequence>
</from>
<to areaKey="PO" areaValue="Portland" xsi:type="ns:StopPointType">
<route>
<number>MAX</number>
<internalNumber>190</internalNumber>
<name>MAX Yellow Line to City Center/PSU</name>
<key>A</key>
<direction>in</direction>
<block>9066</block>
</route>
</leg>
<leg id="3.4" mode="Walk" xsi:type="ns:WalkingLegType" order="end" xmlns:ns="http://maps.trimet.org/maps/model/xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</itinerary>
@ghost ghost assigned mattwigway Nov 11, 2011
@mattwigway mattwigway mentioned this issue Nov 11, 2011
mattwigway pushed a commit that referenced this issue Nov 11, 2011
mattwigway pushed a commit that referenced this issue Nov 11, 2011
…tually

worked OK though, although obviously they said offboard->onboard when
they could say ride through. Maybe it's time to think about transfers (#44).
@mattwigway
Copy link
Member Author

I think this goes hand-in-hand with #44 (Transfers); I'm assigning it to 'Future'

mattwigway pushed a commit that referenced this issue Jan 4, 2012
…l need to do thru-routes so they are rendered correctly. #43 #44.
@mattwigway
Copy link
Member Author

Thruroutes are difficult, because e.g. on the Red->Blue lines, there is no way to tell from the real-time feed if a given Red Line train will be continuing through to Hillsboro. You could tell with the GTFS-realtime feed and a PostGIS server as well as gtfsrdb.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant