Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

136 lines (132 sloc) 14.547 kB
<?php
/*
MyTPL - Location-aware Mobile Search using PHP-YAZ and IUI
Copyright (C) 2010 MJ Suhonos <mj@robotninja.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
$codes = array(
"ab" => array("name" => "Albion", "loc" => "1515 Albion Rd.", "lat" => "43.7397332", "lon" => "-79.5807064"),
"acd" => array("name" => "Albert Campbell", "loc" => "496 Birchmount Rd.", "lat" => "43.7085908", "lon" => "-79.2687980"),
"ad" => array("name" => "Alderwood", "loc" => "2 Orianna Dr.", "lat" => "43.6014363", "lon" => "-79.5465047"),
"ag" => array("name" => "Agincourt", "loc" => "155 Bonis Ave.", "lat" => "43.7857882", "lon" => "-79.2931563"),
"ah" => array("name" => "Armour Heights", "loc" => "2140 Avenue Rd.", "lat" => "43.7392440", "lon" => "-79.4214750"),
"an" => array("name" => "Annette Street", "loc" => "145 Annette St.", "lat" => "43.6635450", "lon" => "-79.4661979"),
"ap" => array("name" => "Amesbury Park", "loc" => "1565 Lawrence Ave. W.", "lat" => "43.7063847", "lon" => "-79.4875031"),
"bb" => array("name" => "Brookbanks", "loc" => "210 Brookbanks Dr.", "lat" => "43.7593411", "lon" => "-79.3257145"),
"bc" => array("name" => "Black Creek", "loc" => "1700 Wilson Ave.", "lat" => "43.7200738", "lon" => "-79.5126610"),
"bd" => array("name" => "Bendale", "loc" => "1515 Danforth Rd.", "lat" => "43.7508243", "lon" => "-79.2444055"),
"be" => array("name" => "Beaches", "loc" => "2161 Queen St. E.", "lat" => "43.6704492", "lon" => "-79.2981089"),
"bf" => array("name" => "Barbara Frum", "loc" => "20 Covington Rd.", "lat" => "43.7205800", "lon" => "-79.4321130"),
"bl" => array("name" => "Bloor/Gladstone", "loc" => "1101 Bloor St. W.", "lat" => "43.6601698", "lon" => "-79.4338286"),
"br" => array("name" => "Brentwood", "loc" => "36 Brentwood Rd. N.", "lat" => "43.6475116", "lon" => "-79.5140448"),
"brw" => array("name" => "Bridlewood", "loc" => "2900 Warden Ave.", "lat" => "43.7984510", "lon" => "-79.3178990"),
"bur" => array("name" => "Burrows Hall", "loc" => "1081 Progress Ave.", "lat" => "43.7931321", "lon" => "-79.2343450"),
"by" => array("name" => "Bayview", "loc" => "2901 Bayview Ave.", "lat" => "43.7690395", "lon" => "-79.3885655"),
"cc" => array("name" => "Cliffcrest", "loc" => "3017 Kingston Rd.", "lat" => "43.7256481", "lon" => "-79.2316915"),
"ce" => array("name" => "Centennial", "loc" => "578 Finch Ave. W.", "lat" => "43.7724029", "lon" => "-79.4505486"),
"ced" => array("name" => "Cedarbrae", "loc" => "545 Markham Rd.", "lat" => "43.7568106", "lon" => "-79.2242953"),
"ch" => array("name" => "City Hall", "loc" => "100 Queen St. W.", "lat" => "43.6524700", "lon" => "-79.3840130"),
"cl" => array("name" => "North York Central", "loc" => "5120 Yonge St.", "lat" => "43.7683081", "lon" => "-79.4127309"),
"cs" => array("name" => "College/Shaw", "loc" => "766 College St.", "lat" => "43.6549244", "lon" => "-79.4201860"),
"da" => array("name" => "Danforth/Coxwell", "loc" => "1675 Danforth Ave.", "lat" => "43.6838274", "lon" => "-79.3213580"),
"dm" => array("name" => "Don Mills", "loc" => "888 Lawrence Ave. E.", "lat" => "43.7362140", "lon" => "-79.3479960"),
"do" => array("name" => "Downsview", "loc" => "2793 Keele St.", "lat" => "43.7285561", "lon" => "-79.4823630"),
"dp" => array("name" => "Deer Park", "loc" => "40 St. Clair Ave. E.", "lat" => "43.6885396", "lon" => "-79.3921333"),
"dr" => array("name" => "Dawes Road", "loc" => "416 Dawes Rd.", "lat" => "43.7012781", "lon" => "-79.2969569"),
"dt" => array("name" => "Davenport", "loc" => "1246 Shaw St.", "lat" => "43.6735252", "lon" => "-79.4278276"),
"du" => array("name" => "Dufferin/St. Clair", "loc" => "1625 Dufferin St.", "lat" => "43.6768095", "lon" => "-79.4425899"),
"ea" => array("name" => "Eatonville", "loc" => "430 Burnhamthorpe Rd.", "lat" => "43.6462323", "lon" => "-79.5598319"),
"eb" => array("name" => "Elmbrook Park", "loc" => "2 Elmbrook Cres.", "lat" => "43.6596497", "lon" => "-79.5843753"),
"eg" => array("name" => "Evelyn Gregory", "loc" => "120 Trowell Ave.", "lat" => "43.6862557", "lon" => "-79.4713494"),
"es" => array("name" => "Eglinton Square", "loc" => "1 Eglinton Square", "lat" => "43.7067710", "lon" => "-79.3978340"),
"fh" => array("name" => "Forest Hill", "loc" => "700 Eglinton Ave. W.", "lat" => "43.7020633", "lon" => "-79.4206130"),
"fp" => array("name" => "Flemingdon Park", "loc" => "29 St. Dennis Dr.", "lat" => "43.7183033", "lon" => "-79.3315671"),
"fv" => array("name" => "Fairview", "loc" => "35 Fairview Mall Dr.", "lat" => "43.7794820", "lon" => "-79.3465420"),
"ge" => array("name" => "Gerrard/Ashdale", "loc" => "1432 Gerrard St. E.", "lat" => "43.6722881", "lon" => "-79.3219868"),
"ghp" => array("name" => "Goldhawk Park", "loc" => "295 Alton Towers Circle", "lat" => "43.8246829", "lon" => "-79.2779279"),
"gw" => array("name" => "Guildwood", "loc" => "123 Guildwood Parkway", "lat" => "43.7473399", "lon" => "-79.1997097"),
"hb" => array("name" => "Humber Bay", "loc" => "200 Park Lawn Rd.", "lat" => "43.6305340", "lon" => "-79.4910109"),
"hc" => array("name" => "Highland Creek", "loc" => "3550 Ellesmere Rd.", "lat" => "43.7897015", "lon" => "-79.1752743"),
"hil" => array("name" => "Hillcrest", "loc" => "5801 Leslie St.", "lat" => "43.7965627", "lon" => "-79.3695012"),
"hp" => array("name" => "High Park", "loc" => "228 Roncesvalles Ave.", "lat" => "43.6452619", "lon" => "-79.4486739"),
"hs" => array("name" => "Humber Summit", "loc" => "2990 Islington Ave.", "lat" => "43.7590339", "lon" => "-79.5710964"),
"hw" => array("name" => "Humberwood", "loc" => "850 Humberwood Blvd.", "lat" => "43.7298337", "lon" => "-79.6196949"),
"jd" => array("name" => "Jane/Dundas", "loc" => "620 Jane St.", "lat" => "43.6656939", "lon" => "-79.4911752"),
"jo" => array("name" => "Jones", "loc" => "118 Jones Ave.", "lat" => "43.6659500", "lon" => "-79.3342281"),
"js" => array("name" => "Jane/Sheppard", "loc" => "1906 Sheppard Ave. W.", "lat" => "43.7396044", "lon" => "-79.5101136"),
"ke" => array("name" => "Kennedy/Eglinton", "loc" => "2380 Eglinton Ave. E.", "lat" => "43.7316475", "lon" => "-79.2705312"),
"lb" => array("name" => "Long Branch", "loc" => "3500 Lake Shore Blvd. W.", "lat" => "43.5950842", "lon" => "-79.5310228"),
"le" => array("name" => "Leaside", "loc" => "165 McRae Dr.", "lat" => "43.7064969", "lon" => "-79.3679042"),
"lo" => array("name" => "Locke", "loc" => "3083 Yonge St.", "lat" => "43.7246624", "lon" => "-79.4020668"),
"ls" => array("name" => "Lillian H. Smith", "loc" => "239 College St.", "lat" => "43.6582349", "lon" => "-79.3982196"),
"ma" => array("name" => "Main Street", "loc" => "137 Main St.", "lat" => "43.6831430", "lon" => "-79.2998398"),
"mal" => array("name" => "Malvern", "loc" => "30 Sewells Rd.", "lat" => "43.8076982", "lon" => "-79.2158932"),
"mas" => array("name" => "Maria A. Shchuka", "loc" => "1745 Eglinton Ave. W.", "lat" => "43.6962762", "lon" => "-79.4475011"),
"mcg" => array("name" => "McGregor Park", "loc" => "2219 Lawrence Ave. E.", "lat" => "43.7482854", "lon" => "-79.2808186"),
"md" => array("name" => "Mount Dennis", "loc" => "1123 Weston Rd.", "lat" => "43.6865971", "lon" => "-79.4887391"),
"me" => array("name" => "Merril Collection", "loc" => "239 College St.", "lat" => "43.6582349", "lon" => "-79.3982196"),
"mer" => array("name" => "Merril Collection (Reference)", "loc" => "239 College St.", "lat" => "43.6582349", "lon" => "-79.3982196"),
"mi" => array("name" => "Mimico Centennial", "loc" => "47 Station Rd.", "lat" => "43.6150384", "lon" => "-79.4941838"),
"ms" => array("name" => "Morningside", "loc" => "4279 Lawrence Ave. E.", "lat" => "43.7702348", "lon" => "-79.1781062"),
"mp" => array("name" => "Mount Pleasant", "loc" => "599 Mt. Pleasant Rd.", "lat" => "43.7038800", "lon" => "-79.3883462"),
"mrv" => array("name" => "Maryvale", "loc" => "85 Ellesmere Rd.", "lat" => "43.7583929", "lon" => "-79.3129415"),
"nd" => array("name" => "Northern District", "loc" => "40 Orchard View Blvd.", "lat" => "43.7079865", "lon" => "-79.3998921"),
"ne" => array("name" => "Northern Elms", "loc" => "123B Rexdale Blvd.", "lat" => "43.7118719", "lon" => "-79.5659388"),
"nt" => array("name" => "New Toronto", "loc" => "110 Eleventh St.", "lat" => "43.5994199", "lon" => "-79.5095646"),
"nycl" => array("name" => "North York Central", "loc" => "5120 Yonge St.", "lat" => "43.7683081", "lon" => "-79.4127309"),
"os" => array("name" => "Osborne Collection", "loc" => "239 College St.", "lat" => "43.6582349", "lon" => "-79.3982196"),
"osb" => array("name" => "Osborne Collection", "loc" => "239 College St.", "lat" => "43.6582349", "lon" => "-79.3982196"),
"ov" => array("name" => "Oakwood Village", "loc" => "341 Oakwood Ave.", "lat" => "43.6864499", "lon" => "-79.4384038"),
"pa" => array("name" => "Pape/Danforth", "loc" => "701 Pape Ave.", "lat" => "43.6788347", "lon" => "-79.3448178"),
"pe" => array("name" => "Perth/Dupont", "loc" => "1589 Dupont St.", "lat" => "43.6651457", "lon" => "-79.4539718"),
"pk" => array("name" => "Parkdale", "loc" => "1303 Queen St. W.", "lat" => "43.6414171", "lon" => "-79.4325495"),
"pl" => array("name" => "Parliament", "loc" => "269 Gerrard St. E.", "lat" => "43.6620586", "lon" => "-79.3683368"),
"pm" => array("name" => "Palmerston", "loc" => "560 Palmerston Ave.", "lat" => "43.6654488", "lon" => "-79.4139605"),
"pu" => array("name" => "Port Union", "loc" => "5450 Lawrence Ave. E.", "lat" => "43.7787863", "lon" => "-79.1402401"),
"pv" => array("name" => "Pleasant View", "loc" => "575 Van Horne Ave.", "lat" => "43.7879992", "lon" => "-79.3351038"),
"qs" => array("name" => "Queen/Saulter", "loc" => "765 Queen St. E.", "lat" => "43.6593709", "lon" => "-79.3475797"),
"rd" => array("name" => "Riverdale", "loc" => "370 Broadview Ave.", "lat" => "43.6655141", "lon" => "-79.3526600"),
"ri" => array("name" => "Richview", "loc" => "1806 Islington Ave.", "lat" => "43.6836612", "lon" => "-79.5407114"),
"rn" => array("name" => "Runnymede", "loc" => "2178 Bloor St. W.", "lat" => "43.6516290", "lon" => "-79.4740432"),
"rx" => array("name" => "Rexdale", "loc" => "2243 Kipling Ave.", "lat" => "43.7259028", "lon" => "-79.5734861"),
"sa" => array("name" => "Sanderson", "loc" => "327 Bathurst St.", "lat" => "43.6521468", "lon" => "-79.4059207"),
"si" => array("name" => "St. Clair/Silverthorn", "loc" => "1748 St. Clair Ave. W.", "lat" => "43.6741065", "lon" => "-79.4604704"),
"sj" => array("name" => "St. James Town", "loc" => "495 Sherbourne St.", "lat" => "43.6677605", "lon" => "-79.3749474"),
"sl" => array("name" => "St. Lawrence", "loc" => "171 Front St. E.", "lat" => "43.6503087", "lon" => "-79.3681550"),
"sp" => array("name" => "Spadina Road", "loc" => "10 Spadina Rd.", "lat" => "43.6675146", "lon" => "-79.4042138"),
"st" => array("name" => "Steeles", "loc" => "375 Bamburgh Circle", "lat" => "43.8162164", "lon" => "-79.3233213"),
"sw" => array("name" => "Swansea Memorial", "loc" => "95 Lavinia Ave.", "lat" => "43.6478847", "lon" => "-79.4782323"),
"sws" => array("name" => "S. Walter Stewart", "loc" => "170 Memorial Park Ave.", "lat" => "43.6919205", "lon" => "-79.3293196"),
"ta" => array("name" => "Taylor Memorial", "loc" => "1440 Kingston Rd.", "lat" => "43.6876544", "lon" => "-79.2711365"),
"th" => array("name" => "Thorncliffe", "loc" => "48 Thorncliffe Park Dr.", "lat" => "43.7027590", "lon" => "-79.3422991"),
"tod" => array("name" => "Todmorden Room", "loc" => "1081 Pape Ave.", "lat" => "43.6913145", "lon" => "-79.3495029"),
"tpl" => array("name" => "TPL Reference", "loc" => "789 Yonge St.", "lat" => "43.6715614", "lon" => "-79.3872743"),
"trl" => array("name" => "Toronto Reference", "loc" => "789 Yonge St.", "lat" => "43.6715614", "lon" => "-79.3872743"),
"urb" => array("name" => "Urban Affairs", "loc" => "55 John St.", "lat" => "43.6459050", "lon" => "-79.3891380"),
"vv" => array("name" => "Victoria Village", "loc" => "184 Sloane Ave.", "lat" => "43.7364421", "lon" => "-79.3126839"),
"we" => array("name" => "Weston", "loc" => "2 King St.", "lat" => "43.7014274", "lon" => "-79.5206514"),
"wp" => array("name" => "Woodview Park", "loc" => "16 Bradstock Rd.", "lat" => "43.7391956", "lon" => "-79.5386208"),
"ws" => array("name" => "Woodside Square", "loc" => "1571 Sandhurst Circle", "lat" => "43.8083160", "lon" => "-79.2700270"),
"wy" => array("name" => "Wychwood", "loc" => "1431 Bathurst St.", "lat" => "43.6819465", "lon" => "-79.4177962"),
"yo" => array("name" => "Yorkville", "loc" => "22 Yorkville Ave.", "lat" => "43.6717629", "lon" => "-79.3882767"),
"yw" => array("name" => "York Woods", "loc" => "1785 Finch Ave. W.", "lat" => "43.7593834", "lon" => "-79.5073807"),
"bkone" => array("name" => "Bookmobile One", "loc" => "Queen's Quay & Bathurst St.", "lat" => "43.635753", "lon" => "-79.39836"),
"bktwo" => array("name" => "Bookmobile Two", "loc" => "45 Overlea Blvd.", "lat" => "43.7068107", "lon" => "-79.3460729"),
"sacd" => array("name" => "Arthur Conan Doyle (TRL)", "loc" => "789 Yonge St.", "lat" => "43.6715614", "lon" => "-79.3872743"),
"sacds" => array("name" => "Arthur Conan Doyle Stacks (TRL)", "loc" => "789 Yonge St.", "lat" => "43.6715614", "lon" => "-79.3872743"),
"sar" => array("name" => "Art Room (TRL)", "loc" => "789 Yonge St.", "lat" => "43.6715614", "lon" => "-79.3872743"),
"sars" => array("name" => "Art Room Stacks (TRL)", "loc" => "789 Yonge St.", "lat" => "43.6715614", "lon" => "-79.3872743"),
"sbr" => array("name" => "Baldwin Room (TRL)", "loc" => "789 Yonge St.", "lat" => "43.6715614", "lon" => "-79.3872743"),
"sbrs" => array("name" => "Baldwin Room Stacks (TRL)", "loc" => "789 Yonge St.", "lat" => "43.6715614", "lon" => "-79.3872743"),
"trls" => array("name" => "Toronto Reference Stacks (TRL)", "loc" => "789 Yonge St.", "lat" => "43.6715614", "lon" => "-79.3872743")
);
?>
Jump to Line
Something went wrong with that request. Please try again.