-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
329 lines (247 loc) · 29.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<html>
<head>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="https://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
</head>
<style>
#map-canvas {
width: 60%;
height: 300px;
float: left;
}
#messages {
width: 35%;
float: right;
margin: 10px 20px;
}
</style>
<script>
var map;
directionsService = new google.maps.DirectionsService();
directionsDisplay = new google.maps.DirectionsRenderer();
function getrailStations( callback ) {
console.log( 'getting rail lines' );
$.ajax( {
url: "file:///home/jsmiley/Documents/Development/google-directions-working-elevators/rail_lines.json",
success: function(data) {
railStations = data;
callback();
}
});
};
function getOutages( callback ) {
console.log( 'getting outages' );
$.ajax( {
url: "file:///home/jsmiley/Documents/Development/google-directions-working-elevators/outages.json",
success: function(data) {
outages = data;
},
});
};
function MyResponse( response ) {
this.response = response;
}
StopStatus = {
NO_ELEVATOR : 0,
ELEVATOR_WORKING : 1,
ELEVATOR_NOT_WORKING : 2,
toString: function( status ) {
if( status === StopStatus.NO_ELEVATOR ) {
return "no elevator";
}
else if( status === StopStatus.ELEVATOR_WORKING ) {
return "elevator working";
}
else if( status === StopStatus.ELEVATOR_NOT_WORKING ) {
return "elevator not working";
}
return "no idea what the status is";
}
};
MyResponse.prototype.getWheelchairRoute = function( waypoints ) {
self = this;
var legs = this.response.routes[0].legs;
transitStops = [];
$.each( legs, function(index, leg ) {
$.each( leg.steps, function( index, step ) {
var instructions = step.instructions;
//console.log( 'step: ' + instructions + " transit_detail follows" );
if( step.travel_mode == 'TRANSIT' ) {
vehicleType = step.transit.line.vehicle.type;
//console.log( 'outside vehicle type: ' + vehicleType );
if( vehicleType != 'BUS' && vehicleType != 'TRAM' ) { // is not a bus stop
//console.log( step.transit.line.short_name );
lineShortName = step.transit.line.short_name;
//console.log( 'inside vehicle type: ' + vehicleType + ' short line name ' + lineShortName );
//console.log( step.transit.line );
departStopName = step.transit.departure_stop.name;
arriveStopName = step.transit.arrival_stop.name;
departStatus = self.getElevatorStatus( departStopName, lineShortName );
arriveStatus = self.getElevatorStatus( arriveStopName, lineShortName );
console.log( 'departure stop ' + departStopName + "status: " + StopStatus.toString( departStatus ) );
console.log( 'arriaval stop ' + arriveStopName + " status: " + StopStatus.toString( arriveStatus ) );
if( departStatus != StopStatus.ELEVATOR_WORKING ) {
departureStop = step.transit.departure_stop;
lat = departureStop.location.A;
lng = departureStop.location.k;
self.addXMarker( lng, lat );
$('#messages').append( '<p>Station: ' + departStopName + '<br/> ' + StopStatus.toString( departStatus ) + '</p>' );
self.getClosestStation( lat, lng );
}
if( arriveStatus != StopStatus.ELEVATOR_WORKING ) {
arrivalStop = step.transit.arrival_stop;
lat = arrivalStop.location.A;
lng = arrivalStop.location.k;
self.addXMarker( lng, lat );
$('#messages').append( '<p>Station: ' + arriveStopName + '<br/> ' + StopStatus.toString( arriveStatus ) + '</p>' );
self.getClosestStation( lat, lng );
}
}
}
else {
//console.log( 'step follows' );
//console.log( step.instructions );
}
});
} );
}
MyResponse.prototype.getClosestStation = function(lat,lng) {
var url = "http://www3.septa.org/hackathon/locations/get_locations.php?lon="+lng+"&lat="+lat+"&radius=3&jsoncallback=?"
$.getJSON(url,function(result) {
console.log( 'result of getClosestStation' );
console.log( result );
});
}
MyResponse.prototype.addXMarker = function(lng,lat) {
var image = {
url: 'redx.png',
};
var marker = new google.maps.Marker({
position: new google.maps.LatLng( lng, lat ),
anchor: new google.maps.Point(0, 1000),
map: map,
icon: image,
zIndex: 10000
});
return marker;
}
MyResponse.prototype.getElevatorStatus = function( stopName, lineShortName ) {
self = this;
stationObj = this.getSeptaStation( stopName, lineShortName );
if( this.hasElevator( stationObj ) ) {
if( self.isStationOnOutageList( stationObj ) ) {
return StopStatus.ELEVATOR_NOT_WORKING;
}
else {
return StopStatus.ELEVATOR_WORKING;
}
} else {
return StopStatus.NO_ELEVATOR;
}
}
// return whether the given station object has an elevator
MyResponse.prototype.hasElevator = function( stationObj ) {
if( stationObj.wheelchair_boarding !== null ) {
return true;
}
return false;
}
MyResponse.prototype.isStationOnOutageList = function( stationObj ) {
var onList = false;
$.each( outages, function(index, outage) {
console.log( 'in isStationOnOutageList stationObj:' );
console.log( stationObj.stop_name );
if( stationObj.stop_name == outage.stop_name ) {
onList = true;
}
return; //break
} );
return onList;
}
MyResponse.prototype.getGoogleStationLineShortName = function( station ) {
if( station.MFL == 1 ) {
return "MFL";
}
else if( station.BSS == 1 ) {
return "BSS";
}
console.log( "could not determine the short name for the following station" );
console.log( station );
}
// get the station from railStations json issued by septa
MyResponse.prototype.getSeptaStation = function( stopName, lineShortName ) {
self = this;
foundStation = null;
$.each( railStations.stations, function( index, station ) {
if( stopName.toLowerCase() == station.stop_name.toLowerCase()
&& lineShortName == self.getGoogleStationLineShortName( station ) ) {
foundStation = station;
return;
}
} );
if( foundStation === null ) {
msg = 'unable to find station in rail lines with name "' + stopName + '" shortName: ' + lineShortName;
console.log( msg );
$.each( railStations.stations, function( index, station ) {
console.log( stopName + " " + station.stop_name );
} );
}
return foundStation;
}
// return whether the station has a working elevator
MyResponse.prototype.isElevatorWorking = function( station ) {
return station.wheelchair_boarding !== null;
}
function loadMap() {
var philadelphia = new google.maps.LatLng(39.9523400,-75.1637900);
var mapOptions = {
zoom: 10,
center: philadelphia
};
map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
}
function getDirections() {
var startAddress = $('#startAddress').val();
var endAddress = $('#endAddress').val();
console.log( "start address: " + startAddress + " end address: " + endAddress );
request = {
origin: startAddress,
destination: endAddress,
provideRouteAlternatives: false,
travelMode: google.maps.TravelMode.TRANSIT,
};
directionsService.route(request, function(response, status) {
if (status == google.maps.DirectionsStatus.OK) {
directionsDisplay.setMap(null);
myRes = new MyResponse( response );
directionsDisplay = new google.maps.DirectionsRenderer();
directionsDisplay.setMap(map);
myRes.getWheelchairRoute();
directionsDisplay.setDirections( myRes.response );
}
else {
console.log( 'request failed with ' + status );
console.log( response );
}
});
}
$(document).ready( function() {
loadMap();
});
</script>
<body>
</body>
<div>
<input id="startAddress" type="text" value="1128 foulkrod st phila"/>
<input id="endAddress" type="text" value="30th street station phila"/>
<input type="submit" name="Submit" onClick="return getDirections();"/>
</div>
<div id='map-canvas'></div>
<div id='messages'></div>
<script>
var outages = [{"_id":{"stationId":"21532","outageStart":"2014-05-31 16:27:16 UTC"},"duration":41,"isActive":true,"outageEnd":null,"stop_name":"30th St Station","line_code":"MFL"},{"_id":{"stationId":"20967","outageStart":"2014-05-31 15:10:51 UTC"},"duration":118,"isActive":true,"outageEnd":null,"stop_name":"Oregon Station","line_code":"BSS"}];
var railStations = {"line":"ALL","stations":[{"_id":"21531","stop_name":"8th St & Market St","stop_lat":"39.951129","stop_lon":"-75.153506","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"21532","stop_name":"30th St Station","stop_lat":"39.95477","stop_lon":"-75.183264","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null,"elevatorOutage":{"line":"Market Frankford Line","station":"30th Street","elevator":"Street to Mezzanine","message":"No access to/from station","message_html":"<ul><li>No access to/from station</li></ul>","alternate_url":"http://www.septa.org/service/accessible_septa/alt_service_mfl.html"},"outageTracker":{"_id":{"stationId":"21532","outageStart":"2014-05-31 17:13:35 UTC"},"duration":0,"isActive":true,"outageEnd":null,"stop_name":"30th St Station","line_code":"MFL"}},{"_id":"30519","stop_name":"Ardmore Junction Station","stop_lat":"39.996262","stop_lon":"-75.303695","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"PATCO240","stop_name":"Lindenwold","stop_lat":"39.83389","stop_lon":"-75.00056","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":"1","MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO241","stop_name":"Ashland (Voorhees)","stop_lat":"39.85856","stop_lon":"-75.009199","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO242","stop_name":"Woodcrest/Cherry Hill","stop_lat":"39.8695145128","stop_lon":"-75.0106787682","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":"1","MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO243","stop_name":"Haddonfield","stop_lat":"39.8970285235","stop_lon":"-75.0366640091","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO244","stop_name":"Westmont (Haddon Twp)","stop_lat":"39.907117","stop_lon":"-75.046775","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO245","stop_name":"Collingswood","stop_lat":"39.913561","stop_lon":"-75.064561","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO246","stop_name":"Ferry Ave (Camden)","stop_lat":"39.922852992","stop_lon":"-75.091906786","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":"1","MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO247","stop_name":"Broadway (Camden)","stop_lat":"39.94319792","stop_lon":"-75.1202845573","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":"1","MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO248","stop_name":"City Hall (Camden)","stop_lat":"39.9450733307","stop_lon":"-75.1211535931","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO249","stop_name":"8th & Market St","stop_lat":"39.951181","stop_lon":"-75.1532","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":"1","MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO250","stop_name":"9-10th & Locust St","stop_lat":"39.9472365695","stop_lon":"-75.1568698883","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":"1","MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO251","stop_name":"12-13th & Locust St","stop_lat":"39.947731","stop_lon":"-75.160797","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"PATCO252","stop_name":"15-16th & Locust St","stop_lat":"39.948417","stop_lon":"-75.166208","location_type":null,"parent_station":null,"zone_id":null,"wheelchair_boarding":"1","MFL":null,"BSS":null,"NHSL":null,"PATCO":"1"},{"_id":"60","stop_name":"Allegheny Station","stop_lat":"39.996444","stop_lon":"-75.113345","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"61","stop_name":"Frankford Transportation Center","stop_lat":"40.023427","stop_lon":"-75.077197","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"82","stop_name":"Olney Transportation Center","stop_lat":"40.039066","stop_lon":"-75.144737","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"140","stop_name":"Erie Station","stop_lat":"40.009172","stop_lon":"-75.151226","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"142","stop_name":"Allegheny Station","stop_lat":"40.001536","stop_lon":"-75.152887","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"152","stop_name":"A T and T Station","stop_lat":"39.905379","stop_lon":"-75.173709","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"217","stop_name":"Margaret & Orthodox Station","stop_lat":"40.016734","stop_lon":"-75.083955","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"353","stop_name":"Girard Station","stop_lat":"39.968841","stop_lon":"-75.13611","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"416","stop_name":"69th St Transportation Center MFL East","stop_lat":"39.96232","stop_lon":"-75.258555","location_type":null,"parent_station":"31034","zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":"1","PATCO":null},{"_id":"428","stop_name":"2nd St Station ","stop_lat":"39.949822","stop_lon":"-75.14371","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"797","stop_name":"Somerset Station","stop_lat":"39.99138","stop_lon":"-75.122596","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"838","stop_name":"Erie Torresdale Station","stop_lat":"40.00586","stop_lon":"-75.096133","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"1272","stop_name":"Logan Station","stop_lat":"40.030671","stop_lon":"-75.14658","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1273","stop_name":"Wyoming Station","stop_lat":"40.024569","stop_lon":"-75.147892","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1274","stop_name":"Hunting Park Station","stop_lat":"40.016897","stop_lon":"-75.14953","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1276","stop_name":"Susquehanna Dauphin Station","stop_lat":"39.98704","stop_lon":"-75.156097","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1277","stop_name":"Cecil B. Moore Station","stop_lat":"39.978591","stop_lon":"-75.157843","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1278","stop_name":"Fairmount Station","stop_lat":"39.966959","stop_lon":"-75.160391","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1279","stop_name":"Spring Garden Station","stop_lat":"39.962338","stop_lon":"-75.161388","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1280","stop_name":"Race Vine Station","stop_lat":"39.957039","stop_lon":"-75.162601","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1281","stop_name":"City Hall Station","stop_lat":"39.952473","stop_lon":"-75.164106","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1282","stop_name":"Walnut Locust Station","stop_lat":"39.948716","stop_lon":"-75.164498","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1283","stop_name":"Lombard South Station","stop_lat":"39.944095","stop_lon":"-75.165424","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1284","stop_name":"Ellsworth Federal Station","stop_lat":"39.936191","stop_lon":"-75.167141","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1285","stop_name":"Tasker Morris Station","stop_lat":"39.929786","stop_lon":"-75.168475","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1286","stop_name":"Snyder Station","stop_lat":"39.924309","stop_lon":"-75.169617","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"1392","stop_name":"15th St Station","stop_lat":"39.952502","stop_lon":"-75.165298","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"1892","stop_name":"Bridgeport Station","stop_lat":"40.104964","stop_lon":"-75.348141","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":"0","MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1895","stop_name":"Gulph Mills Station","stop_lat":"40.070838","stop_lon":"-75.342325","location_type":null,"parent_station":"31031","zone_id":"2","wheelchair_boarding":"1","MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1900","stop_name":"Stadium Station ","stop_lat":"40.032681","stop_lon":"-75.340776","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1902","stop_name":"Roberts Rd Station ","stop_lat":"40.021383","stop_lon":"-75.33027","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1908","stop_name":"Beechwood Brookline Station","stop_lat":"39.986521","stop_lon":"-75.291495","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1917","stop_name":"Parkview Station","stop_lat":"39.968982","stop_lon":"-75.274804","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1918","stop_name":"Township Line Rd Station","stop_lat":"39.974791","stop_lon":"-75.281572","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1919","stop_name":"Penfield Station Manoa Rd","stop_lat":"39.981015","stop_lon":"-75.283992","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1921","stop_name":"Wynnewood Rd Station","stop_lat":"39.993382","stop_lon":"-75.298229","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":"1","MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1923","stop_name":"Ardmore Av Station","stop_lat":"39.999918","stop_lon":"-75.309467","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1924","stop_name":"Haverford Station ","stop_lat":"40.009821","stop_lon":"-75.315158","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1925","stop_name":"Bryn Mawr Station ","stop_lat":"40.018075","stop_lon":"-75.323419","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1927","stop_name":"Garrett Hill Station","stop_lat":"40.027957","stop_lon":"-75.336396","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1929","stop_name":"Villanova Station ","stop_lat":"40.034049","stop_lon":"-75.344037","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1930","stop_name":"Radnor Station","stop_lat":"40.042061","stop_lon":"-75.353617","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1931","stop_name":"County Line Station","stop_lat":"40.050108","stop_lon":"-75.347376","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1932","stop_name":"Matsonford Station","stop_lat":"40.058215","stop_lon":"-75.339455","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1934","stop_name":"Hughes Park Station","stop_lat":"40.081392","stop_lon":"-75.34902","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":null,"MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"1935","stop_name":"DeKalb St Station","stop_lat":"40.098736","stop_lon":"-75.352065","location_type":null,"parent_station":null,"zone_id":"2","wheelchair_boarding":"0","MFL":null,"BSS":null,"NHSL":"1","PATCO":null},{"_id":"2439","stop_name":"North Philadelphia","stop_lat":"39.9939","stop_lon":"-75.154582","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"2440","stop_name":"Chinatown Station","stop_lat":"39.955251","stop_lon":"-75.152794","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"2446","stop_name":"Millbourne Station","stop_lat":"39.964365","stop_lon":"-75.252314","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2447","stop_name":"63rd St Station","stop_lat":"39.962741","stop_lon":"-75.246743","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2448","stop_name":"60th St Station","stop_lat":"39.961991","stop_lon":"-75.240757","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2449","stop_name":"56th St Station","stop_lat":"39.961007","stop_lon":"-75.232847","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2450","stop_name":"52nd St Station","stop_lat":"39.960012","stop_lon":"-75.224889","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2451","stop_name":"46th St Station","stop_lat":"39.958646","stop_lon":"-75.213922","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2452","stop_name":"40th St Station","stop_lat":"39.957161","stop_lon":"-75.202034","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2453","stop_name":"34th St Station","stop_lat":"39.955848","stop_lon":"-75.191504","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2455","stop_name":"13th St Station","stop_lat":"39.952021","stop_lon":"-75.161462","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2456","stop_name":"11th St Station","stop_lat":"39.951648","stop_lon":"-75.158346","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2457","stop_name":"8th St Station","stop_lat":"39.951066","stop_lon":"-75.153519","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2458","stop_name":"5th St Station","stop_lat":"39.950485","stop_lon":"-75.148892","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2459","stop_name":"Spring Garden Station","stop_lat":"39.960399","stop_lon":"-75.140408","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2460","stop_name":"Berks Station","stop_lat":"39.978679","stop_lon":"-75.133542","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2461","stop_name":"York Dauphin Station","stop_lat":"39.986191","stop_lon":"-75.132011","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2462","stop_name":"Huntingdon Station","stop_lat":"39.988759","stop_lon":"-75.127463","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2463","stop_name":"Tioga Station","stop_lat":"40.000238","stop_lon":"-75.106392","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"2464","stop_name":"Church Station","stop_lat":"40.01091","stop_lon":"-75.088628","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"20845","stop_name":"69th St Transportation Center MFL West","stop_lat":"39.962428","stop_lon":"-75.258555","location_type":null,"parent_station":"31034","zone_id":"2","wheelchair_boarding":"1","MFL":"1","BSS":null,"NHSL":null,"PATCO":null},{"_id":"20965","stop_name":"Fern Rock Transportation Center","stop_lat":"40.04185","stop_lon":"-75.136745","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"20966","stop_name":"Girard Station","stop_lat":"39.971401","stop_lon":"-75.159417","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":null,"MFL":null,"BSS":"1","NHSL":null,"PATCO":null},{"_id":"20967","stop_name":"Oregon Station","stop_lat":"39.916753","stop_lon":"-75.171285","location_type":null,"parent_station":null,"zone_id":"1","wheelchair_boarding":"1","MFL":null,"BSS":"1","NHSL":null,"PATCO":null,"elevatorOutage":{"line":"Broad Street Subway / Broad Ridge Spur","station":"Oregon","elevator":"Street Level","message":"No access to/from station","message_html":"<ul><li>No access to/from station</li></ul>","alternate_url":"http://www.septa.org/service/accessible_septa/alt_service_bsl.html"},"outageTracker":{"_id":{"stationId":"20967","outageStart":"2014-05-31 17:13:37 UTC"},"duration":0,"isActive":true,"outageEnd":null,"stop_name":"Oregon Station","line_code":"BSS"}},{"_id":"30520","stop_name":"Norristown Transportation Center","stop_lat":"40.113468","stop_lon":"-75.345161","location_type":null,"parent_station":"31038","zone_id":"2","wheelchair_boarding":"1","MFL":null,"BSS":null,"NHSL":"1","PATCO":null}]};
</script>
</body>
</html>