OC Transpo API: Route colors? (Buses)

77 views
Skip to first unread message

Eric James

unread,
Jul 21, 2015, 4:42:52 PM7/21/15
to Open Data Ottawa
Per https://en.wikipedia.org/wiki/OC_Transpo_routes does the API contain route colors or a way to identify what color to assign?   This is such a complex list of labeling that the API needs to be delivering!  As far as I can tell nothing exists.  

   [20] => stdClass Object
                                (
                                    [RouteNo] => 143
                                    [DirectionID] => 0
                                    [Direction] => Eastbound
                                    [RouteHeading] => Conroy
                                    [Trips] => stdClass Object
                                        (
                                            [TripDestination] => Conroy
                                            [TripStartTime] => 19:43
                                            [AdjustedScheduleTime] => 183
                                            [AdjustmentAge] => -1
                                            [LastTripOfSchedule] => 
                                            [BusType] => 4L - IN
                                            [Latitude] => 
                                            [Longitude] => 
                                            [GPSSpeed] => 
                                        )

                                )

Cyrus Kafai Wu

unread,
Jan 12, 2016, 7:31:32 PM1/12/16
to Open Data Ottawa
No, not available
Reply all
Reply to author
Forward
0 new messages