In [1]:
from matplotlib.path import Path
import matplotlib.pyplot as plt
import numpy as np

import cartopy.crs as ccrs
from cartopy.io.img_tiles import OSM

In [ ]:
# Data from the awesome scruss: <http://scruss.com/blog/2005/12/14/toronto-subway-station-gps-locations/>

subway_locations = mp.array([
    # Scarborough RT
    [43.73219165, -79.26569632, 'Kennedy'],
    [43.7502148, -79.27090721, 'Lawrence East']
    [43.76722615, -79.27731467, 'Ellesmere']
    [43.77016839, -79.27248232, 'Midland']
    [43.77384411, -79.25786316, 'Scarborough Centre']
    [43.77551255, -79.25154339, 'McCowan'],
    
    # Sheppard
    [43.76161811, -79.41098864, 'Sheppard-Yonge'],
    [43.76725222, -79.38739865, 'Bayview'],
    [43.76912679, -79.37672419, 'Bessarion'],
    [43.77113245, -79.36741635, 'Leslie'],
    [43.77556464, -79.34693642, 'Don Mills'],
    
    # Yonge-University-Spadina
    [43.75005381, -79.46234274, 'Downsview'],
    [43.73458062, -79.44992871, 'Wilson'],
    [43.72481302, -79.44750946, 'Yorkdale'],
    [43.71638143, -79.44402915, 'Lawrence West'],
    [43.70981996, -79.44152842, 'Glencairn'],
    [43.69899665, -79.43598953, 'Eglinton West'],
    [43.68435203, -79.41453588, 'St Clair West'],
    [43.67490988, -79.40725667, 'Dupont'],
    [43.66771459, -79.40375197, 'Spadina'],
    [43.66831877, -79.39867229, 'St George'],
    [43.66717707, -79.39350223, 'Museum'],
    [43.65970495, -79.39034904, "Queen's Park"],
    [43.65461164, -79.38829598, 'St Patrick'],
    [43.65087411, -79.38661732, 'Osgoode'],
    [43.64764565, -79.38513048, 'St Andrew'
    [43.64572267, -79.38046226, 'Union'
    [43.64912088, -79.37804513, 'King'
    [43.65234651, -79.3793265	'Queen'
    [43.65613653, -79.38072965, 'Dundas'],
    [43.66122997, -79.38278217, 'College'],
    [43.66518294, -79.38377079, 'Wellesley'],
    [43.670672, -79.38595009, 'Bloor'],
    [43.67690095, -79.38872589, 'Rosedale'],
    [43.68245, -79.39117824, 'Summerhill'],
    [43.68816298, -79.39328435, 'St Clair'],
    [43.69812339, -79.39733141, 'Davisville'],
    [43.70664584, -79.39915846, 'Eglinton'],
    [43.72542192, -79.40187758, 'Lawrence'],
    [43.74499592, -79.40533068, 'York Mills'],
    [43.76167434, -79.41098715, 'Sheppard'],
    [43.76924125, -79.4129116, 'North York Centre'],
    [43.78149012, -79.41567261, 'Finch'],
    
    # Bloor-Danforth
    [43.63802031, -79.53638812, 'Kipling'],
    [43.64595008, -79.52394798, 'Islington'],
    [43.64880444, -79.51154051, 'Royal York'],
    [43.65057649, -79.49522499, 'Old Mill'],
    [43.65029127, -79.48477178, 'Jane'],
    [43.65216695, -79.47649916, 'Runnymede'],
    [43.65459423, -79.46552962, 'High Park'],
    [43.65570079, -79.46031548, 'Keele'],
    [43.65714206, -79.45267843, 'Dundas West'],
    [43.65914292, -79.44296991, 'Lansdowne'],
    [43.6606651, -79.4359558, 'Dufferin'],
    [43.66266333, -79.42615682, 'Ossington'],
    [43.66425178, -79.41869303, 'Christie'],
    [43.66599176, -79.41158255, 'Bathurst'],
    [43.66764776, -79.4037584, 'Spadina'],
    [43.66831164, -79.39864323, 'St George'],
    [43.67040029, -79.39027029, 'Bay'],
    [43.67070606, -79.38587981, 'Yonge'],
    [43.67234508, -79.37698161, 'Sherbourne'],
    [43.67414063, -79.36879416, 'Castle Frank'],
    [43.67686172, -79.35852385, 'Broadview'],
    [43.67837735, -79.35141628, 'Chester'],
    [43.67968493, -79.34520853, 'Pape'],
    [43.68105008, -79.33792557, 'Donlands'],
    [43.68270361, -79.33027644, 'Greenwood'],
    [43.68414917, -79.32352724, 'Coxwell'],
    [43.6863529, -79.31335711, 'Woodbine'],
    [43.68891661, -79.30272876, 'Main Street'],
    [43.69432082, -79.29031894, 'Victoria Park'],
    [43.71224201, -79.27898037, 'Warden'],
    [43.73211815, -79.26569845, 'Kennedy'],
    
])