93 Bus Line - Predictions not available Nextbus and T tracker

74 views
Skip to first unread message

Gary Johnson

unread,
May 8, 2017, 3:25:52 PM5/8/17
to MBTA Developers
When I use Nextbus or T tracker, I do not see feeds for going downtown from Sullivan Station.  the 93 route has a regular route and once an hour, they alter the route to go through the navy yard.  
I believe we should see different things in the feeds that what I am seeing.  The short story is
what is this: <predictions agencyTitle="MBTA" routeTitle="89/93" routeTag="8993" stopTitle="Bunker Hill St @ Clarken Ct" stopTag="2847" dirTitleBecauseNoPredictions="Haymarket via Sullivan"></predictions> 

This is the detail

This call


returns this

<body copyright="All data copyright MBTA 2017.">
<predictions agencyTitle="MBTA" routeTitle="89/93" routeTag="8993" stopTitle="Bunker Hill St @ Clarken Ct" stopTag="2847" dirTitleBecauseNoPredictions="Haymarket via Sullivan"></predictions>
<predictions agencyTitle="MBTA" routeTitle="93" routeTag="93" stopTitle="<stop tag="2847" title="Bunker Hill St @ Clarken Ct" lat="42.3808799" lon="-71.0666299" stopId="02847"/>" stopTag="2847">
<direction title="Downtown via Navy Yard">
<prediction epochTime="1494270204745" seconds="448" minutes="7" isDeparture="false" affectedByLayover="true" dirTag="93_1_var3" vehicle="1452" block="G93_50" tripTag="33400909"/>
<prediction epochTime="1494273693931" seconds="3937" minutes="65" isDeparture="false" affectedByLayover="true" dirTag="93_1_var3" vehicle="1416" block="G101_79" tripTag="33400913"/>
</direction>
<direction title="Downtown">
<prediction epochTime="1494271115705" seconds="1359" minutes="22" isDeparture="false" affectedByLayover="true" dirTag="93_1_var1" vehicle="1420" block="G101_72" tripTag="33400819"/>
<prediction epochTime="1494272015705" seconds="2259" minutes="37" isDeparture="false" affectedByLayover="true" dirTag="93_1_var1" vehicle="0628" block="G109_111" tripTag="33400846"/>
<prediction epochTime="1494272615705" seconds="2859" minutes="47" isDeparture="false" affectedByLayover="true" dirTag="93_1_var1" vehicle="0722" block="G101_74" tripTag="33400916"/>
<prediction epochTime="1494272915705" seconds="3159" minutes="52" isDeparture="false" affectedByLayover="true" dirTag="93_1_var1" vehicle="0606" block="G91_22" tripTag="33400921"/>
<prediction epochTime="1494273335705" seconds="3579" minutes="59" isDeparture="false" affectedByLayover="true" dirTag="93_1_var1" vehicle="1452" block="G93_50" tripTag="33400774"/>
</direction>
</predictions>
</body>


<stop tag="2847" title="Bunker Hill St @ Clarken Ct" lat="42.3808799" lon="-71.0666299" stopId="02847"/>


2847 is only used for Downtown via Navy Yard and Downtown 



<body copyright="All data copyright MBTA 2017.">
<predictions agencyTitle="MBTA" routeTitle="89/93" routeTag="8993" stopTitle="Bunker Hill St @ N Mead St" stopTag="2865" dirTitleBecauseNoPredictions="Clarendon Hill via Sullivan"></predictions>
<predictions agencyTitle="MBTA" routeTitle="93" routeTag="93" stopTitle="Bunker Hill St @ N Mead St" stopTag="2865">
<direction title="Sullivan via Navy Yard">
<prediction epochTime="1494272712877" seconds="2956" minutes="49" isDeparture="false" affectedByLayover="true" dirTag="93_0_var3" vehicle="1452" block="G93_50" tripTag="33400905"/>
</direction>
<direction title="Sullivan">
<prediction epochTime="1494271619068" seconds="1862" minutes="31" isDeparture="false" affectedByLayover="true" dirTag="93_0_var1" vehicle="0658" block="G101_76" tripTag="33400894"/>
<prediction epochTime="1494273419068" seconds="3662" minutes="61" isDeparture="false" affectedByLayover="true" dirTag="93_0_var1" vehicle="1420" block="G101_72" tripTag="33400815"/>
<prediction epochTime="1494274261458" seconds="4504" minutes="75" isDeparture="false" affectedByLayover="true" dirTag="93_0_var1" vehicle="0628" block="G109_111" tripTag="33400871"/>
<prediction epochTime="1494274798200" seconds="5041" minutes="84" isDeparture="false" affectedByLayover="true" dirTag="93_0_var1" vehicle="0722" block="G101_74" tripTag="33400899"/>
<prediction epochTime="1494275338200" seconds="5581" minutes="93" isDeparture="false" affectedByLayover="true" dirTag="93_0_var1" vehicle="1406" block="G136_178" tripTag="33400918"/>
</direction>
</predictions>
</body>

<stop tag="2865" title="Bunker Hill St @ N Mead St" lat="42.3811399" lon="-71.06695" stopId="02865"/>

Bunker Hill St @ N Mead St is only used for Sullivan via Navy Yard and Sullivan


Is this a data entry mistake?  


1) route title 89/93 is for what?  Clarendon Hill 


http://webservices.nextbus.com/service/publicXMLFeed?command=routeConfig&a=mbta&r=89/93 returns 

Could not get route "89/93" for agency tag "mbta". One of the tags could be bad.


2) I believe dirTitleBecauseNoPredictions="Clarendon Hill via Sullivan", the Clarendon Hill part makes no sense to anyone in the neighborhood 


I live on Bunker Hill Street, I take this bus.  


http://webservices.nextbus.com/service/publicXMLFeed?command=routeConfig&a=mbta&r=93


retruns

ody copyright="All data copyright MBTA 2017.">
<route tag="93" title="93" color="cc66cc" oppositeColor="000000" latMin="42.3568399" latMax="42.3844" lonMin="-71.07699" lonMax="-71.0511599">
<stop tag="117" title="Congress St @ Haymarket Sta" lat="42.3618499" lon="-71.05772" stopId="00117"/>
<stop tag="2832" title="N Washington St @ Thacher St" lat="42.3652" lon="-71.05826" stopId="02832"/>
<stop tag="2833" title="N Washington St @ Commercial St" lat="42.3674299" lon="-71.05873" stopId="02833"/>
<stop tag="12836" title="Chelsea St @ Warren St" lat="42.37215" lon="-71.0602299" stopId="12836"/>
<stop tag="12858" title="Chelsea St @ Constitution Rd" lat="42.37377" lon="-71.05819" stopId="12858"/>
<stop tag="12838" title="Chelsea St @ Fifth St" lat="42.37518" lon="-71.0562799" stopId="12838"/>
<stop tag="2860" title="Vine St @ Moulton St" lat="42.3768799" lon="-71.05632" stopId="02860"/>
<stop tag="2861" title="121 Bunker Hill St opp Lexington St" lat="42.37806" lon="-71.05973" stopId="02861"/>
<stop tag="2862" title="Bunker Hill St @ Polk St" lat="42.37863" lon="-71.06144" stopId="02862"/>
<stop tag="2863" title="Bunker Hill St @ Pearl St" lat="42.37941" lon="-71.06351" stopId="02863"/>
<stop tag="2864" title="Bunker Hill St @ Sackville St" lat="42.3802699" lon="-71.0651999" stopId="02864"/>
<stop tag="2865" title="Bunker Hill St @ N Mead St" lat="42.3811399" lon="-71.06695" stopId="02865"/>
<stop tag="2866" title="Bunker Hill St @ St Martin St" lat="42.3818499" lon="-71.0683899" stopId="02866"/>
<stop tag="12866" title="Bunker Hill St @ Baldwin St" lat="42.3825099" lon="-71.0697399" stopId="12866"/>
<stop tag="2867" title="Bunker Hill St @ Medford St" lat="42.3834299" lon="-71.0716" stopId="02867"/>
<stop tag="2841" title="529 Main St" lat="42.3844" lon="-71.07268" stopId="02841"/>
<stop tag="2874_ar" title="Sullivan Station - Upper Busway" lat="42.3839799" lon="-71.07699"/>
<stop tag="6548" title="Devonshire St @ Milk St" lat="42.3568399" lon="-71.05741" stopId="06548"/>
<stop tag="11891" title="Pearl St @ Congress St" lat="42.3574999" lon="-71.05625" stopId="11891"/>
<stop tag="190" title="Congress St @ State St" lat="42.3587899" lon="-71.05673" stopId="00190"/>
<stop tag="191" title="Congress St @ North St" lat="42.36039" lon="-71.05713" stopId="00191"/>
<stop tag="12837" title="Fifth St @ Chelsea St" lat="42.3750999" lon="-71.0560899" stopId="12837"/>
<stop tag="12859" title="First Ave @ Terry Ring" lat="42.37481" lon="-71.0544599" stopId="12859"/>
<stop tag="12860" title="First Ave @ Ninth St" lat="42.3762" lon="-71.05225" stopId="12860"/>
<stop tag="12862" title="Thirteenth St @ Fifth Ave" lat="42.37859" lon="-71.05229" stopId="12862"/>
<stop tag="28741" title="Sullivan Station - Lower Busway" lat="42.3839799" lon="-71.07699" stopId="28741"/>
<stop tag="12821" title="Main St opp Schraffts Bldg" lat="42.38372" lon="-71.07233" stopId="12821"/>
<stop tag="2844" title="Bunker Hill St @ Main St" lat="42.3833099" lon="-71.07159" stopId="02844"/>
<stop tag="2845" title="Bunker Hill St @ Baldwin St" lat="42.3824" lon="-71.0697299" stopId="02845"/>
<stop tag="2846" title="Bunker Hill St @ Auburn St" lat="42.3819499" lon="-71.0687899" stopId="02846"/>
<stop tag="2847" title="Bunker Hill St @ Clarken Ct" lat="42.3808799" lon="-71.0666299" stopId="02847"/>
<stop tag="2848" title="Bunker Hill St @ Sullivan St" lat="42.3798699" lon="-71.0646399" stopId="02848"/>
<stop tag="2849" title="Bunker Hill St @ School St" lat="42.37906" lon="-71.0629899" stopId="02849"/>
<stop tag="2850" title="Bunker Hill St @ Concord St" lat="42.3782799" lon="-71.06078" stopId="02850"/>
<stop tag="2851" title="Bunker Hill St @ Ferrin St" lat="42.37766" lon="-71.0588799" stopId="02851"/>
<stop tag="2852" title="Bunker Hill St @ Vine St" lat="42.37676" lon="-71.0570499" stopId="02852"/>
<stop tag="2853" title="Bunker Hill St @ Lowney Way" lat="42.3758899" lon="-71.05629" stopId="02853"/>
<stop tag="2854" title="Adams St @ Lowney Way" lat="42.3743899" lon="-71.0581899" stopId="02854"/>
<stop tag="2855" title="Park St @ Warren St" lat="42.3732199" lon="-71.06087" stopId="02855"/>
<stop tag="12829" title="Chelsea St @ Warren St" lat="42.3719099" lon="-71.06095" stopId="12829"/>
<stop tag="2829" title="N Washington St @ Medford St" lat="42.3657499" lon="-71.0585" stopId="02829"/>
<stop tag="8310" title="Haymarket Station" lat="42.3630199" lon="-71.05829" stopId="08310"/>
<stop tag="191_1" title="Congress St @ North St" lat="42.3603899" lon="-71.05713"/>
<stop tag="117_ar" title="Congress St @ Haymarket Sta" lat="42.3618499" lon="-71.05772"/>
<stop tag="30203" title="Congress St opp Hanover St" lat="42.3610999" lon="-71.05763" stopId="30203"/>
<stop tag="6547" title="Devonshire St @ State St" lat="42.3585999" lon="-71.05731" stopId="06547"/>
<stop tag="6548_ar" title="Devonshire St @ Milk St" lat="42.3568399" lon="-71.05741"/>
<stop tag="2874" title="Sullivan Station - Upper Busway" lat="42.3839799" lon="-71.07699" stopId="02874"/>
<stop tag="12852" title="Vine St @ Bunker Hill St" lat="42.37696" lon="-71.0568599" stopId="12852"/>
<stop tag="12853" title="Thirteenth St @ Second Ave" lat="42.37707" lon="-71.0511599" stopId="12853"/>
<stop tag="12855" title="First Ave @ Ninth St" lat="42.3760899" lon="-71.05261" stopId="12855"/>
<stop tag="12856" title="First Ave @ Fifth St" lat="42.3745899" lon="-71.0550799" stopId="12856"/>
<stop tag="12828" title="Chelsea St opp Constitution Rd" lat="42.37383" lon="-71.0583099" stopId="12828"/>
<direction tag="93_0_var3" title="Sullivan via Navy Yard" name="Outbound" useForUI="true">
<stop tag="6548"/>
<stop tag="11891"/>
<stop tag="190"/>
<stop tag="191"/>
<stop tag="117"/>
<stop tag="2832"/>
<stop tag="2833"/>
<stop tag="12836"/>
<stop tag="12858"/>
<stop tag="12838"/>
<stop tag="12837"/>
<stop tag="12859"/>
<stop tag="12860"/>
<stop tag="12862"/>
<stop tag="2860"/>
<stop tag="2861"/>
<stop tag="2862"/>
<stop tag="2863"/>
<stop tag="2864"/>
<stop tag="2865"/>
<stop tag="2866"/>
<stop tag="12866"/>
<stop tag="2867"/>
<stop tag="2841"/>
<stop tag="2874_ar"/>
</direction>
<direction tag="93_1_var3" title="Downtown via Navy Yard" name="Inbound" useForUI="true">
<stop tag="28741"/>
<stop tag="12821"/>
<stop tag="2844"/>
<stop tag="2845"/>
<stop tag="2846"/>
<stop tag="2847"/>
<stop tag="2848"/>
<stop tag="2849"/>
<stop tag="2850"/>
<stop tag="2851"/>
<stop tag="12852"/>
<stop tag="12853"/>
<stop tag="12855"/>
<stop tag="12856"/>
<stop tag="12828"/>
<stop tag="12829"/>
<stop tag="2829"/>
<stop tag="30203"/>
<stop tag="6547"/>
<stop tag="6548_ar"/>
</direction>
<direction tag="93_1_var2" title="Haymarket" name="Inbound" useForUI="true">
<stop tag="2874"/>
<stop tag="12821"/>
<stop tag="2844"/>
<stop tag="2845"/>
<stop tag="2846"/>
<stop tag="2847"/>
<stop tag="2848"/>
<stop tag="2849"/>
<stop tag="2850"/>
<stop tag="2851"/>
<stop tag="2852"/>
<stop tag="2853"/>
<stop tag="2854"/>
<stop tag="2855"/>
<stop tag="12829"/>
<stop tag="2829"/>
<stop tag="8310"/>
<stop tag="191_1"/>
<stop tag="117_ar"/>
</direction>
<path>
<point lat="42.36743" lon="-71.05873"/>
<point lat="42.3701099" lon="-71.0607"/>
<point lat="42.37046" lon="-71.06098"/>
<point lat="42.37061" lon="-71.06113"/>
<point lat="42.3707" lon="-71.06123"/>
<point lat="42.3708" lon="-71.06135"/>
<point lat="42.3708699" lon="-71.06147"/>
<point lat="42.37099" lon="-71.06167"/>
<point lat="42.37109" lon="-71.06188"/>
<point lat="42.37168" lon="-71.06105"/>
<point lat="42.37183" lon="-71.06085"/>
<point lat="42.3721" lon="-71.06044"/>
<point lat="42.3722" lon="-71.0603"/>
<point lat="42.37215" lon="-71.06023"/>
<point lat="42.37282" lon="-71.05938"/>
<point lat="42.37313" lon="-71.05897"/>
<point lat="42.37348" lon="-71.05861"/>
<point lat="42.3737" lon="-71.05835"/>
<point lat="42.3738" lon="-71.05824"/>
<point lat="42.37377" lon="-71.05819"/>
<point lat="42.37423" lon="-71.05775"/>
<point lat="42.37454" lon="-71.05735"/>
<point lat="42.37486" lon="-71.05696"/>
<point lat="42.37506" lon="-71.05665"/>
<point lat="42.37524" lon="-71.05634"/>
<point lat="42.37518" lon="-71.05628"/>
<point lat="42.37562" lon="-71.05584"/>
<point lat="42.3759299" lon="-71.05552"/>
<point lat="42.37621" lon="-71.05523"/>
<point lat="42.37633" lon="-71.05541"/>
<point lat="42.3765" lon="-71.05571"/>
<point lat="42.37657" lon="-71.05584"/>
<point lat="42.37672" lon="-71.05616"/>
<point lat="42.37685" lon="-71.05636"/>
<point lat="42.37688" lon="-71.05632"/>
<point lat="42.37691" lon="-71.05646"/>
<point lat="42.37706" lon="-71.05705"/>
<point lat="42.37719" lon="-71.05741"/>
<point lat="42.37753" lon="-71.05841"/>
<point lat="42.37765" lon="-71.05874"/>
<point lat="42.37778" lon="-71.05908"/>
<point lat="42.37792" lon="-71.0595"/>
<point lat="42.37801" lon="-71.05976"/>
<point lat="42.37806" lon="-71.05973"/>
<point lat="42.37816" lon="-71.0602399"/>
<point lat="42.37829" lon="-71.06064"/>
<point lat="42.37842" lon="-71.06097"/>
<point lat="42.37853" lon="-71.06126"/>
<point lat="42.3786" lon="-71.06146"/>
<point lat="42.37863" lon="-71.06144"/>
<point lat="42.37865" lon="-71.06158"/>
<point lat="42.37872" lon="-71.06179"/>
<point lat="42.37897" lon="-71.06264"/>
<point lat="42.37917" lon="-71.06314"/>
<point lat="42.37938" lon="-71.06354"/>
<point lat="42.37941" lon="-71.0635099"/>
<point lat="42.37944" lon="-71.06366"/>
<point lat="42.37966" lon="-71.0640899"/>
<point lat="42.37986" lon="-71.0645"/>
<point lat="42.38027" lon="-71.0652"/>
<point lat="42.38114" lon="-71.06695"/>
<point lat="42.38111" lon="-71.06698"/>
<point lat="42.38116" lon="-71.0670899"/>
<point lat="42.38154" lon="-71.06788"/>
<point lat="42.38185" lon="-71.0683899"/>
<point lat="42.38182" lon="-71.06843"/>
<point lat="42.38189" lon="-71.06858"/>
<point lat="42.38225" lon="-71.06931"/>
<point lat="42.38251" lon="-71.06974"/>
<point lat="42.38279" lon="-71.0704"/>
<point lat="42.38286" lon="-71.07055"/>
<point lat="42.3831599" lon="-71.07114"/>
<point lat="42.38339" lon="-71.07163"/>
<point lat="42.38343" lon="-71.0716"/>
</path>
<path>
<point lat="42.3782799" lon="-71.06078"/>
<point lat="42.37829" lon="-71.06064"/>
<point lat="42.37816" lon="-71.0602399"/>
<point lat="42.37778" lon="-71.05908"/>
<point lat="42.37766" lon="-71.05888"/>
<point lat="42.37769" lon="-71.05885"/>
<point lat="42.37765" lon="-71.05874"/>
<point lat="42.37753" lon="-71.05841"/>
<point lat="42.37719" lon="-71.05741"/>
<point lat="42.37707" lon="-71.05712"/>
<point lat="42.3769599" lon="-71.05705"/>
<point lat="42.37686" lon="-71.05703"/>
<point lat="42.37676" lon="-71.05705"/>
<point lat="42.37656" lon="-71.05685"/>
<point lat="42.3763099" lon="-71.05663"/>
<point lat="42.37607" lon="-71.0564"/>
<point lat="42.37592" lon="-71.05625"/>
<point lat="42.37589" lon="-71.05629"/>
<point lat="42.3757" lon="-71.05641"/>
<point lat="42.37545" lon="-71.05672"/>
<point lat="42.3753" lon="-71.05687"/>
<point lat="42.3748099" lon="-71.05747"/>
<point lat="42.37439" lon="-71.05803"/>
<point lat="42.37436" lon="-71.0581799"/>
<point lat="42.37439" lon="-71.05819"/>
<point lat="42.37432" lon="-71.05833"/>
<point lat="42.37426" lon="-71.05893"/>
<point lat="42.37426" lon="-71.05917"/>
<point lat="42.37435" lon="-71.0593899"/>
<point lat="42.37415" lon="-71.05968"/>
<point lat="42.374" lon="-71.06005"/>
<point lat="42.3739" lon="-71.0603"/>
<point lat="42.37361" lon="-71.06048"/>
<point lat="42.3733" lon="-71.06071"/>
<point lat="42.37319" lon="-71.0608"/>
<point lat="42.37322" lon="-71.06087"/>
</path>
<path>
<point lat="42.38331" lon="-71.07159"/>
<point lat="42.3831599" lon="-71.07114"/>
<point lat="42.38286" lon="-71.07055"/>
<point lat="42.38279" lon="-71.0704"/>
<point lat="42.38254" lon="-71.06989"/>
<point lat="42.38244" lon="-71.0697"/>
<point lat="42.3823999" lon="-71.06973"/>
<point lat="42.38225" lon="-71.06931"/>
<point lat="42.38198" lon="-71.06876"/>
<point lat="42.38195" lon="-71.06879"/>
<point lat="42.3819299" lon="-71.06864"/>
<point lat="42.38154" lon="-71.06788"/>
<point lat="42.3812" lon="-71.0671799"/>
<point lat="42.38088" lon="-71.06663"/>
<point lat="42.3798699" lon="-71.06464"/>
<point lat="42.37966" lon="-71.0640899"/>
<point lat="42.37944" lon="-71.06366"/>
<point lat="42.37921" lon="-71.06322"/>
<point lat="42.3791" lon="-71.06296"/>
<point lat="42.37906" lon="-71.06299"/>
<point lat="42.37897" lon="-71.06264"/>
<point lat="42.37872" lon="-71.06179"/>
<point lat="42.37865" lon="-71.06158"/>
<point lat="42.37853" lon="-71.06126"/>
<point lat="42.37842" lon="-71.06097"/>
<point lat="42.37833" lon="-71.06075"/>
<point lat="42.3782799" lon="-71.06078"/>
</path>
<path>
<point lat="42.38343" lon="-71.0716"/>
<point lat="42.3836" lon="-71.07209"/>
<point lat="42.3838" lon="-71.07237"/>
<point lat="42.38399" lon="-71.07244"/>
<point lat="42.3842799" lon="-71.07268"/>
<point lat="42.3843699" lon="-71.07275"/>
<point lat="42.3844" lon="-71.07268"/>
<point lat="42.38452" lon="-71.0728199"/>
<point lat="42.38496" lon="-71.07274"/>
<point lat="42.38509" lon="-71.07295"/>
<point lat="42.38518" lon="-71.07312"/>
<point lat="42.3852" lon="-71.0732699"/>
<point lat="42.3852" lon="-71.07341"/>
<point lat="42.38514" lon="-71.07357"/>
<point lat="42.38505" lon="-71.0737"/>
<point lat="42.38479" lon="-71.07381"/>
<point lat="42.3843699" lon="-71.07402"/>
<point lat="42.38413" lon="-71.07419"/>
<point lat="42.38403" lon="-71.07429"/>
<point lat="42.38391" lon="-71.07444"/>
<point lat="42.38386" lon="-71.07456"/>
<point lat="42.38374" lon="-71.07487"/>
<point lat="42.38358" lon="-71.07529"/>
<point lat="42.3837199" lon="-71.07545"/>
<point lat="42.38384" lon="-71.07538"/>
<point lat="42.3841899" lon="-71.07538"/>
<point lat="42.38444" lon="-71.0754"/>
<point lat="42.38454" lon="-71.07542"/>
<point lat="42.3847" lon="-71.07553"/>
<point lat="42.38477" lon="-71.07563"/>
<point lat="42.3848399" lon="-71.07574"/>
<point lat="42.38488" lon="-71.07595"/>
<point lat="42.38485" lon="-71.07612"/>
<point lat="42.38477" lon="-71.07628"/>
<point lat="42.38468" lon="-71.0764"/>
<point lat="42.3845" lon="-71.07647"/>
<point lat="42.38427" lon="-71.07649"/>
<point lat="42.38413" lon="-71.07649"/>
<point lat="42.38398" lon="-71.07699"/>
</path>
<path>
<point lat="42.37191" lon="-71.06095"/>
<point lat="42.37177" lon="-71.0611"/>
<point lat="42.3711399" lon="-71.06201"/>
<point lat="42.37104" lon="-71.06223"/>
<point lat="42.37095" lon="-71.06204"/>
<point lat="42.37075" lon="-71.06161"/>
<point lat="42.37062" lon="-71.06142"/>
<point lat="42.3705" lon="-71.0612699"/>
<point lat="42.37028" lon="-71.06104"/>
<point lat="42.37018" lon="-71.06095"/>
<point lat="42.36981" lon="-71.06067"/>
<point lat="42.36697" lon="-71.05866"/>
<point lat="42.36687" lon="-71.05853"/>
<point lat="42.36667" lon="-71.0585"/>
<point lat="42.36614" lon="-71.05846"/>
<point lat="42.36593" lon="-71.05843"/>
<point lat="42.36575" lon="-71.05843"/>
<point lat="42.36575" lon="-71.0585"/>
</path>
<path>
<point lat="42.36302" lon="-71.05829"/>
<point lat="42.3631" lon="-71.05816"/>
<point lat="42.3628799" lon="-71.05789"/>
<point lat="42.36285" lon="-71.05776"/>
<point lat="42.3627899" lon="-71.05765"/>
<point lat="42.36276" lon="-71.0575099"/>
<point lat="42.36259" lon="-71.05727"/>
<point lat="42.3624099" lon="-71.05699"/>
<point lat="42.36225" lon="-71.05671"/>
<point lat="42.3621399" lon="-71.05649"/>
<point lat="42.36201" lon="-71.05673"/>
<point lat="42.36181" lon="-71.05652"/>
<point lat="42.36147" lon="-71.05613"/>
<point lat="42.36137" lon="-71.05599"/>
<point lat="42.3612899" lon="-71.05586"/>
<point lat="42.3611" lon="-71.05553"/>
<point lat="42.36085" lon="-71.05574"/>
<point lat="42.36066" lon="-71.05598"/>
<point lat="42.36053" lon="-71.05623"/>
<point lat="42.36043" lon="-71.05647"/>
<point lat="42.3603499" lon="-71.05671"/>
<point lat="42.36022" lon="-71.0571499"/>
<point lat="42.36037" lon="-71.0572"/>
<point lat="42.36039" lon="-71.05713"/>
<point lat="42.36122" lon="-71.05746"/>
<point lat="42.36151" lon="-71.05761"/>
<point lat="42.36177" lon="-71.05775"/>
<point lat="42.3618499" lon="-71.05772"/>
</path>
<path>
<point lat="42.37322" lon="-71.06087"/>
<point lat="42.37298" lon="-71.06097"/>
<point lat="42.37263" lon="-71.06076"/>
<point lat="42.37219" lon="-71.0605099"/>
<point lat="42.37197" lon="-71.06083"/>
<point lat="42.37191" lon="-71.06095"/>
</path>
<path>
<point lat="42.36575" lon="-71.0585"/>
<point lat="42.36549" lon="-71.05843"/>
<point lat="42.36522" lon="-71.05841"/>
<point lat="42.3641999" lon="-71.05841"/>
<point lat="42.3638" lon="-71.05839"/>
<point lat="42.36368" lon="-71.0584"/>
<point lat="42.36356" lon="-71.0583599"/>
<point lat="42.36341" lon="-71.05834"/>
<point lat="42.36329" lon="-71.05842"/>
<point lat="42.36302" lon="-71.05829"/>
</path>
<path>
<point lat="42.3618499" lon="-71.05772"/>
<point lat="42.36247" lon="-71.05839"/>
<point lat="42.36272" lon="-71.05762"/>
<point lat="42.36276" lon="-71.0575099"/>
<point lat="42.36282" lon="-71.05735"/>
<point lat="42.3629" lon="-71.05718"/>
<point lat="42.36304" lon="-71.05702"/>
<point lat="42.36314" lon="-71.05697"/>
<point lat="42.36332" lon="-71.05719"/>
<point lat="42.36379" lon="-71.05772"/>
<point lat="42.36436" lon="-71.05819"/>
<point lat="42.36449" lon="-71.0583"/>
<point lat="42.36477" lon="-71.05833"/>
<point lat="42.36519" lon="-71.0583599"/>
<point lat="42.3652" lon="-71.05826"/>
<point lat="42.36593" lon="-71.05843"/>
<point lat="42.36614" lon="-71.05846"/>
<point lat="42.36667" lon="-71.0585"/>
<point lat="42.36687" lon="-71.05853"/>
<point lat="42.36701" lon="-71.0585399"/>
<point lat="42.3671" lon="-71.05859"/>
<point lat="42.36728" lon="-71.0587"/>
<point lat="42.36741" lon="-71.05879"/>
<point lat="42.36743" lon="-71.05873"/>
</path>
<path>
<point lat="42.3618499" lon="-71.05772"/>
<point lat="42.36199" lon="-71.05795"/>
<point lat="42.36247" lon="-71.05839"/>
<point lat="42.36272" lon="-71.05762"/>
<point lat="42.36276" lon="-71.0575099"/>
<point lat="42.36282" lon="-71.05735"/>
<point lat="42.3629" lon="-71.05718"/>
<point lat="42.36304" lon="-71.05702"/>
<point lat="42.36314" lon="-71.05697"/>
<point lat="42.36332" lon="-71.05719"/>
<point lat="42.36379" lon="-71.05772"/>
<point lat="42.36436" lon="-71.05819"/>
<point lat="42.36449" lon="-71.0583"/>
<point lat="42.36477" lon="-71.05833"/>
<point lat="42.36519" lon="-71.0583599"/>
<point lat="42.3652" lon="-71.05826"/>
<point lat="42.36593" lon="-71.05843"/>
<point lat="42.36614" lon="-71.05846"/>
<point lat="42.36667" lon="-71.0585"/>
<point lat="42.36687" lon="-71.05853"/>
<point lat="42.36701" lon="-71.0585399"/>
<point lat="42.3671" lon="-71.05859"/>
<point lat="42.36728" lon="-71.0587"/>
<point lat="42.36741" lon="-71.05879"/>
<point lat="42.36743" lon="-71.05873"/>
</path>
<path>
<point lat="42.35684" lon="-71.05741"/>
<point lat="42.35683" lon="-71.05734"/>
<point lat="42.3567899" lon="-71.05681"/>
<point lat="42.35681" lon="-71.05634"/>
<point lat="42.35685" lon="-71.05602"/>
<point lat="42.3569" lon="-71.05576"/>
<point lat="42.35704" lon="-71.05592"/>
<point lat="42.35746" lon="-71.05632"/>
<point lat="42.3575" lon="-71.05625"/>
</path>
<path>
<point lat="42.3586" lon="-71.05731"/>
<point lat="42.35843" lon="-71.05727"/>
<point lat="42.35824" lon="-71.05729"/>
<point lat="42.35757" lon="-71.0573299"/>
<point lat="42.35745" lon="-71.0573299"/>
<point lat="42.35693" lon="-71.0573299"/>
<point lat="42.35683" lon="-71.05734"/>
<point lat="42.35684" lon="-71.05741"/>
</path>
<path>
<point lat="42.35879" lon="-71.05673"/>
<point lat="42.35903" lon="-71.05681"/>
<point lat="42.36022" lon="-71.0571499"/>
<point lat="42.36037" lon="-71.0572"/>
<point lat="42.36039" lon="-71.05713"/>
<point lat="42.36122" lon="-71.05746"/>
<point lat="42.36151" lon="-71.05761"/>
<point lat="42.36177" lon="-71.05775"/>
<point lat="42.3618499" lon="-71.05772"/>
</path>
<path>
<point lat="42.36575" lon="-71.0585"/>
<point lat="42.36549" lon="-71.05843"/>
<point lat="42.36522" lon="-71.05841"/>
<point lat="42.3641999" lon="-71.05841"/>
<point lat="42.3638" lon="-71.05839"/>
<point lat="42.36348" lon="-71.05892"/>
<point lat="42.36311" lon="-71.05952"/>
<point lat="42.36306" lon="-71.0597499"/>
<point lat="42.36298" lon="-71.05997"/>
<point lat="42.36292" lon="-71.0598"/>
<point lat="42.36282" lon="-71.05949"/>
<point lat="42.36273" lon="-71.05919"/>
<point lat="42.36257" lon="-71.05883"/>
<point lat="42.3624099" lon="-71.05852"/>
<point lat="42.36155" lon="-71.05777"/>
<point lat="42.3611999" lon="-71.05757"/>
<point lat="42.3611099" lon="-71.05754"/>
<point lat="42.3611" lon="-71.05763"/>
</path>
<path>
<point lat="42.38398" lon="-71.07699"/>
<point lat="42.38413" lon="-71.07628"/>
<point lat="42.38369" lon="-71.07628"/>
<point lat="42.3836" lon="-71.0762699"/>
<point lat="42.38352" lon="-71.07619"/>
<point lat="42.3835" lon="-71.07597"/>
<point lat="42.38368" lon="-71.07551"/>
<point lat="42.38378" lon="-71.0754"/>
<point lat="42.3841899" lon="-71.07538"/>
<point lat="42.38439" lon="-71.07523"/>
<point lat="42.38444" lon="-71.0749699"/>
<point lat="42.38425" lon="-71.07472"/>
<point lat="42.38414" lon="-71.07453"/>
<point lat="42.38406" lon="-71.0743899"/>
<point lat="42.38393" lon="-71.07396"/>
<point lat="42.38389" lon="-71.07372"/>
<point lat="42.38386" lon="-71.07357"/>
<point lat="42.38385" lon="-71.07341"/>
<point lat="42.38387" lon="-71.07328"/>
<point lat="42.38393" lon="-71.07314"/>
<point lat="42.38401" lon="-71.07304"/>
<point lat="42.38408" lon="-71.07289"/>
<point lat="42.38409" lon="-71.07272"/>
<point lat="42.38395" lon="-71.07256"/>
<point lat="42.3838" lon="-71.07237"/>
<point lat="42.3837199" lon="-71.0723299"/>
<point lat="42.3836" lon="-71.07209"/>
<point lat="42.38344" lon="-71.07173"/>
<point lat="42.38336" lon="-71.07156"/>
<point lat="42.38331" lon="-71.07159"/>
</path>
<path>
<point lat="42.3611" lon="-71.05763"/>
<point lat="42.35901" lon="-71.05693"/>
<point lat="42.35886" lon="-71.05683"/>
<point lat="42.35886" lon="-71.05699"/>
<point lat="42.3588499" lon="-71.05723"/>
<point lat="42.3586" lon="-71.05726"/>
<point lat="42.3586" lon="-71.05731"/>
</path>
<path>
<point lat="42.38398" lon="-71.07699"/>
<point lat="42.38413" lon="-71.07649"/>
<point lat="42.38391" lon="-71.0765"/>
<point lat="42.38362" lon="-71.07646"/>
<point lat="42.38346" lon="-71.07635"/>
<point lat="42.38345" lon="-71.07617"/>
<point lat="42.3835" lon="-71.07597"/>
<point lat="42.38368" lon="-71.07551"/>
<point lat="42.38378" lon="-71.0754"/>
<point lat="42.3841899" lon="-71.07538"/>
<point lat="42.38439" lon="-71.07523"/>
<point lat="42.38444" lon="-71.0749699"/>
<point lat="42.38425" lon="-71.07472"/>
<point lat="42.38414" lon="-71.07453"/>
<point lat="42.38406" lon="-71.0743899"/>
<point lat="42.38393" lon="-71.07396"/>
<point lat="42.38389" lon="-71.07372"/>
<point lat="42.38386" lon="-71.07357"/>
<point lat="42.38385" lon="-71.07341"/>
<point lat="42.38387" lon="-71.07328"/>
<point lat="42.38393" lon="-71.07314"/>
<point lat="42.38401" lon="-71.07304"/>
<point lat="42.38408" lon="-71.07289"/>
<point lat="42.38409" lon="-71.07272"/>
<point lat="42.38395" lon="-71.07256"/>
<point lat="42.3838" lon="-71.07237"/>
<point lat="42.3837199" lon="-71.0723299"/>
<point lat="42.3836" lon="-71.07209"/>
<point lat="42.38344" lon="-71.07173"/>
<point lat="42.38336" lon="-71.07156"/>
<point lat="42.38331" lon="-71.07159"/>
</path>
<path>
<point lat="42.3782799" lon="-71.06078"/>
<point lat="42.37829" lon="-71.06064"/>
<point lat="42.37816" lon="-71.0602399"/>
<point lat="42.37778" lon="-71.05908"/>
<point lat="42.37766" lon="-71.05888"/>
<point lat="42.37769" lon="-71.05885"/>
<point lat="42.37765" lon="-71.05874"/>
<point lat="42.37753" lon="-71.05841"/>
<point lat="42.37719" lon="-71.05741"/>
<point lat="42.37707" lon="-71.05712"/>
<point lat="42.377" lon="-71.0568399"/>
<point lat="42.3769599" lon="-71.05686"/>
<point lat="42.37691" lon="-71.05646"/>
<point lat="42.37674" lon="-71.05619"/>
<point lat="42.37657" lon="-71.05584"/>
<point lat="42.3765" lon="-71.05571"/>
<point lat="42.37633" lon="-71.05541"/>
<point lat="42.37621" lon="-71.05523"/>
<point lat="42.37683" lon="-71.05457"/>
<point lat="42.3776" lon="-71.05376"/>
<point lat="42.37771" lon="-71.05364"/>
<point lat="42.37813" lon="-71.05321"/>
<point lat="42.3784" lon="-71.05296"/>
<point lat="42.3787" lon="-71.05267"/>
<point lat="42.37865" lon="-71.05239"/>
<point lat="42.3782799" lon="-71.0522"/>
<point lat="42.37795" lon="-71.05204"/>
<point lat="42.37767" lon="-71.05172"/>
<point lat="42.37738" lon="-71.0514199"/>
<point lat="42.37707" lon="-71.05116"/>
<point lat="42.3771" lon="-71.0511"/>
<point lat="42.37703" lon="-71.05102"/>
<point lat="42.37658" lon="-71.05173"/>
<point lat="42.37612" lon="-71.05244"/>
<point lat="42.37605" lon="-71.05257"/>
<point lat="42.37609" lon="-71.05261"/>
<point lat="42.3758" lon="-71.05298"/>
<point lat="42.37543" lon="-71.05355"/>
<point lat="42.37524" lon="-71.0539"/>
<point lat="42.37479" lon="-71.05462"/>
<point lat="42.37456" lon="-71.05505"/>
<point lat="42.37459" lon="-71.05508"/>
<point lat="42.37445" lon="-71.05524"/>
<point lat="42.37475" lon="-71.05556"/>
<point lat="42.37501" lon="-71.05584"/>
<point lat="42.37518" lon="-71.05608"/>
<point lat="42.3753" lon="-71.05625"/>
<point lat="42.37506" lon="-71.05665"/>
<point lat="42.37486" lon="-71.05696"/>
<point lat="42.37454" lon="-71.05735"/>
<point lat="42.37423" lon="-71.05775"/>
<point lat="42.37383" lon="-71.05831"/>
<point lat="42.37379" lon="-71.05825"/>
<point lat="42.3737" lon="-71.05835"/>
<point lat="42.37348" lon="-71.05861"/>
<point lat="42.37324" lon="-71.05903"/>
<point lat="42.3729299" lon="-71.0594799"/>
<point lat="42.37219" lon="-71.0605099"/>
<point lat="42.37197" lon="-71.06083"/>
<point lat="42.37191" lon="-71.06095"/>
</path>
<path>
<point lat="42.36743" lon="-71.05873"/>
<point lat="42.3701099" lon="-71.0607"/>
<point lat="42.37046" lon="-71.06098"/>
<point lat="42.37061" lon="-71.06113"/>
<point lat="42.3707" lon="-71.06123"/>
<point lat="42.3708" lon="-71.06135"/>
<point lat="42.3708699" lon="-71.06147"/>
<point lat="42.37099" lon="-71.06167"/>
<point lat="42.37109" lon="-71.06188"/>
<point lat="42.37168" lon="-71.06105"/>
<point lat="42.37183" lon="-71.06085"/>
<point lat="42.3721" lon="-71.06044"/>
<point lat="42.3722" lon="-71.0603"/>
<point lat="42.37215" lon="-71.06023"/>
<point lat="42.37282" lon="-71.05938"/>
<point lat="42.37313" lon="-71.05897"/>
<point lat="42.37348" lon="-71.05861"/>
<point lat="42.3737" lon="-71.05835"/>
<point lat="42.3738" lon="-71.05824"/>
<point lat="42.37377" lon="-71.05819"/>
<point lat="42.37423" lon="-71.05775"/>
<point lat="42.37454" lon="-71.05735"/>
<point lat="42.37486" lon="-71.05696"/>
<point lat="42.37506" lon="-71.05665"/>
<point lat="42.37524" lon="-71.05634"/>
<point lat="42.37518" lon="-71.05628"/>
<point lat="42.37518" lon="-71.05608"/>
<point lat="42.3751" lon="-71.05609"/>
<point lat="42.37501" lon="-71.05584"/>
<point lat="42.37475" lon="-71.05556"/>
<point lat="42.37445" lon="-71.05524"/>
<point lat="42.37479" lon="-71.05462"/>
<point lat="42.37486" lon="-71.0545099"/>
<point lat="42.3748099" lon="-71.05446"/>
<point lat="42.37524" lon="-71.0539"/>
<point lat="42.37543" lon="-71.05355"/>
<point lat="42.3758" lon="-71.05298"/>
<point lat="42.37612" lon="-71.05244"/>
<point lat="42.37622" lon="-71.05228"/>
<point lat="42.3762" lon="-71.05225"/>
<point lat="42.37658" lon="-71.05173"/>
<point lat="42.37703" lon="-71.05102"/>
<point lat="42.37738" lon="-71.0514199"/>
<point lat="42.37767" lon="-71.05172"/>
<point lat="42.37795" lon="-71.05204"/>
<point lat="42.3782799" lon="-71.0522"/>
<point lat="42.37857" lon="-71.05235"/>
<point lat="42.37859" lon="-71.05229"/>
<point lat="42.37877" lon="-71.0526"/>
<point lat="42.3784" lon="-71.05296"/>
<point lat="42.37813" lon="-71.05321"/>
<point lat="42.37771" lon="-71.05364"/>
<point lat="42.3776" lon="-71.05376"/>
<point lat="42.37683" lon="-71.05457"/>
<point lat="42.37621" lon="-71.05523"/>
<point lat="42.37633" lon="-71.05541"/>
<point lat="42.3765" lon="-71.05571"/>
<point lat="42.37657" lon="-71.05584"/>
<point lat="42.37672" lon="-71.05616"/>
<point lat="42.37685" lon="-71.05636"/>
<point lat="42.37688" lon="-71.05632"/>
<point lat="42.37691" lon="-71.05646"/>
<point lat="42.37706" lon="-71.05705"/>
<point lat="42.37719" lon="-71.05741"/>
<point lat="42.37753" lon="-71.05841"/>
<point lat="42.37765" lon="-71.05874"/>
<point lat="42.37778" lon="-71.05908"/>
<point lat="42.37792" lon="-71.0595"/>
<point lat="42.37801" lon="-71.05976"/>
<point lat="42.37806" lon="-71.05973"/>
<point lat="42.37816" lon="-71.0602399"/>
<point lat="42.37829" lon="-71.06064"/>
<point lat="42.37842" lon="-71.06097"/>
<point lat="42.37853" lon="-71.06126"/>
<point lat="42.3786" lon="-71.06146"/>
<point lat="42.37863" lon="-71.06144"/>
<point lat="42.37865" lon="-71.06158"/>
<point lat="42.37872" lon="-71.06179"/>
<point lat="42.37897" lon="-71.06264"/>
<point lat="42.37917" lon="-71.06314"/>
<point lat="42.37938" lon="-71.06354"/>
<point lat="42.37941" lon="-71.0635099"/>
<point lat="42.37944" lon="-71.06366"/>
<point lat="42.37966" lon="-71.0640899"/>
<point lat="42.37986" lon="-71.0645"/>
<point lat="42.38027" lon="-71.0652"/>
<point lat="42.38114" lon="-71.06695"/>
<point lat="42.38111" lon="-71.06698"/>
<point lat="42.38116" lon="-71.0670899"/>
<point lat="42.38154" lon="-71.06788"/>
<point lat="42.38185" lon="-71.0683899"/>
<point lat="42.38182" lon="-71.06843"/>
<point lat="42.38189" lon="-71.06858"/>
<point lat="42.38225" lon="-71.06931"/>
<point lat="42.38251" lon="-71.06974"/>
<point lat="42.38279" lon="-71.0704"/>
<point lat="42.38286" lon="-71.07055"/>
<point lat="42.3831599" lon="-71.07114"/>
<point lat="42.38339" lon="-71.07163"/>
<point lat="42.38343" lon="-71.0716"/>
</path>
<path>
<point lat="42.3575" lon="-71.05625"/>
<point lat="42.35758" lon="-71.05641"/>
<point lat="42.35772" lon="-71.05644"/>
<point lat="42.35804" lon="-71.05654"/>
<point lat="42.35848" lon="-71.05668"/>
<point lat="42.35878" lon="-71.05679"/>
<point lat="42.35879" lon="-71.05673"/>
</path>
</route>
</body>


is for the Somerville Broadway Bus

Developer at MBTA

unread,
May 9, 2017, 11:10:59 AM5/9/17
to MBTA Developers
Hi Gary, 

Although our bus data's available in NextBus's API, our recommendation is that developers use the MBTA-realtime API, which is documented at http://realtime.mbta.com. To try to answer your questions, route 89/93 is the name of a route that serves portions of both route 89 and route 93, what we call a "hybrid" route. It only runs once a day in the very early morning. NextBus's API isn't returning data for it because it's expecting the route_id or "routeTag" 8993, not the name 89/93. 

Does this answer your question? 

Sincerely,
developer@mbta

Gary Johnson

unread,
May 10, 2017, 10:18:29 AM5/10/17
to MBTA Developers
Thanks for the response.  I am researching why I do not see predictions for my bus stop going downtown

Here are the results from the realtime queries
 

predictionsbystop query

 

http://realtime.mbta.com/developer/api/v2/predictionsbystop?api_key=wX9NwuHnZU2ToO7GmGR9uw&stop=2847&format=json


{"stop_id":"2847","stop_name":"Bunker Hill St @ Clarken Ct","alert_headers":[]}


As you can see, nothing,  This bus runs all day, there is a problem

 

For the opposite direction, we see results

 

http://realtime.mbta.com/developer/api/v2/predictionsbystop?api_key=wX9NwuHnZU2ToO7GmGR9uw&stop=2865&format=json

 

{"stop_id":"2865","stop_name":"Bunker Hill St @ N Mead St","mode":[{"route_type":"3","mode_name":"Bus","route":[{"route_id":"93","route_name":"93","direction":[{"direction_id":"0","direction_name":"Outbound","trip":[{"trip_id":"33400820","trip_name":"9:55 am from Devonshire St @ Milk St to Sullivan Station - Upper Busway","trip_headsign":"Sullivan","sch_arr_dt":"1494425340","sch_dep_dt":"1494425340","pre_dt":"1494425610","pre_away":"9","vehicle":{"vehicle_id":"y1422","vehicle_lat":"42.3791275024414","vehicle_lon":"-71.063232421875","vehicle_bearing":"305","vehicle_speed":"0","vehicle_timestamp":"1494425515","vehicle_label":"1422"}},{"trip_id":"33400886","trip_name":"10:10 am from Devonshire St @ Milk St to Sullivan Station - Upper Busway","trip_headsign":"Sullivan","sch_arr_dt":"1494426300","sch_dep_dt":"1494426300","pre_dt":"1494426359","pre_away":"758","vehicle":{"vehicle_id":"y0602","vehicle_lat":"42.3568725585938","vehicle_lon":"-71.056037902832","vehicle_bearing":"80","vehicle_speed":"0","vehicle_timestamp":"1494425387","vehicle_label":"0602"}},{"trip_id":"33400914","trip_name":"10:25 am from Devonshire St @ Milk St to Sullivan Station - Upper Busway","trip_headsign":"Sullivan via Navy Yard","sch_arr_dt":"1494427260","sch_dep_dt":"1494427260","pre_dt":"1494427512","pre_away":"1911"}]}]}]}],"alert_headers":[]}

 

Can I help you fix this?   

Gary Johnson

unread,
May 10, 2017, 11:02:08 AM5/10/17
to MBTA Developers
I tried the query again, It shows the Bus via the Navy Yard, but it does not show the regular bus. Once an hour the 93 goes by way of the Navy Yard


"stop_id":"2847","stop_name":"Bunker Hill St @ Clarken Ct","mode":[{"route_type":"3","mode_name":"Bus","route":[{"route_id":"93","route_name":"93","direction":[{"direction_id":"1","direction_name":"Inbound","trip":[{"trip_id":"33400915","trip_name":"11:00 am from Sullivan Station - Lower Busway to Devonshire St @ Milk St","trip_headsign":"Downtown via Navy Yard","sch_arr_dt":"1494428520","sch_dep_dt":"1494428520","pre_dt":"1494428604","pre_away":"568","vehicle":{"vehicle_id":"y1432","vehicle_lat":"42.3840522766113","vehicle_lon":"-71.0753860473633","vehicle_bearing":"216","vehicle_speed":"0","vehicle_timestamp":"1494428005","vehicle_label":"1432"}},{"trip_id":"33400809","trip_name":"11:20 am from Sullivan Station - Lower Busway to Devonshire St @ Milk St","trip_headsign":"Downtown","sch_arr_dt":"1494429720","sch_dep_dt":"1494429720","pre_dt":"1494429815","pre_away":"1779"}]}]}]}],"alert_headers":[]}

this query

uses lat and long and returns many more results
{"stop":[{"stop_id":"2865","stop_name":"Bunker Hill St @ N Mead St","parent_station":"","parent_station_name":"","stop_lat":"42.381137","stop_lon":"-71.066955","distance":"0.0104834046214819"},{"stop_id":"2847","stop_name":"Bunker Hill St @ Clarken Ct","parent_station":"","parent_station_name":"","stop_lat":"42.380878","stop_lon":"-71.066635","distance":"0.0235621798783541"},{"stop_id":"2866","stop_name":"Bunker Hill St @ St Martin St","parent_station":"","parent_station_name":"","stop_lat":"42.381853","stop_lon":"-71.068394","distance":"0.0895955860614777"},{"stop_id":"2864","stop_name":"Bunker Hill St @ Sackville St","parent_station":"","parent_station_name":"","stop_lat":"42.380271","stop_lon":"-71.065203","distance":"0.107711754739285"},{"stop_id":"2846","stop_name":"Bunker Hill St @ Auburn St","parent_station":"","parent_station_name":"","stop_lat":"42.381948","stop_lon":"-71.068789","distance":"0.109246701002121"},{"stop_id":"2848","stop_name":"Bunker Hill St @ Sullivan St","parent_station":"","parent_station_name":"","stop_lat":"42.379871","stop_lon":"-71.064639","distance":"0.146554216742516"},{"stop_id":"2839","stop_name":"Main St @ Oak St","parent_station":"","parent_station_name":"","stop_lat":"42.380038","stop_lon":"-71.069646","distance":"0.147926807403564"},{"stop_id":"2823","stop_name":"Main St @ Middlesex St","parent_station":"","parent_station_name":"","stop_lat":"42.380135","stop_lon":"-71.069908","distance":"0.157196849584579"},{"stop_id":"2845","stop_name":"Bunker Hill St @ Baldwin St","parent_station":"","parent_station_name":"","stop_lat":"42.382401","stop_lon":"-71.069733","distance":"0.16672545671463"},{"stop_id":"12866","stop_name":"Bunker Hill St @ Baldwin St","parent_station":"","parent_station_name":"","stop_lat":"42.382514","stop_lon":"-71.069736","distance":"0.171404421329498"},{"stop_id":"2838","stop_name":"Main St @ Walker St","parent_station":"","parent_station_name":"","stop_lat":"42.378342","stop_lon":"-71.067914","distance":"0.189221605658531"},{"stop_id":"2840","stop_name":"Main St @ Baldwin St","parent_station":"","parent_station_name":"","stop_lat":"42.38125","stop_lon":"-71.070852","distance":"0.194127976894379"},{"stop_id":"2822","stop_name":"Main St @ Baldwin St","parent_station":"","parent_station_name":"","stop_lat":"42.381149","stop_lon":"-71.070908","distance":"0.196383655071259"},{"stop_id":"2824","stop_name":"Main St @ Dunstable St","parent_station":"","parent_station_name":"","stop_lat":"42.378076","stop_lon":"-71.067792","distance":"0.205989003181458"},{"stop_id":"2863","stop_name":"Bunker Hill St @ Pearl St","parent_station":"","parent_station_name":"","stop_lat":"42.379412","stop_lon":"-71.063506","distance":"0.212165728211403"}]}

Gary Johnson

unread,
May 10, 2017, 1:19:52 PM5/10/17
to MBTA Developers
I did this page to make doing the queries easier:

Developer at MBTA

unread,
May 10, 2017, 3:17:16 PM5/10/17
to MBTA Developers
Hi Gary,

Under certain circumstances, the MBTA-realtime API does not show bus predictions greater than 30 minutes.

We're looking into why there are fewer predictions generated than expected. This combined with the 30-minute limit could cause no predictions to be returned, or predictions on only one of the route variations.

Sincerely,
developer@mbta

Gary gmgj Johnson

unread,
May 10, 2017, 5:08:44 PM5/10/17
to massdotd...@googlegroups.com
Thanks for the reply.  BTW, getting accurate predictions is AWESOME. LOVE IT.  Makes taking the bus a really viable option.  Thanks for all your work

--
You received this message because you are subscribed to a topic in the Google Groups "MBTA Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/massdotdevelopers/o8k2yTYka54/unsubscribe.
To unsubscribe from this group and all its topics, send an email to massdotdevelopers+unsubscribe@googlegroups.com.
To post to this group, send email to massdotdevelopers@googlegroups.com.
Visit this group at https://groups.google.com/group/massdotdevelopers.
For more options, visit https://groups.google.com/d/optout.



--
It's not that I mind your dishonesty so much, it's that you think I'm stupid -Charlie Brown , It's the Great Pumpkin.

http://GaryJohnsonInfo.Info

Gary Johnson

unread,
May 18, 2017, 11:01:38 AM5/18/17
to MBTA Developers
I did this html page to track stops

http://garyjohnsoninfo.info/mbta/mbtaajax.php


it allows you to enter in stop_ids and routes


I am comparing the results with NextBus


There are discrepancies, however, after 2 hours of testing, Nextbus has missed only one bus that I had, the would have been important to a rider,

They missed a trip


The source is on https://github.com/gmg   My Personal Repository - under dir mbta

Developer at MBTA

unread,
May 18, 2017, 11:17:24 AM5/18/17
to MBTA Developers
Thanks for sharing your tool Gary! We publish predictions for as many trips as possible. Under normal operation there are several possible reasons why one bus trip might be in the schedule but not have a prediction. One possible reason is that we had a technical problem tracking the trip. The other is that the trip did not run due to an operational issue. Unfortunately it's currently a case of "we don't know what we don't know," so it's not possible to distinguish between these two conditions in data (although in most cases if a trip isn't operating there will be an alert of delays on the route.) It is a distinction we do want to make in the future. 

-developer@mbta

Gary Johnson

unread,
May 18, 2017, 2:18:07 PM5/18/17
to MBTA Developers
The accuracy is really good.  Just to be clear, I am just trying to identify some glitches that might help you guys improve the service.  My guess is that your at 99%+ accuracy; however, I do not like to miss a bus.

I have started a wordpress blog to track anomalies I have spotted.

As of 2:11 Thu May 18, its shows a screenshot from nextbus, a screen snippet from my page, for a case where both missed a bus at 1:51 going inbound past Clarken, stop_id 2847.  (My desk is at 318 Bunker Hill Street. I can hear the old buses coming 200 yards away, the new ones are much more difficult to hear.)

I am logging the cases where there are no results for the two stops I am currently monitoring:
Clarken inbound 2847
North Mead outbound or towards Sullivan 2865
 
There are a few no results for Clarken inbound
To unsubscribe from this group and all its topics, send an email to massdotdevelop...@googlegroups.com.
To post to this group, send email to massdotd...@googlegroups.com.

Gary Johnson

unread,
May 19, 2017, 10:15:07 AM5/19/17
to MBTA Developers
Does this go under "Tremendous Perception for the Obvious" ?
The mbta computer system is big, and sometimes when you ask it something, it is not ready to answer, completely.

If you ride the bus, this can be a little disconcerting.

What do you do?  If I get no results, try again, pretty soon, the system will answer.
If your trying to plan to take a bus, what do you trust, the schedule, or the feed?

Re , sometimes results greater than 30 are not shown.

Here is a case more accurately described by me

Sometime, you just do not report results, it is not just when the trip is greater than 30 minutes out


at 10:01 no results


10:01 AM

 

no results for 2847

 

93 Outbound -Bunker Hill St @ N Mead St

14 minutes {...to  Sullivan Station - Upper Busway} Sign on Bus=93 Sullivan

25 minutes {...to  Sullivan Station - Upper Busway} Sign on Bus=93 Sullivan

45 minutes {...to  Sullivan Station - Upper Busway} Sign on Bus=93 Sullivan via Navy Yard

 

at 10:03, we have results for a bus coming in 6 minutes 


10:03 AM

 

93 Inbound -Bunker Hill St @ Clarken Ct

 6 minutes {...to  Devonshire St @ Milk St} Sign on Bus=93 Downtown via Navy Yard



Please see the attached file from the Nextbus app, its my favorite screen from there system, the Help page


Screenshot_20170518-110805.png

Gary Johnson

unread,
May 22, 2017, 12:23:06 PM5/22/17
to MBTA Developers
I have a few questions about the data from the feeds.

For example see the results on the site above for 
http://realtime.mbta.com/developer/api/v2/predictionsbyroute?api_key=wX9NwuHnZU2ToO7GmGR9uw&route=93&format=json

look at
"trip_id":"33400869",
"trip_name":"11:40 am from Sullivan Station - Lower Busway to Devonshire St @ Milk St",
"trip_headsign":"Downtown",

It goes from Sullivan to Milk street without any stops

...
         "direction_id":"1",
         "direction_name":"Inbound",
         "trip":[  
            {  
               "trip_id":"33400869",
               "trip_name":"11:40 am from Sullivan Station - Lower Busway to Devonshire St @ Milk St",
               "trip_headsign":"Downtown",
               "vehicle":{  
                  "vehicle_id":"y0602",
                  "vehicle_lat":"42.3591613769531",
                  "vehicle_lon":"-71.0568542480469",
                  "vehicle_bearing":"166",
                  "vehicle_speed":"0",
                  "vehicle_timestamp":"1495468851",
                  "vehicle_label":"0602"
               },
               "stop":[  
                  {  
                     "stop_sequence":"19",
                     "stop_id":"6548",
                     "stop_name":"Devonshire St @ Milk St",
                     "sch_arr_dt":"1495468740",
                     "sch_dep_dt":"1495468740",
                     "pre_dt":"1495468974",
                     "pre_away":"73"
                  }
               ]
            },


Is this right?  

I also see Navy Yard Trips from Sullivan with the following stops
Example results from myapp


93 Inbound {...to  Devonshire St @ Milk St} Sign on Bus=Downtown via Navy Yard
 3 minutes N Washington St @ Medford St
 7 minutes Congress St opp Hanover St
 8 minutes Devonshire St @ State St
10 minutes Devonshire St @ Milk St

Is this right?

Reply all
Reply to author
Forward
Message has been deleted
0 new messages