Seattle Children's Hospital Shuttle Route Names intermittently drop

31 views
Skip to first unread message

Matt Caywood

unread,
Nov 21, 2014, 5:01:18 PM11/21/14
to onebusa...@googlegroups.com
Hi,

When we use the http://api.pugetsound.onebusaway.org/api/where/arrivals-and-departures-for-stop/ method, for stops #755000 and #755008

http://api.pugetsound.onebusaway.org/api/where/arrivals-and-departures-for-stop/98_755008.json?key=TEST
http://api.pugetsound.onebusaway.org/api/where/arrivals-and-departures-for-stop/98_755000.json?key=TEST

We see intermittent drops of all route information, sometimes every few minutes, that is, there is only a blank routeShortName and no routeLongName set.

Here's a JSON sample:

{
 
"currentTime": 1416606564236,
 
"text": "OK",
 
"data": {
   
"stop": {
     
"id": "98_755008",
     
"lon": -122.2562,
     
"routes": [
       
{
         
"id": "98_875",
         
"textColor": "",
         
"color": "",
         
"description": "",
         
"longName": "SCH-Loop",
         
"agency": {
           
"id": "98",
           
"privateService": false,
           
"phone": "",
           
"timezone": "America/Los_Angeles",
           
"disclaimer": "",
           
"name": "Seattle Children's Hospital Shuttle",
           
"lang": "",
           
"url": "http://www.seattlechildrens.org/"
         
},
         
"shortName": "",
         
"type": 3,
         
"url": ""
       
},
       
{
         
"id": "98_869",
         
"textColor": "",
         
"color": "",
         
"description": "",
         
"longName": "SCH-Mag_70th",
         
"agency": {
           
"id": "98",
           
"privateService": false,
           
"phone": "",
           
"timezone": "America/Los_Angeles",
           
"disclaimer": "",
           
"name": "Seattle Children's Hospital Shuttle",
           
"lang": "",
           
"url": "http://www.seattlechildrens.org/"
         
},
         
"shortName": "",
         
"type": 3,
         
"url": ""
       
},
       
{
         
"id": "98_871",
         
"textColor": "",
         
"color": "",
         
"description": "",
         
"longName": "SCH-Magnuson",
         
"agency": {
           
"id": "98",
           
"privateService": false,
           
"phone": "",
           
"timezone": "America/Los_Angeles",
           
"disclaimer": "",
           
"name": "Seattle Children's Hospital Shuttle",
           
"lang": "",
           
"url": "http://www.seattlechildrens.org/"
         
},
         
"shortName": "",
         
"type": 3,
         
"url": ""
       
}
     
],
     
"direction": "",
     
"name": "MAG",
     
"locationType": 0,
     
"wheelchairBoarding": "UNKNOWN",
     
"code": "755008",
     
"lat": 47.6761
   
},
   
"nearbyStops": [],
   
"arrivalsAndDepartures": [
     
{
       
"scheduledArrivalTime": 1416606420000,
       
"predictedDepartureTime": 0,
       
"status": "default",
       
"stopId": "98_755008",
       
"tripId": "98_35000A727B1136",
       
"routeShortName": "",
       
"tripHeadsign": "SCH-Loop",
       
"routeId": "98_875",
       
"predictedArrivalTime": 0,
       
"scheduledDepartureTime": 1416606420000
     
},
     
{
       
"scheduledArrivalTime": 1416607320000,
       
"predictedDepartureTime": 0,
       
"status": "default",
       
"stopId": "98_755008",
       
"tripId": "98_35015A727B1136",
       
"routeShortName": "",
       
"tripHeadsign": "SCH-Loop",
       
"routeId": "98_875",
       
"predictedArrivalTime": 0,
       
"scheduledDepartureTime": 1416607320000
     
},
     
{
       
"scheduledArrivalTime": 1416608220000,
       
"predictedDepartureTime": 0,
       
"status": "default",
       
"stopId": "98_755008",
       
"tripId": "98_35207A727B1136",
       
"routeShortName": "",
       
"tripHeadsign": "SCH-Loop",
       
"routeId": "98_875",
       
"predictedArrivalTime": 0,
       
"scheduledDepartureTime": 1416608220000
     
}
   
]
 
},
 
"code": 200,
 
"version": 1
}


I'm guessing this might be an integration problem with the shuttle trackers. Can you help confirm? Thanks.

Sheldon A. Brown

unread,
Nov 24, 2014, 10:13:38 AM11/24/14
to onebusa...@googlegroups.com
Seattle Children's Hospital does not currently supply real-time data
to Sound Transit; what you are seeing is purely schedule data.
Looking at the GTFS SCH provided, I sadly see dropouts in the
information you are inquiring about:

route_id,service_id,trip_id,trip_short_name,trip_headsign,direction_id
873,727A1136,34946A727B1136,"","Hospital",0
875,727A1136,35001A727B1136,"","",
875,727A1136,35000A727B1136,"","",
875,727A1136,34998A727B1136,"","",
875,727A1136,34997A727B1136,"","",
873,727A1136,34976A727B1136,"","Hospital",0


So sadly its a data issue.If you happen to know what the correct route
names should be for these trips, I'd be happy to work with you to
correct the data. (With permission from Sound Transit of course).

Sheldon
> --
> You received this message because you are subscribed to the Google Groups
> "OneBusAway API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to onebusaway-ap...@googlegroups.com.
> To post to this group, send email to onebusa...@googlegroups.com.
> Visit this group at http://groups.google.com/group/onebusaway-api.
> For more options, visit https://groups.google.com/d/optout.

Matt Caywood

unread,
Nov 25, 2014, 7:00:04 PM11/25/14
to onebusa...@googlegroups.com
Hi Sheldon, I believe this GTFS is managed by Trillium for SCH? I am unable to find a copy online, but if you can send me one I could potentially be more helpful here.

Matt
Reply all
Reply to author
Forward
0 new messages