From 550b76475ef5f2055bfeb23dfd8ea56bb38bfc49 Mon Sep 17 00:00:00 2001 From: Qasim Iqbal Date: Thu, 24 Mar 2016 02:33:58 -0400 Subject: [PATCH] New buildings schema --- src/api/buildings/model.js | 7 +- test/buildings/testData.json | 3152 ++++++++++++++++++++++++++++++---- 2 files changed, 2836 insertions(+), 323 deletions(-) diff --git a/src/api/buildings/model.js b/src/api/buildings/model.js index 926a9f2..0142e9e 100755 --- a/src/api/buildings/model.js +++ b/src/api/buildings/model.js @@ -7,15 +7,16 @@ var buildingSchema = new Schema({ name: String, short_name: String, campus: String, - lat: Number, - lng: Number, address: { street: String, city: String, province: String, country: String, postal: String - } + }, + lat: Number, + lng: Number, + polygon: { type: Schema.Types.Mixed, default: [] } }) buildingSchema.index({ code: 'text', name: 'text', short_name: 'text' }) diff --git a/test/buildings/testData.json b/test/buildings/testData.json index 566e1c2..7a14fb2 100755 --- a/test/buildings/testData.json +++ b/test/buildings/testData.json @@ -1,322 +1,2834 @@ [ - { - "id":"001", - "code":"UC", - "name":"University College", - "short_name":"UC", - "campus":"UTSG", - "lat":43.6632, - "lng":-79.39582, - "address":{ - "street":"15 King's College Circle", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 3H7" - } - }, - { - "id":"002", - "code":"HH", - "name":"Hart House", - "short_name":"Hart House", - "campus":"UTSG", - "lat":43.6637, - "lng":-79.39452, - "address":{ - "street":"7 Hart House Circle", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 3H3" - } - }, - { - "id":"003", - "code":"SM", - "name":"Gerstein Science Information Centre in the Sigmund Samuel Library Bldg", - "short_name":"Sig Samuel", - "campus":"UTSG", - "lat":43.6622, - "lng":-79.39385, - "address":{ - "street":"7 and 9 King's College Circle", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 3K1" - } - }, - { - "id":"004", - "code":"MR", - "name":"McMurrich Building", - "short_name":"McMurrich", - "campus":"UTSG", - "lat":43.66111, - "lng":-79.39287, - "address":{ - "street":"12 Queen's Park Crescent W", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 1S8" - } - }, - { - "id":"005", - "code":"MS", - "name":"Medical Sciences Building", - "short_name":"MSB", - "campus":"UTSG", - "lat":43.66074, - "lng":-79.39373, - "address":{ - "street":"1 King's College Circle", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 1A8" - } - }, - { - "id":"006", - "code":"RL", - "name":"John P. Robarts Library Building", - "short_name":"Robarts", - "campus":"UTSG", - "lat":43.66445, - "lng":-79.39945, - "address":{ - "street":"130 St. George Street", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 1A5" - } - }, - { - "id":"006A", - "code":"BL", - "name":"Claude T. Bissell Building", - "short_name":"Bissell Bldg", - "campus":"UTSG", - "lat":43.66503, - "lng":-79.3993, - "address":{ - "street":"140 St. George Street", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 3G6" - } - }, - { - "id":"006B", - "code":"RB", - "name":"Thomas Fisher Rare Book Library Building", - "short_name":"Rare Book", - "campus":"UTSG", - "lat":43.66405, - "lng":-79.39894, - "address":{ - "street":"120 St. George Street", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 1A5" - } - }, - { - "id":"007", - "code":"MB", - "name":"Lassonde Mining Building", - "short_name":"Mining", - "campus":"UTSG", - "lat":43.6595, - "lng":-79.39339, - "address":{ - "street":"170 College Street", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 3E3" - } - }, - { - "id":"008", - "code":"WB", - "name":"Wallberg Building", - "short_name":"Wallberg", - "campus":"UTSG", - "lat":43.65912, - "lng":-79.39519, - "address":{ - "street":"184-200 College Street", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M56 3E5" - } - }, - { - "id":"008A", - "code":"PT", - "name":"D.L. Pratt Building", - "short_name":"D.L. Pratt", - "campus":"UTSG", - "lat":43.65963, - "lng":-79.39469, - "address":{ - "street":"6 King's College Road", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 3H5" - } - }, - { - "id":"009", - "code":"SF", - "name":"Sandford Fleming Building", - "short_name":"Sandford Flm", - "campus":"UTSG", - "lat":43.66012, - "lng":-79.3951, - "address":{ - "street":"10 King's College Road", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 3G4" - } - }, - { - "id":"010", - "code":"SI", - "name":"Simcoe Hall", - "short_name":"Simcoe Hall", - "campus":"UTSG", - "lat":43.66076, - "lng":-79.39594, - "address":{ - "street":"27 King's College Circle", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 1A1" - } - }, - { - "id":"010A", - "code":"CH", - "name":"Convocation Hall", - "short_name":"Con Hall", - "campus":"UTSG", - "lat":43.66077, - "lng":-79.39539, - "address":{ - "street":"31 King's College Circle", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 1A1" - } - }, - { - "id":"011", - "code":"TZ", - "name":"C. David Naylor Building (Formerly Tanz Building)", - "short_name":"Naylor", - "campus":"UTSG", - "lat":43.66043, - "lng":-79.39176, - "address":{ - "street":"6 Queen's Park Crescent West", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 3H2" - } - }, - { - "id":"012A", - "code":"MU", - "name":"Munk School of Global Affairs at Trinity", - "short_name":"Munk-Trinity", - "campus":"UTSG", - "lat":43.6653, - "lng":-79.39679, - "address":{ - "street":"1 Devonshire Place", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 3K7" - } - }, - { - "id":"012C", - "code":"MU", - "name":"Munk School of Global Affairs - Graham Library", - "short_name":"Munk East", - "campus":"UTSG", - "lat":43.66507, - "lng":-79.39635, - "address":{ - "street":"5 Devonshire Place", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 3K7" - } - }, - { - "id":"013", - "code":"WT", - "name":"Whitney Hall", - "short_name":"Whitney Hall", - "campus":"UTSG", - "lat":43.66376, - "lng":-79.39794, - "address":{ - "street":"85 St. George Street", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 2E5" - } - }, - { - "id":"014", - "code":"FE", - "name":"Bloor Street West-371", - "short_name":"Bloor W-371", - "campus":"UTSG", - "lat":43.66668, - "lng":-79.40223, - "address":{ - "street":"371 Bloor Street West", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5S 2R7" - } - }, - { - "id":"016", - "code":"BI", - "name":"Banting Institute", - "short_name":"Banting Inst", - "campus":"UTSG", - "lat":43.66049, - "lng":-79.38859, - "address":{ - "street":"100 College Street", - "city":"Toronto", - "province":"ON", - "country":"Canada", - "postal":"M5G 1L5" - } - } + { + "id":"001", + "code":"UC", + "name":"University College", + "short_name":"UC", + "campus":"UTSG", + "lat":43.66319655917286, + "lng":-79.395819910554, + "polygon":[ + [ + 43.66252, + -79.39552 + ], + [ + 43.66254, + -79.39551 + ], + [ + 43.66255, + -79.39548 + ], + [ + 43.66253, + -79.39545 + ], + [ + 43.66254, + -79.39543 + ], + [ + 43.66256, + -79.39544 + ], + [ + 43.66257, + -79.39539 + ], + [ + 43.66261, + -79.39541 + ], + [ + 43.66267, + -79.39509 + ], + [ + 43.66264, + -79.39507 + ], + [ + 43.66266, + -79.39496 + ], + [ + 43.6629, + -79.39505 + ], + [ + 43.6629, + -79.39508 + ], + [ + 43.66311, + -79.39516 + ], + [ + 43.66311, + -79.39519 + ], + [ + 43.66332, + -79.39528 + ], + [ + 43.66328, + -79.39544 + ], + [ + 43.66336, + -79.39547 + ], + [ + 43.66334, + -79.39557 + ], + [ + 43.66333, + -79.39557 + ], + [ + 43.66321, + -79.39614 + ], + [ + 43.66306, + -79.39609 + ], + [ + 43.66318, + -79.39551 + ], + [ + 43.66316, + -79.3955 + ], + [ + 43.66317, + -79.39543 + ], + [ + 43.66311, + -79.3954 + ], + [ + 43.66311, + -79.39536 + ], + [ + 43.66297, + -79.3953 + ], + [ + 43.66296, + -79.39534 + ], + [ + 43.66288, + -79.39531 + ], + [ + 43.66289, + -79.39527 + ], + [ + 43.66275, + -79.39522 + ], + [ + 43.6627, + -79.39544 + ], + [ + 43.66276, + -79.39547 + ], + [ + 43.66271, + -79.39568 + ], + [ + 43.66266, + -79.39566 + ], + [ + 43.6626, + -79.39594 + ], + [ + 43.66269, + -79.39597 + ], + [ + 43.66268, + -79.39601 + ], + [ + 43.66273, + -79.39603 + ], + [ + 43.66272, + -79.39608 + ], + [ + 43.66274, + -79.39609 + ], + [ + 43.66276, + -79.39604 + ], + [ + 43.66318, + -79.39621 + ], + [ + 43.66315, + -79.39636 + ], + [ + 43.66317, + -79.39636 + ], + [ + 43.66314, + -79.3965 + ], + [ + 43.66312, + -79.39649 + ], + [ + 43.6631, + -79.3966 + ], + [ + 43.66314, + -79.39661 + ], + [ + 43.66312, + -79.39674 + ], + [ + 43.66301, + -79.3967 + ], + [ + 43.66306, + -79.39647 + ], + [ + 43.66304, + -79.39646 + ], + [ + 43.66306, + -79.39635 + ], + [ + 43.66294, + -79.3963 + ], + [ + 43.66295, + -79.39627 + ], + [ + 43.66272, + -79.39618 + ], + [ + 43.66274, + -79.39613 + ], + [ + 43.66271, + -79.39612 + ], + [ + 43.6627, + -79.39617 + ], + [ + 43.66255, + -79.39612 + ], + [ + 43.66251, + -79.39628 + ], + [ + 43.66243, + -79.39625 + ], + [ + 43.66241, + -79.39628 + ], + [ + 43.66239, + -79.39631 + ], + [ + 43.66236, + -79.39631 + ], + [ + 43.66233, + -79.39629 + ], + [ + 43.66231, + -79.39626 + ], + [ + 43.66231, + -79.39621 + ], + [ + 43.66233, + -79.39617 + ], + [ + 43.66237, + -79.39615 + ], + [ + 43.66239, + -79.39615 + ], + [ + 43.66241, + -79.39616 + ], + [ + 43.66247, + -79.39588 + ], + [ + 43.66251, + -79.39589 + ], + [ + 43.66256, + -79.39562 + ], + [ + 43.66253, + -79.39561 + ], + [ + 43.66254, + -79.39556 + ], + [ + 43.66252, + -79.39555 + ] + ], + "address":{ + "street":"15 King's College Circle", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 3H7" + } + }, + { + "id":"002", + "code":"HH", + "name":"Hart House", + "short_name":"Hart House", + "campus":"UTSG", + "lat":43.663700559989046, + "lng":-79.3945183686304, + "polygon":[ + [ + 43.66357, + -79.39516 + ], + [ + 43.66354, + -79.39515 + ], + [ + 43.6636, + -79.39485 + ], + [ + 43.66357, + -79.39483 + ], + [ + 43.66357, + -79.39481 + ], + [ + 43.66354, + -79.3948 + ], + [ + 43.66354, + -79.39479 + ], + [ + 43.66354, + -79.39479 + ], + [ + 43.66356, + -79.39475 + ], + [ + 43.66355, + -79.39474 + ], + [ + 43.66355, + -79.39473 + ], + [ + 43.66358, + -79.39474 + ], + [ + 43.66368, + -79.39428 + ], + [ + 43.66365, + -79.39427 + ], + [ + 43.66365, + -79.39426 + ], + [ + 43.66366, + -79.39426 + ], + [ + 43.66367, + -79.39421 + ], + [ + 43.66366, + -79.39421 + ], + [ + 43.66366, + -79.39419 + ], + [ + 43.6637, + -79.39421 + ], + [ + 43.6637, + -79.39418 + ], + [ + 43.66378, + -79.39421 + ], + [ + 43.6638, + -79.39407 + ], + [ + 43.66376, + -79.39405 + ], + [ + 43.66382, + -79.39376 + ], + [ + 43.66391, + -79.3938 + ], + [ + 43.66392, + -79.39377 + ], + [ + 43.66395, + -79.39379 + ], + [ + 43.66395, + -79.39382 + ], + [ + 43.66417, + -79.3939 + ], + [ + 43.66418, + -79.39386 + ], + [ + 43.66428, + -79.3939 + ], + [ + 43.66427, + -79.39394 + ], + [ + 43.6643, + -79.39395 + ], + [ + 43.66423, + -79.39425 + ], + [ + 43.66429, + -79.39427 + ], + [ + 43.66428, + -79.39435 + ], + [ + 43.66422, + -79.39433 + ], + [ + 43.66414, + -79.39468 + ], + [ + 43.66415, + -79.39469 + ], + [ + 43.66414, + -79.39475 + ], + [ + 43.66413, + -79.39475 + ], + [ + 43.66405, + -79.39511 + ], + [ + 43.66411, + -79.39513 + ], + [ + 43.66409, + -79.3952 + ], + [ + 43.66404, + -79.39518 + ], + [ + 43.66403, + -79.39524 + ], + [ + 43.66377, + -79.39513 + ], + [ + 43.66381, + -79.39493 + ], + [ + 43.66391, + -79.39497 + ], + [ + 43.66397, + -79.39468 + ], + [ + 43.66396, + -79.39468 + ], + [ + 43.66398, + -79.39461 + ], + [ + 43.66399, + -79.39462 + ], + [ + 43.66406, + -79.39425 + ], + [ + 43.66387, + -79.39416 + ], + [ + 43.66371, + -79.39489 + ], + [ + 43.6638, + -79.39493 + ], + [ + 43.66376, + -79.39512 + ], + [ + 43.66359, + -79.39506 + ] + ], + "address":{ + "street":"7 Hart House Circle", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 3H3" + } + }, + { + "id":"003", + "code":"SM", + "name":"Gerstein Science Information Centre in the Sigmund Samuel Library Bldg", + "short_name":"Sig Samuel", + "campus":"UTSG", + "lat":43.66220455260483, + "lng":-79.393846475272, + "polygon":[ + [ + 43.66245, + -79.39423 + ], + [ + 43.66257, + -79.39366 + ], + [ + 43.66254, + -79.39365 + ], + [ + 43.66256, + -79.39357 + ], + [ + 43.6623, + -79.39346 + ], + [ + 43.66231, + -79.39339 + ], + [ + 43.66229, + -79.39335 + ], + [ + 43.66226, + -79.39333 + ], + [ + 43.66223, + -79.39336 + ], + [ + 43.66221, + -79.39343 + ], + [ + 43.66212, + -79.3934 + ], + [ + 43.6621, + -79.3935 + ], + [ + 43.66198, + -79.39345 + ], + [ + 43.66199, + -79.39341 + ], + [ + 43.66194, + -79.39339 + ], + [ + 43.662, + -79.39313 + ], + [ + 43.66188, + -79.39308 + ], + [ + 43.66188, + -79.3931 + ], + [ + 43.66184, + -79.39309 + ], + [ + 43.66183, + -79.39312 + ], + [ + 43.66187, + -79.39314 + ], + [ + 43.66182, + -79.3934 + ], + [ + 43.66185, + -79.39342 + ], + [ + 43.66185, + -79.39345 + ], + [ + 43.66165, + -79.39338 + ], + [ + 43.66163, + -79.39347 + ], + [ + 43.66169, + -79.39349 + ], + [ + 43.66167, + -79.39355 + ], + [ + 43.66156, + -79.39351 + ], + [ + 43.6615, + -79.39375 + ], + [ + 43.66162, + -79.3938 + ], + [ + 43.66163, + -79.39373 + ], + [ + 43.66167, + -79.39375 + ], + [ + 43.66168, + -79.39378 + ], + [ + 43.66171, + -79.39376 + ], + [ + 43.66178, + -79.39379 + ], + [ + 43.66173, + -79.39386 + ], + [ + 43.66175, + -79.39393 + ], + [ + 43.6619, + -79.39399 + ], + [ + 43.66191, + -79.39392 + ], + [ + 43.6621, + -79.394 + ], + [ + 43.66209, + -79.39408 + ] + ], + "address":{ + "street":"7 and 9 King's College Circle", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 3K1" + } + }, + { + "id":"004", + "code":"MR", + "name":"McMurrich Building", + "short_name":"McMurrich", + "campus":"UTSG", + "lat":43.66110823306933, + "lng":-79.392874174504, + "polygon":[ + [ + 43.6615, + -79.39314 + ], + [ + 43.66153, + -79.39307 + ], + [ + 43.66154, + -79.393 + ], + [ + 43.66154, + -79.39292 + ], + [ + 43.66101, + -79.39271 + ], + [ + 43.66096, + -79.39294 + ], + [ + 43.66102, + -79.39297 + ], + [ + 43.66101, + -79.39302 + ], + [ + 43.66105, + -79.39304 + ], + [ + 43.66106, + -79.39298 + ], + [ + 43.66133, + -79.39309 + ], + [ + 43.66133, + -79.39307 + ] + ], + "address":{ + "street":"12 Queen's Park Crescent W", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 1S8" + } + }, + { + "id":"005", + "code":"MS", + "name":"Medical Sciences Building", + "short_name":"MSB", + "campus":"UTSG", + "lat":43.660739554480855, + "lng":-79.3937338224935, + "polygon":[ + [ + 43.66119, + -79.39353 + ], + [ + 43.6611, + -79.39349 + ], + [ + 43.66111, + -79.39344 + ], + [ + 43.66107, + -79.39342 + ], + [ + 43.6611, + -79.39329 + ], + [ + 43.66093, + -79.39322 + ], + [ + 43.66092, + -79.39327 + ], + [ + 43.66085, + -79.39324 + ], + [ + 43.66092, + -79.39287 + ], + [ + 43.66088, + -79.39285 + ], + [ + 43.66089, + -79.39281 + ], + [ + 43.66084, + -79.39279 + ], + [ + 43.66094, + -79.3923 + ], + [ + 43.66068, + -79.39219 + ], + [ + 43.66067, + -79.39223 + ], + [ + 43.66061, + -79.3922 + ], + [ + 43.66051, + -79.39266 + ], + [ + 43.66053, + -79.39267 + ], + [ + 43.66043, + -79.39318 + ], + [ + 43.66052, + -79.39321 + ], + [ + 43.66051, + -79.39324 + ], + [ + 43.66056, + -79.39326 + ], + [ + 43.66044, + -79.39382 + ], + [ + 43.66048, + -79.39383 + ], + [ + 43.66038, + -79.39428 + ], + [ + 43.66044, + -79.3943 + ], + [ + 43.66044, + -79.39435 + ], + [ + 43.66065, + -79.39443 + ], + [ + 43.66065, + -79.39445 + ], + [ + 43.66072, + -79.39448 + ], + [ + 43.66073, + -79.39446 + ], + [ + 43.66094, + -79.39454 + ], + [ + 43.66095, + -79.39451 + ], + [ + 43.66099, + -79.39452 + ], + [ + 43.66113, + -79.39386 + ], + [ + 43.66106, + -79.39383 + ], + [ + 43.6611, + -79.3936 + ], + [ + 43.66107, + -79.39359 + ], + [ + 43.66109, + -79.3935 + ], + [ + 43.66119, + -79.39354 + ], + [ + 43.66118, + -79.39357 + ], + [ + 43.66129, + -79.39362 + ], + [ + 43.66128, + -79.39367 + ], + [ + 43.6614, + -79.39372 + ], + [ + 43.66148, + -79.39335 + ], + [ + 43.66145, + -79.39334 + ], + [ + 43.66146, + -79.39329 + ], + [ + 43.6613, + -79.39322 + ], + [ + 43.66131, + -79.39319 + ], + [ + 43.66127, + -79.39318 + ] + ], + "address":{ + "street":"1 King's College Circle", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 1A8" + } + }, + { + "id":"006", + "code":"RL", + "name":"John P. Robarts Library Building", + "short_name":"Robarts", + "campus":"UTSG", + "lat":43.664451945321126, + "lng":-79.3994502804565, + "polygon":[ + [ + 43.66483, + -79.39932 + ], + [ + 43.66485, + -79.39939 + ], + [ + 43.66474, + -79.39953 + ], + [ + 43.66476, + -79.39959 + ], + [ + 43.66479, + -79.39954 + ], + [ + 43.6648, + -79.39962 + ], + [ + 43.66476, + -79.3996 + ], + [ + 43.66479, + -79.3998 + ], + [ + 43.66478, + -79.39983 + ], + [ + 43.6648, + -79.39999 + ], + [ + 43.66468, + -79.39995 + ], + [ + 43.66466, + -79.39998 + ], + [ + 43.66452, + -79.39992 + ], + [ + 43.66453, + -79.39999 + ], + [ + 43.66447, + -79.39996 + ], + [ + 43.66451, + -79.39992 + ], + [ + 43.66448, + -79.39991 + ], + [ + 43.66443, + -79.39997 + ], + [ + 43.66427, + -79.39991 + ], + [ + 43.66425, + -79.39982 + ], + [ + 43.66423, + -79.39981 + ], + [ + 43.66424, + -79.39987 + ], + [ + 43.66418, + -79.39985 + ], + [ + 43.66422, + -79.3998 + ], + [ + 43.66407, + -79.39975 + ], + [ + 43.66406, + -79.3997 + ], + [ + 43.66395, + -79.39966 + ], + [ + 43.66403, + -79.39953 + ], + [ + 43.66403, + -79.3995 + ], + [ + 43.66413, + -79.39936 + ], + [ + 43.66409, + -79.39934 + ], + [ + 43.66413, + -79.39928 + ], + [ + 43.66414, + -79.39934 + ], + [ + 43.66418, + -79.3993 + ], + [ + 43.66414, + -79.39911 + ], + [ + 43.66419, + -79.39906 + ], + [ + 43.66432, + -79.39911 + ], + [ + 43.66435, + -79.39907 + ], + [ + 43.66431, + -79.39905 + ], + [ + 43.66434, + -79.39899 + ], + [ + 43.66436, + -79.39906 + ], + [ + 43.66447, + -79.39891 + ], + [ + 43.6645, + -79.39892 + ], + [ + 43.66459, + -79.39881 + ], + [ + 43.66461, + -79.39897 + ], + [ + 43.66464, + -79.39898 + ], + [ + 43.66468, + -79.39918 + ], + [ + 43.66472, + -79.39914 + ], + [ + 43.66473, + -79.39921 + ], + [ + 43.66468, + -79.3992 + ], + [ + 43.6647, + -79.39926 + ] + ], + "address":{ + "street":"130 St. George Street", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 1A5" + } + }, + { + "id":"006A", + "code":"BL", + "name":"Claude T. Bissell Building", + "short_name":"Bissell Bldg", + "campus":"UTSG", + "lat":43.66502918130166, + "lng":-79.3992973945427, + "polygon":[ + [ + 43.66485, + -79.39938 + ], + [ + 43.66495, + -79.39941 + ], + [ + 43.66498, + -79.39954 + ], + [ + 43.66506, + -79.39957 + ], + [ + 43.66507, + -79.39956 + ], + [ + 43.66508, + -79.39957 + ], + [ + 43.66516, + -79.39946 + ], + [ + 43.66516, + -79.39944 + ], + [ + 43.6652, + -79.39939 + ], + [ + 43.66514, + -79.39908 + ], + [ + 43.66509, + -79.39906 + ], + [ + 43.66509, + -79.39905 + ], + [ + 43.66506, + -79.39903 + ], + [ + 43.66505, + -79.39905 + ], + [ + 43.66496, + -79.39901 + ], + [ + 43.6649, + -79.3991 + ], + [ + 43.66492, + -79.39921 + ], + [ + 43.66484, + -79.39932 + ] + ], + "address":{ + "street":"140 St. George Street", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 3G6" + } + }, + { + "id":"006B", + "code":"RB", + "name":"Thomas Fisher Rare Book Library Building", + "short_name":"Rare Book", + "campus":"UTSG", + "lat":43.66405418284699, + "lng":-79.398935296325, + "polygon":[ + [ + 43.66421, + -79.3989 + ], + [ + 43.66418, + -79.39876 + ], + [ + 43.66409, + -79.39872 + ], + [ + 43.66387, + -79.39901 + ], + [ + 43.66388, + -79.39908 + ], + [ + 43.66402, + -79.39914 + ], + [ + 43.66407, + -79.39907 + ], + [ + 43.66415, + -79.3991 + ], + [ + 43.66417, + -79.39906 + ], + [ + 43.66415, + -79.39896 + ] + ], + "address":{ + "street":"120 St. George Street", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 1A5" + } + }, + { + "id":"007", + "code":"MB", + "name":"Lassonde Mining Building", + "short_name":"Mining", + "campus":"UTSG", + "lat":43.659502525205575, + "lng":-79.3933891586351, + "polygon":[ + [ + 43.65964, + -79.39399 + ], + [ + 43.65947, + -79.39392 + ], + [ + 43.65946, + -79.39393 + ], + [ + 43.65935, + -79.39388 + ], + [ + 43.65935, + -79.39387 + ], + [ + 43.65929, + -79.39385 + ], + [ + 43.65934, + -79.39365 + ], + [ + 43.65938, + -79.39367 + ], + [ + 43.65942, + -79.39349 + ], + [ + 43.65939, + -79.39348 + ], + [ + 43.6594, + -79.39341 + ], + [ + 43.65938, + -79.3934 + ], + [ + 43.6594, + -79.39332 + ], + [ + 43.65942, + -79.39333 + ], + [ + 43.65943, + -79.39327 + ], + [ + 43.65946, + -79.39328 + ], + [ + 43.6595, + -79.3931 + ], + [ + 43.65946, + -79.39309 + ], + [ + 43.6595, + -79.39289 + ], + [ + 43.65956, + -79.39291 + ], + [ + 43.65956, + -79.3929 + ], + [ + 43.65967, + -79.39295 + ], + [ + 43.65967, + -79.39296 + ], + [ + 43.65973, + -79.39298 + ], + [ + 43.65967, + -79.39325 + ], + [ + 43.65964, + -79.39324 + ], + [ + 43.65961, + -79.3934 + ], + [ + 43.65964, + -79.39341 + ], + [ + 43.65965, + -79.39334 + ], + [ + 43.65975, + -79.39338 + ], + [ + 43.65969, + -79.39366 + ], + [ + 43.65959, + -79.39362 + ], + [ + 43.65961, + -79.39352 + ], + [ + 43.65959, + -79.39351 + ], + [ + 43.65954, + -79.39373 + ], + [ + 43.65968, + -79.39379 + ] + ], + "address":{ + "street":"170 College Street", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 3E3" + } + }, + { + "id":"008", + "code":"WB", + "name":"Wallberg Building", + "short_name":"Wallberg", + "campus":"UTSG", + "lat":43.65912364957695, + "lng":-79.3951909325409, + "polygon":[ + [ + 43.65939, + -79.39502 + ], + [ + 43.65952, + -79.39507 + ], + [ + 43.65956, + -79.39483 + ], + [ + 43.65932, + -79.39473 + ], + [ + 43.65937, + -79.39446 + ], + [ + 43.6594, + -79.39447 + ], + [ + 43.65943, + -79.39436 + ], + [ + 43.6594, + -79.39435 + ], + [ + 43.6594, + -79.39434 + ], + [ + 43.65923, + -79.39427 + ], + [ + 43.65915, + -79.39466 + ], + [ + 43.65914, + -79.39466 + ], + [ + 43.6591, + -79.39487 + ], + [ + 43.65911, + -79.39487 + ], + [ + 43.65899, + -79.39546 + ], + [ + 43.65898, + -79.39545 + ], + [ + 43.65893, + -79.39566 + ], + [ + 43.65894, + -79.39567 + ], + [ + 43.65888, + -79.396 + ], + [ + 43.65916, + -79.39612 + ], + [ + 43.65919, + -79.39597 + ], + [ + 43.65921, + -79.39598 + ], + [ + 43.65923, + -79.39591 + ], + [ + 43.6591, + -79.39585 + ], + [ + 43.65913, + -79.39572 + ], + [ + 43.65925, + -79.39577 + ], + [ + 43.65929, + -79.3956 + ], + [ + 43.65916, + -79.39555 + ], + [ + 43.6592, + -79.39537 + ], + [ + 43.65924, + -79.39539 + ], + [ + 43.65923, + -79.39543 + ], + [ + 43.65932, + -79.39547 + ], + [ + 43.65934, + -79.39539 + ], + [ + 43.65936, + -79.3954 + ], + [ + 43.65937, + -79.39533 + ], + [ + 43.65935, + -79.39532 + ], + [ + 43.65937, + -79.39521 + ], + [ + 43.65924, + -79.39515 + ], + [ + 43.65929, + -79.39494 + ], + [ + 43.6594, + -79.39498 + ] + ], + "address":{ + "street":"184-200 College Street", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M56 3E5" + } + }, + { + "id":"008A", + "code":"PT", + "name":"D.L. Pratt Building", + "short_name":"D.L. Pratt", + "campus":"UTSG", + "lat":43.65963205070242, + "lng":-79.3946933827686, + "polygon":[ + [ + 43.65968, + -79.39513 + ], + [ + 43.65973, + -79.3949 + ], + [ + 43.65967, + -79.39487 + ], + [ + 43.65975, + -79.39448 + ], + [ + 43.65957, + -79.39441 + ], + [ + 43.65955, + -79.39449 + ], + [ + 43.6595, + -79.39447 + ], + [ + 43.65949, + -79.39451 + ], + [ + 43.65954, + -79.39454 + ], + [ + 43.65953, + -79.3946 + ], + [ + 43.65957, + -79.39462 + ], + [ + 43.65953, + -79.39481 + ], + [ + 43.65956, + -79.39483 + ], + [ + 43.65952, + -79.39506 + ] + ], + "address":{ + "street":"6 King's College Road", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 3H5" + } + }, + { + "id":"009", + "code":"SF", + "name":"Sandford Fleming Building", + "short_name":"Sandford Flm", + "campus":"UTSG", + "lat":43.66012007293862, + "lng":-79.3951037607479, + "polygon":[ + [ + 43.66051, + -79.39503 + ], + [ + 43.66051, + -79.39498 + ], + [ + 43.66027, + -79.39488 + ], + [ + 43.66027, + -79.39484 + ], + [ + 43.66026, + -79.3948 + ], + [ + 43.66024, + -79.39476 + ], + [ + 43.66022, + -79.39474 + ], + [ + 43.66019, + -79.39472 + ], + [ + 43.66016, + -79.39472 + ], + [ + 43.66014, + -79.39472 + ], + [ + 43.66012, + -79.39474 + ], + [ + 43.66009, + -79.39476 + ], + [ + 43.66008, + -79.39479 + ], + [ + 43.66007, + -79.39481 + ], + [ + 43.65986, + -79.39472 + ], + [ + 43.65983, + -79.39489 + ], + [ + 43.65987, + -79.39491 + ], + [ + 43.65974, + -79.39554 + ], + [ + 43.6599, + -79.3956 + ], + [ + 43.65992, + -79.39554 + ], + [ + 43.66011, + -79.39562 + ], + [ + 43.66015, + -79.39544 + ], + [ + 43.66032, + -79.39551 + ], + [ + 43.6604, + -79.39512 + ], + [ + 43.66045, + -79.39514 + ], + [ + 43.66048, + -79.39502 + ] + ], + "address":{ + "street":"10 King's College Road", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 3G4" + } + }, + { + "id":"010", + "code":"SI", + "name":"Simcoe Hall", + "short_name":"Simcoe Hall", + "campus":"UTSG", + "lat":43.6607633248092, + "lng":-79.395939268856, + "polygon":[ + [ + 43.66102, + -79.3963 + ], + [ + 43.66107, + -79.39604 + ], + [ + 43.66093, + -79.39598 + ], + [ + 43.66096, + -79.39595 + ], + [ + 43.66092, + -79.39586 + ], + [ + 43.66089, + -79.39588 + ], + [ + 43.6609, + -79.39581 + ], + [ + 43.6605, + -79.39566 + ], + [ + 43.66047, + -79.3958 + ], + [ + 43.66044, + -79.39579 + ], + [ + 43.66041, + -79.39596 + ], + [ + 43.66101, + -79.3962 + ], + [ + 43.66099, + -79.39629 + ] + ], + "address":{ + "street":"27 King's College Circle", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 1A1" + } + }, + { + "id":"010A", + "code":"CH", + "name":"Convocation Hall", + "short_name":"Con Hall", + "campus":"UTSG", + "lat":43.66077496731175, + "lng":-79.3953880749035, + "polygon":[ + [ + 43.6609, + -79.39581 + ], + [ + 43.66096, + -79.39554 + ], + [ + 43.66097, + -79.39555 + ], + [ + 43.66099, + -79.39554 + ], + [ + 43.661, + -79.39552 + ], + [ + 43.661, + -79.39551 + ], + [ + 43.661, + -79.39548 + ], + [ + 43.661, + -79.39547 + ], + [ + 43.66099, + -79.39545 + ], + [ + 43.66097, + -79.39544 + ], + [ + 43.66097, + -79.39541 + ], + [ + 43.66097, + -79.39536 + ], + [ + 43.66097, + -79.39533 + ], + [ + 43.66096, + -79.39528 + ], + [ + 43.66094, + -79.39525 + ], + [ + 43.66092, + -79.39521 + ], + [ + 43.6609, + -79.39518 + ], + [ + 43.66087, + -79.39515 + ], + [ + 43.66085, + -79.39513 + ], + [ + 43.66085, + -79.39511 + ], + [ + 43.66084, + -79.39509 + ], + [ + 43.66083, + -79.39507 + ], + [ + 43.66082, + -79.39507 + ], + [ + 43.6608, + -79.39508 + ], + [ + 43.66079, + -79.39509 + ], + [ + 43.66078, + -79.3951 + ], + [ + 43.66078, + -79.39511 + ], + [ + 43.66075, + -79.39511 + ], + [ + 43.66072, + -79.39511 + ], + [ + 43.66069, + -79.39513 + ], + [ + 43.66066, + -79.39514 + ], + [ + 43.66062, + -79.39518 + ], + [ + 43.66059, + -79.39522 + ], + [ + 43.66057, + -79.39525 + ], + [ + 43.66056, + -79.39528 + ], + [ + 43.66054, + -79.39528 + ], + [ + 43.66053, + -79.39529 + ], + [ + 43.66052, + -79.3953 + ], + [ + 43.66051, + -79.39533 + ], + [ + 43.66051, + -79.39535 + ], + [ + 43.66052, + -79.39537 + ], + [ + 43.66054, + -79.39538 + ], + [ + 43.66058, + -79.39541 + ], + [ + 43.66059, + -79.3955 + ], + [ + 43.66058, + -79.39555 + ], + [ + 43.66053, + -79.39553 + ], + [ + 43.6605, + -79.39565 + ] + ], + "address":{ + "street":"31 King's College Circle", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 1A1" + } + }, + { + "id":"011", + "code":"TZ", + "name":"C. David Naylor Building (Formerly Tanz Building)", + "short_name":"Naylor", + "campus":"UTSG", + "lat":43.660430057195335, + "lng":-79.3917597166586, + "polygon":[ + [ + 43.66043, + -79.39219 + ], + [ + 43.66051, + -79.39182 + ], + [ + 43.66045, + -79.39163 + ], + [ + 43.66022, + -79.39155 + ], + [ + 43.66015, + -79.39188 + ], + [ + 43.66025, + -79.39192 + ], + [ + 43.66029, + -79.39176 + ], + [ + 43.66039, + -79.39179 + ], + [ + 43.66035, + -79.39197 + ], + [ + 43.66028, + -79.39194 + ], + [ + 43.66026, + -79.39201 + ], + [ + 43.66024, + -79.392 + ], + [ + 43.66022, + -79.39207 + ], + [ + 43.66025, + -79.39208 + ], + [ + 43.66024, + -79.39212 + ] + ], + "address":{ + "street":"6 Queen's Park Crescent West", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 3H2" + } + }, + { + "id":"012A", + "code":"MU", + "name":"Munk School of Global Affairs at Trinity", + "short_name":"Munk-Trinity", + "campus":"UTSG", + "lat":43.66529984970937, + "lng":-79.3967868469047, + "polygon":[ + [ + 43.66525, + -79.39647 + ], + [ + 43.66525, + -79.39644 + ], + [ + 43.66542, + -79.39651 + ], + [ + 43.66532, + -79.39702 + ], + [ + 43.66531, + -79.39701 + ], + [ + 43.66529, + -79.3971 + ], + [ + 43.6652, + -79.39707 + ], + [ + 43.66522, + -79.39698 + ], + [ + 43.66518, + -79.39696 + ], + [ + 43.66526, + -79.39662 + ], + [ + 43.66524, + -79.39657 + ], + [ + 43.66485, + -79.39642 + ], + [ + 43.66482, + -79.39644 + ], + [ + 43.66475, + -79.39678 + ], + [ + 43.66472, + -79.39677 + ], + [ + 43.6647, + -79.39686 + ], + [ + 43.66461, + -79.39683 + ], + [ + 43.66463, + -79.39674 + ], + [ + 43.66461, + -79.39673 + ], + [ + 43.66472, + -79.39624 + ], + [ + 43.66489, + -79.3963 + ], + [ + 43.66489, + -79.39633 + ] + ], + "address":{ + "street":"1 Devonshire Place", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 3K7" + } + }, + { + "id":"012C", + "code":"MU", + "name":"Munk School of Global Affairs - Graham Library", + "short_name":"Munk East", + "campus":"UTSG", + "lat":43.665068957024474, + "lng":-79.3963523290443, + "polygon":[ + [ + 43.66526, + -79.39639 + ], + [ + 43.66525, + -79.39646 + ], + [ + 43.66489, + -79.39632 + ], + [ + 43.6649, + -79.39625 + ] + ], + "address":{ + "street":"5 Devonshire Place", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 3K7" + } + }, + { + "id":"013", + "code":"WT", + "name":"Whitney Hall", + "short_name":"Whitney Hall", + "campus":"UTSG", + "lat":43.663755374135995, + "lng":-79.3979388556766, + "polygon":[ + [ + 43.66405, + -79.39815 + ], + [ + 43.66409, + -79.39799 + ], + [ + 43.66407, + -79.39798 + ], + [ + 43.66414, + -79.39766 + ], + [ + 43.66416, + -79.39767 + ], + [ + 43.66419, + -79.39753 + ], + [ + 43.66395, + -79.39744 + ], + [ + 43.66392, + -79.39759 + ], + [ + 43.66403, + -79.39763 + ], + [ + 43.66396, + -79.39794 + ], + [ + 43.6638, + -79.39788 + ], + [ + 43.6638, + -79.3979 + ], + [ + 43.66373, + -79.39787 + ], + [ + 43.66373, + -79.39784 + ], + [ + 43.66363, + -79.3978 + ], + [ + 43.66369, + -79.3975 + ], + [ + 43.66375, + -79.39752 + ], + [ + 43.66378, + -79.39737 + ], + [ + 43.66355, + -79.39728 + ], + [ + 43.66352, + -79.39743 + ], + [ + 43.66357, + -79.39745 + ], + [ + 43.6635, + -79.39775 + ], + [ + 43.66347, + -79.39774 + ], + [ + 43.66343, + -79.3979 + ], + [ + 43.6637, + -79.398 + ], + [ + 43.6637, + -79.39798 + ], + [ + 43.66377, + -79.39801 + ], + [ + 43.66377, + -79.39804 + ] + ], + "address":{ + "street":"85 St. George Street", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 2E5" + } + }, + { + "id":"014", + "code":"FE", + "name":"Bloor Street West-371", + "short_name":"Bloor W-371", + "campus":"UTSG", + "lat":43.66668130671138, + "lng":-79.4022290489959, + "polygon":[ + [ + 43.66695, + -79.4017 + ], + [ + 43.66684, + -79.40166 + ], + [ + 43.66684, + -79.40163 + ], + [ + 43.66682, + -79.40162 + ], + [ + 43.66681, + -79.40164 + ], + [ + 43.66655, + -79.40154 + ], + [ + 43.66654, + -79.40158 + ], + [ + 43.66651, + -79.40157 + ], + [ + 43.6665, + -79.40164 + ], + [ + 43.66652, + -79.40166 + ], + [ + 43.6665, + -79.40176 + ], + [ + 43.66669, + -79.40184 + ], + [ + 43.66665, + -79.40203 + ], + [ + 43.66663, + -79.40202 + ], + [ + 43.66662, + -79.40207 + ], + [ + 43.66649, + -79.40202 + ], + [ + 43.66643, + -79.40231 + ], + [ + 43.66656, + -79.40237 + ], + [ + 43.66655, + -79.40242 + ], + [ + 43.66657, + -79.40243 + ], + [ + 43.66647, + -79.40289 + ], + [ + 43.6661, + -79.40275 + ], + [ + 43.66605, + -79.40298 + ], + [ + 43.66659, + -79.40319 + ], + [ + 43.66665, + -79.4029 + ], + [ + 43.66669, + -79.40292 + ], + [ + 43.66676, + -79.40261 + ], + [ + 43.66672, + -79.40259 + ], + [ + 43.66676, + -79.40238 + ], + [ + 43.66678, + -79.40239 + ], + [ + 43.66679, + -79.40233 + ], + [ + 43.66677, + -79.40233 + ], + [ + 43.66678, + -79.40226 + ], + [ + 43.6668, + -79.40227 + ], + [ + 43.66681, + -79.40222 + ], + [ + 43.66679, + -79.40221 + ], + [ + 43.66685, + -79.40195 + ], + [ + 43.66689, + -79.40197 + ] + ], + "address":{ + "street":"371 Bloor Street West", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5S 2R7" + } + }, + { + "id":"016", + "code":"BI", + "name":"Banting Institute", + "short_name":"Banting Inst", + "campus":"UTSG", + "lat":43.660492150860854, + "lng":-79.388589345603, + "polygon":[ + [ + 43.66068, + -79.38905 + ], + [ + 43.66037, + -79.38892 + ], + [ + 43.66051, + -79.38823 + ], + [ + 43.66078, + -79.38833 + ], + [ + 43.66075, + -79.38851 + ], + [ + 43.66061, + -79.38846 + ], + [ + 43.66054, + -79.38876 + ], + [ + 43.66063, + -79.3888 + ], + [ + 43.66064, + -79.38875 + ], + [ + 43.6607, + -79.38878 + ], + [ + 43.66069, + -79.38882 + ], + [ + 43.66072, + -79.38884 + ] + ], + "address":{ + "street":"100 College Street", + "city":"Toronto", + "province":"ON", + "country":"Canada", + "postal":"M5G 1L5" + } + } ]