Newer
Older
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<img src=\"https://news.illinois.edu/files/6367/543635/116641.jpg\" alt=\"University of Illinois\" style=\"width: 200px;\"/>\n",
"\n",
"## Locations ##\n",
"By\n",
"* Dhilan Desai <dsdesai2@illinois.edu>\n",
"* Priya Shah <pshah230@illinois.edu>\n",
"* Samuel Hurh <shurh2@illinois.edu>\n",
"* Timmy Pirtle <tpirtle2@illinois.edu>\n",
"Project directed by Richard Sowers\n",
"* <r-sowers@illinois.edu>\n",
"* <https://publish.illinois.edu/r-sowers/>\n",
"\n",
"Copyright 2020 University of Illinois Board of Trustees. All Rights Reserved.\n",
"Licensed under the MIT license"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This notebook is part of the 2020 \"ISE Freshman\" effort"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### imports ###"
]
},
{
"cell_type": "code",
"metadata": {},
"outputs": [],
"source": [
"import geographiclib.geodesic\n",
"import pandas\n",
"import numpy\n",
"geod = geographiclib.geodesic.Geodesic.WGS84\n",
"import json\n",
"import urllib.request\n",
"import urllib.parse"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### constants ###"
]
},
{
"cell_type": "code",
"metadata": {},
"outputs": [],
"source": [
"personal_data={\n",
" \"Timmy Pirtle\": {\"Born\":\"Du Quoin, Illinois\",\"High School\":\"Du Quoin, Illinois\"}, \n",
" \"Priya Shah\": {\"Born\":\"Boston, Massachusetts\",\"High School\":\"Bartlett, IL\"}, \n",
" \"Dhilan Desai\": {\"Born\":\"Cleveland, Ohio\",\"High School\":\"Wheaton, IL\"}, \n",
" \"Samuel Hurh\": {\"Born\":\"Niles, Illinois\",\"High School\":\"Libertyville, Illinois\"}\n",
"} "
]
},
{
"cell_type": "code",
"import config\n",
"API=config.API"
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
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Born: Du Quoin, Illinois\n",
"{'lat': 38.0114393, 'lng': -89.2361935}\n",
"High School: Du Quoin, Illinois\n",
"{'lat': 38.0114393, 'lng': -89.2361935}\n",
"Born: Boston, Massachusetts\n",
"{'lat': 42.3600825, 'lng': -71.0588801}\n",
"High School: Bartlett, IL\n",
"{'lat': 41.9950276, 'lng': -88.1856301}\n",
"Born: Cleveland, Ohio\n",
"{'lat': 41.49932, 'lng': -81.6943605}\n",
"High School: Wheaton, IL\n",
"{'lat': 41.8661403, 'lng': -88.1070127}\n",
"Born: Niles, Illinois\n",
"{'lat': 42.0189191, 'lng': -87.80284019999999}\n",
"High School: Libertyville, Illinois\n",
"{'lat': 42.2830786, 'lng': -87.9531303}\n"
]
}
],
"source": [
"class geodata:\n",
" def __init__(self,API):\n",
" self.API=API\n",
" self.google_url=\"https://maps.googleapis.com/maps/api/geocode/json?address={0:s}&key={1:s}\"\n",
"\n",
"\n",
" def get_google_geocoding_url(self,place_name):\n",
" url=self.google_url.format(urllib.parse.quote_plus(place_name),self.API)\n",
" return url\n",
"\n",
" def place_to_latlng(self,place_name):\n",
" try:\n",
" url = self.get_google_geocoding_url(place_name)\n",
" with urllib.request.urlopen(url) as response:\n",
" out=json.loads(response.read())\n",
" return out[\"results\"][0][\"geometry\"][\"location\"]\n",
" except:\n",
" print(\"The place you entered does not exist\")\n",
" return None\n",
"\n",
"for name,data in personal_data.items():\n",
" place_name = data[\"Born\"]\n",
" print(\"Born: \" + data[\"Born\"])\n",
"\n",
" mygeodata=geodata(API)\n",
" print(mygeodata.place_to_latlng(data[\"Born\"]))\n",
" \n",
" print(\"High School: \" + data[\"High School\"])\n",
" print(mygeodata.place_to_latlng(data[\"High School\"]))"
]
},
{
"cell_type": "code",
"metadata": {},
"outputs": [],
"source": [
"UIUC_pt={\"lat\":40.1020,\"lng\":-88.2272}"
]
},
{
"cell_type": "code",
"metadata": {},
"outputs": [],
"source": [
"#arc between birthplace and high school\n",
"def makearc(start_pt,end_pt=UIUC_pt,N_midpoint=20):\n",
" geoline = geod.InverseLine(start_pt[\"lat\"],start_pt[\"lng\"],end_pt[\"lat\"],end_pt[\"lng\"],geographiclib.geodesic.Geodesic.LATITUDE | geographiclib.geodesic.Geodesic.LONGITUDE)\n",
" waypoints=numpy.linspace(start=0,stop=geoline.a13,num=N_midpoint)\n",
" \n",
" def getlatlng1(waypoint):\n",
" g = geoline.ArcPosition(waypoint, geographiclib.geodesic.Geodesic.LATITUDE |geographiclib.geodesic.Geodesic.LONGITUDE | geographiclib.geodesic.Geodesic.LONG_UNROLL)\n",
" return [g[\"lon2\"],g[\"lat2\"]]\n",
" \n",
" out=[getlatlng1(waypoint) for waypoint in waypoints]\n",
" return out\n",
"\n",
"\n"
]
},
{
"cell_type": "code",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[[-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.2361935, 38.011439300000006], [-89.18454705315334, 38.12169461388549], [-89.13274473637028, 38.23192577278402], [-89.08078549159795, 38.34213261694965], [-89.02866825276647, 38.45231498539504], [-88.97639194571153, 38.56247271587848], [-88.92395548809604, 38.672605644890716], [-88.87135778933109, 38.78271360764157], [-88.81859775049584, 38.892796438046474], [-88.76567426425683, 39.002853968712856], [-88.71258621478617, 39.112886030926276], [-88.65933247767903, 39.22289245463651], [-88.60591191987017, 39.33287306844334], [-88.55232339954956, 39.442827699582324], [-88.49856576607719, 39.55275617391026], [-88.44463785989682, 39.66265831589054], [-88.39053851244891, 39.772533948578406], [-88.33626654608264, 39.88238289360582], [-88.2818207739668, 39.99220497116641], [-88.22719999999998, 40.102]]\n",
"[[-71.0588801, 42.3600825], [-71.96003146064828, 42.404932505324396], [-72.86236795545398, 42.44268918182631], [-73.76568828009071, 42.47333470487998], [-74.66978926678318, 42.49685456642607], [-75.57446626354321, 42.51323760707672], [-76.4795135200894, 42.52247604090735], [-77.38472457873375, 42.52456547280387], [-78.28989266847786, 42.51950490827329], [-79.19481110053266, 42.507296755665394], [-80.0992736634645, 42.4879468207937], [-81.00307501617313, 42.46146429398431], [-81.90601107692581, 42.427861729621526], [-82.80787940670493, 42.387155018298934], [-83.70847958517477, 42.33936335172277], [-84.60761357763501, 42.28450918055197], [-85.50508609140323, 42.22261816539442], [-86.4007049201559, 42.153719121212646], [-87.29428127485573, 42.077843955422814], [-88.18563010000001, 41.99502759999999], [-88.1856301, 41.9950276], [-88.18787863342847, 41.89540533056478], [-88.19012017609191, 41.795781860998964], [-88.19235477398372, 41.69615719202085], [-88.1945824727298, 41.59653132436043], [-88.1968033175921, 41.496904258759415], [-88.19901735347248, 41.39727599597127], [-88.20122462491658, 41.29764653676121], [-88.20342517611718, 41.19801588190623], [-88.20561905091807, 41.09838403219513], [-88.20780629281751, 40.998750988428526], [-88.20998694497175, 40.899116751418845], [-88.21216105019855, 40.79948132199038], [-88.21432865098062, 40.69984470097928], [-88.2164897894691, 40.60020688923356], [-88.21864450748673, 40.50056788761315], [-88.22079284653137, 40.40092769698988], [-88.22293484777919, 40.301286318247485], [-88.22507055208786, 40.201643752281655], [-88.2272, 40.102000000000004]]\n",
"[[-81.6943605, 41.49932], [-82.02979176999087, 41.52751670353536], [-82.36550991676619, 41.55473412806726], [-82.7015052900981, 41.58097052308695], [-83.03776816903208, 41.60622419756348], [-83.37428876414937, 41.63049352044225], [-83.71105721987004, 41.653776921127566], [-84.04806361679546, 41.676072889949076], [-84.38529797408907, 41.69737997861162], [-84.72275025189411, 41.71769680062819], [-85.06041035378695, 41.73702203173577], [-85.39826812926488, 41.755354410293606], [-85.7363133762666, 41.77269273766385], [-86.07453584372455, 41.789035878574076], [-86.41292523414702, 41.80438276146156], [-86.75147120622893, 41.818732378799005], [-87.09016337748963, 41.83208378740155], [-87.42899132693626, 41.844436108714696], [-87.76794459775088, 41.8557885290831], [-88.1070127, 41.866140300000005], [-88.1070127, 41.8661403], [-88.11350115850259, 41.77330300067117], [-88.11997089653805, 41.68046433234409], [-88.12642202864761, 41.587624297606226], [-88.13285466852236, 41.49478289903914], [-88.13926892901168, 41.40194013921853], [-88.14566492213126, 41.30909602071451], [-88.152042759071, 41.216250546091686], [-88.15840255020282, 41.12340371790927], [-88.16474440508867, 41.03055553872133], [-88.1710684324881, 40.93770601107686], [-88.1773747403659, 40.84485513751996], [-88.1836634358996, 40.752002920589916], [-88.18993462548694, 40.659149362821495], [-88.19618841475331, 40.56629446674486], [-88.20242490855894, 40.47343823488591], [-88.20864421100607, 40.38058066976633], [-88.21484642544628, 40.287721773903684], [-88.22103165448728, 40.194861549811634], [-88.2272, 40.102000000000004]]\n",
"[[-87.80284019999999, 42.0189191], [-87.81071906751338, 42.03282732955622], [-87.81860137743004, 42.04673499550887], [-87.82648713279873, 42.060642097359185], [-87.83437633667131, 42.07454863460795], [-87.84226899210273, 42.088454606755334], [-87.85016510215107, 42.102360013300995], [-87.85806466987745, 42.11626485374404], [-87.86596769834615, 42.13016912758309], [-87.87387419062458, 42.14407283431614], [-87.88178414978321, 42.15797597344073], [-87.88969757889566, 42.171878544453804], [-87.89761448103869, 42.185780546851795], [-87.90553485929215, 42.19968198013054], [-87.91345871673904, 42.21358284378542], [-87.92138605646552, 42.227483137311204], [-87.92931688156087, 42.24138286020212], [-87.93725119511748, 42.25528201195188], [-87.94518900023095, 42.269180592053644], [-87.9531303, 42.283078599999996], [-87.9531303, 42.2830786], [-87.96801937246646, 42.16831538879736], [-87.98285461799236, 42.053548716328116], [-87.99763644505657, 41.93877859775966], [-88.012365258374, 41.8240050481495], [-88.02704145894025, 41.70922808244696], [-88.04166544407563, 41.59444771549468], [-88.05623760746873, 41.47966396203016], [-88.0707583392192, 41.36487683668736], [-88.08522802587987, 41.250086353998135], [-88.09964705049867, 41.13529252839379], [-88.11401579265952, 41.020495374206504], [-88.12833462852281, 40.90569490567076], [-88.14260393086555, 40.7908911369248], [-88.15682406912069, 40.676084082012075], [-88.1709954094158, 40.5612737548825], [-88.18511831461178, 40.44646016939397], [-88.19919314434031, 40.331643339313594], [-88.21322025504139, 40.216823278319076], [-88.22720000000001, 40.102000000000004]]\n",
"\n",
"\n"
]
}
],
"source": [
"for name,data in personal_data.items():\n",
" firstarc = makearc(mygeodata.place_to_latlng(data[\"Born\"]),mygeodata.place_to_latlng(data[\"High School\"]))\n",
" secondarc = makearc(mygeodata.place_to_latlng(data[\"High School\"]))\n",
" totalarc=firstarc+secondarc\n",
" print(totalarc)\n",
" print(\"\\n\")\n",
" personal_data[name][\"arc\"]=totalarc\n",
" "
]
},
{
"cell_type": "code",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
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
" 'arc': [[-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.18454705315334, 38.12169461388549],\n",
" [-89.13274473637028, 38.23192577278402],\n",
" [-89.08078549159795, 38.34213261694965],\n",
" [-89.02866825276647, 38.45231498539504],\n",
" [-88.97639194571153, 38.56247271587848],\n",
" [-88.92395548809604, 38.672605644890716],\n",
" [-88.87135778933109, 38.78271360764157],\n",
" [-88.81859775049584, 38.892796438046474],\n",
" [-88.76567426425683, 39.002853968712856],\n",
" [-88.71258621478617, 39.112886030926276],\n",
" [-88.65933247767903, 39.22289245463651],\n",
" [-88.60591191987017, 39.33287306844334],\n",
" [-88.55232339954956, 39.442827699582324],\n",
" [-88.49856576607719, 39.55275617391026],\n",
" [-88.44463785989682, 39.66265831589054],\n",
" [-88.39053851244891, 39.772533948578406],\n",
" [-88.33626654608264, 39.88238289360582],\n",
" [-88.2818207739668, 39.99220497116641],\n",
" [-88.22719999999998, 40.102]]},\n",
" 'Priya Shah': {'Born': 'Boston, Massachusetts',\n",
" 'High School': 'Bartlett, IL',\n",
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
" 'arc': [[-71.0588801, 42.3600825],\n",
" [-71.96003146064828, 42.404932505324396],\n",
" [-72.86236795545398, 42.44268918182631],\n",
" [-73.76568828009071, 42.47333470487998],\n",
" [-74.66978926678318, 42.49685456642607],\n",
" [-75.57446626354321, 42.51323760707672],\n",
" [-76.4795135200894, 42.52247604090735],\n",
" [-77.38472457873375, 42.52456547280387],\n",
" [-78.28989266847786, 42.51950490827329],\n",
" [-79.19481110053266, 42.507296755665394],\n",
" [-80.0992736634645, 42.4879468207937],\n",
" [-81.00307501617313, 42.46146429398431],\n",
" [-81.90601107692581, 42.427861729621526],\n",
" [-82.80787940670493, 42.387155018298934],\n",
" [-83.70847958517477, 42.33936335172277],\n",
" [-84.60761357763501, 42.28450918055197],\n",
" [-85.50508609140323, 42.22261816539442],\n",
" [-86.4007049201559, 42.153719121212646],\n",
" [-87.29428127485573, 42.077843955422814],\n",
" [-88.18563010000001, 41.99502759999999],\n",
" [-88.1856301, 41.9950276],\n",
" [-88.18787863342847, 41.89540533056478],\n",
" [-88.19012017609191, 41.795781860998964],\n",
" [-88.19235477398372, 41.69615719202085],\n",
" [-88.1945824727298, 41.59653132436043],\n",
" [-88.1968033175921, 41.496904258759415],\n",
" [-88.19901735347248, 41.39727599597127],\n",
" [-88.20122462491658, 41.29764653676121],\n",
" [-88.20342517611718, 41.19801588190623],\n",
" [-88.20561905091807, 41.09838403219513],\n",
" [-88.20780629281751, 40.998750988428526],\n",
" [-88.20998694497175, 40.899116751418845],\n",
" [-88.21216105019855, 40.79948132199038],\n",
" [-88.21432865098062, 40.69984470097928],\n",
" [-88.2164897894691, 40.60020688923356],\n",
" [-88.21864450748673, 40.50056788761315],\n",
" [-88.22079284653137, 40.40092769698988],\n",
" [-88.22293484777919, 40.301286318247485],\n",
" [-88.22507055208786, 40.201643752281655],\n",
" [-88.2272, 40.102000000000004]]},\n",
" 'Dhilan Desai': {'Born': 'Cleveland, Ohio',\n",
" 'High School': 'Wheaton, IL',\n",
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
330
331
332
333
334
335
336
337
338
339
340
341
342
" 'arc': [[-81.6943605, 41.49932],\n",
" [-82.02979176999087, 41.52751670353536],\n",
" [-82.36550991676619, 41.55473412806726],\n",
" [-82.7015052900981, 41.58097052308695],\n",
" [-83.03776816903208, 41.60622419756348],\n",
" [-83.37428876414937, 41.63049352044225],\n",
" [-83.71105721987004, 41.653776921127566],\n",
" [-84.04806361679546, 41.676072889949076],\n",
" [-84.38529797408907, 41.69737997861162],\n",
" [-84.72275025189411, 41.71769680062819],\n",
" [-85.06041035378695, 41.73702203173577],\n",
" [-85.39826812926488, 41.755354410293606],\n",
" [-85.7363133762666, 41.77269273766385],\n",
" [-86.07453584372455, 41.789035878574076],\n",
" [-86.41292523414702, 41.80438276146156],\n",
" [-86.75147120622893, 41.818732378799005],\n",
" [-87.09016337748963, 41.83208378740155],\n",
" [-87.42899132693626, 41.844436108714696],\n",
" [-87.76794459775088, 41.8557885290831],\n",
" [-88.1070127, 41.866140300000005],\n",
" [-88.1070127, 41.8661403],\n",
" [-88.11350115850259, 41.77330300067117],\n",
" [-88.11997089653805, 41.68046433234409],\n",
" [-88.12642202864761, 41.587624297606226],\n",
" [-88.13285466852236, 41.49478289903914],\n",
" [-88.13926892901168, 41.40194013921853],\n",
" [-88.14566492213126, 41.30909602071451],\n",
" [-88.152042759071, 41.216250546091686],\n",
" [-88.15840255020282, 41.12340371790927],\n",
" [-88.16474440508867, 41.03055553872133],\n",
" [-88.1710684324881, 40.93770601107686],\n",
" [-88.1773747403659, 40.84485513751996],\n",
" [-88.1836634358996, 40.752002920589916],\n",
" [-88.18993462548694, 40.659149362821495],\n",
" [-88.19618841475331, 40.56629446674486],\n",
" [-88.20242490855894, 40.47343823488591],\n",
" [-88.20864421100607, 40.38058066976633],\n",
" [-88.21484642544628, 40.287721773903684],\n",
" [-88.22103165448728, 40.194861549811634],\n",
" [-88.2272, 40.102000000000004]]},\n",
" 'Samuel Hurh': {'Born': 'Niles, Illinois',\n",
" 'High School': 'Libertyville, Illinois',\n",
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
" 'arc': [[-87.80284019999999, 42.0189191],\n",
" [-87.81071906751338, 42.03282732955622],\n",
" [-87.81860137743004, 42.04673499550887],\n",
" [-87.82648713279873, 42.060642097359185],\n",
" [-87.83437633667131, 42.07454863460795],\n",
" [-87.84226899210273, 42.088454606755334],\n",
" [-87.85016510215107, 42.102360013300995],\n",
" [-87.85806466987745, 42.11626485374404],\n",
" [-87.86596769834615, 42.13016912758309],\n",
" [-87.87387419062458, 42.14407283431614],\n",
" [-87.88178414978321, 42.15797597344073],\n",
" [-87.88969757889566, 42.171878544453804],\n",
" [-87.89761448103869, 42.185780546851795],\n",
" [-87.90553485929215, 42.19968198013054],\n",
" [-87.91345871673904, 42.21358284378542],\n",
" [-87.92138605646552, 42.227483137311204],\n",
" [-87.92931688156087, 42.24138286020212],\n",
" [-87.93725119511748, 42.25528201195188],\n",
" [-87.94518900023095, 42.269180592053644],\n",
" [-87.9531303, 42.283078599999996],\n",
" [-87.9531303, 42.2830786],\n",
" [-87.96801937246646, 42.16831538879736],\n",
" [-87.98285461799236, 42.053548716328116],\n",
" [-87.99763644505657, 41.93877859775966],\n",
" [-88.012365258374, 41.8240050481495],\n",
" [-88.02704145894025, 41.70922808244696],\n",
" [-88.04166544407563, 41.59444771549468],\n",
" [-88.05623760746873, 41.47966396203016],\n",
" [-88.0707583392192, 41.36487683668736],\n",
" [-88.08522802587987, 41.250086353998135],\n",
" [-88.09964705049867, 41.13529252839379],\n",
" [-88.11401579265952, 41.020495374206504],\n",
" [-88.12833462852281, 40.90569490567076],\n",
" [-88.14260393086555, 40.7908911369248],\n",
" [-88.15682406912069, 40.676084082012075],\n",
" [-88.1709954094158, 40.5612737548825],\n",
" [-88.18511831461178, 40.44646016939397],\n",
" [-88.19919314434031, 40.331643339313594],\n",
" [-88.21322025504139, 40.216823278319076],\n",
" [-88.22720000000001, 40.102000000000004]]}}"
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"personal_data"
]
},
{
"cell_type": "code",
"source": [
"mapboxdict={name:{\"path\":data[\"arc\"]} for (name,data) in personal_data.items()}"
]
},
{
"cell_type": "code",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'Timmy Pirtle': {'path': [[-89.2361935, 38.011439300000006],\n",
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.2361935, 38.011439300000006],\n",
" [-89.18454705315334, 38.12169461388549],\n",
" [-89.13274473637028, 38.23192577278402],\n",
" [-89.08078549159795, 38.34213261694965],\n",
" [-89.02866825276647, 38.45231498539504],\n",
" [-88.97639194571153, 38.56247271587848],\n",
" [-88.92395548809604, 38.672605644890716],\n",
" [-88.87135778933109, 38.78271360764157],\n",
" [-88.81859775049584, 38.892796438046474],\n",
" [-88.76567426425683, 39.002853968712856],\n",
" [-88.71258621478617, 39.112886030926276],\n",
" [-88.65933247767903, 39.22289245463651],\n",
" [-88.60591191987017, 39.33287306844334],\n",
" [-88.55232339954956, 39.442827699582324],\n",
" [-88.49856576607719, 39.55275617391026],\n",
" [-88.44463785989682, 39.66265831589054],\n",
" [-88.39053851244891, 39.772533948578406],\n",
" [-88.33626654608264, 39.88238289360582],\n",
" [-88.2818207739668, 39.99220497116641],\n",
" [-88.22719999999998, 40.102]]},\n",
" 'Priya Shah': {'path': [[-71.0588801, 42.3600825],\n",
" [-71.96003146064828, 42.404932505324396],\n",
" [-72.86236795545398, 42.44268918182631],\n",
" [-73.76568828009071, 42.47333470487998],\n",
" [-74.66978926678318, 42.49685456642607],\n",
" [-75.57446626354321, 42.51323760707672],\n",
" [-76.4795135200894, 42.52247604090735],\n",
" [-77.38472457873375, 42.52456547280387],\n",
" [-78.28989266847786, 42.51950490827329],\n",
" [-79.19481110053266, 42.507296755665394],\n",
" [-80.0992736634645, 42.4879468207937],\n",
" [-81.00307501617313, 42.46146429398431],\n",
" [-81.90601107692581, 42.427861729621526],\n",
" [-82.80787940670493, 42.387155018298934],\n",
" [-83.70847958517477, 42.33936335172277],\n",
" [-84.60761357763501, 42.28450918055197],\n",
" [-85.50508609140323, 42.22261816539442],\n",
" [-86.4007049201559, 42.153719121212646],\n",
" [-87.29428127485573, 42.077843955422814],\n",
" [-88.18563010000001, 41.99502759999999],\n",
" [-88.1856301, 41.9950276],\n",
" [-88.18787863342847, 41.89540533056478],\n",
" [-88.19012017609191, 41.795781860998964],\n",
" [-88.19235477398372, 41.69615719202085],\n",
" [-88.1945824727298, 41.59653132436043],\n",
" [-88.1968033175921, 41.496904258759415],\n",
" [-88.19901735347248, 41.39727599597127],\n",
" [-88.20122462491658, 41.29764653676121],\n",
" [-88.20342517611718, 41.19801588190623],\n",
" [-88.20561905091807, 41.09838403219513],\n",
" [-88.20780629281751, 40.998750988428526],\n",
" [-88.20998694497175, 40.899116751418845],\n",
" [-88.21216105019855, 40.79948132199038],\n",
" [-88.21432865098062, 40.69984470097928],\n",
" [-88.2164897894691, 40.60020688923356],\n",
" [-88.21864450748673, 40.50056788761315],\n",
" [-88.22079284653137, 40.40092769698988],\n",
" [-88.22293484777919, 40.301286318247485],\n",
" [-88.22507055208786, 40.201643752281655],\n",
" [-88.2272, 40.102000000000004]]},\n",
" 'Dhilan Desai': {'path': [[-81.6943605, 41.49932],\n",
" [-82.02979176999087, 41.52751670353536],\n",
" [-82.36550991676619, 41.55473412806726],\n",
" [-82.7015052900981, 41.58097052308695],\n",
" [-83.03776816903208, 41.60622419756348],\n",
" [-83.37428876414937, 41.63049352044225],\n",
" [-83.71105721987004, 41.653776921127566],\n",
" [-84.04806361679546, 41.676072889949076],\n",
" [-84.38529797408907, 41.69737997861162],\n",
" [-84.72275025189411, 41.71769680062819],\n",
" [-85.06041035378695, 41.73702203173577],\n",
" [-85.39826812926488, 41.755354410293606],\n",
" [-85.7363133762666, 41.77269273766385],\n",
" [-86.07453584372455, 41.789035878574076],\n",
" [-86.41292523414702, 41.80438276146156],\n",
" [-86.75147120622893, 41.818732378799005],\n",
" [-87.09016337748963, 41.83208378740155],\n",
" [-87.42899132693626, 41.844436108714696],\n",
" [-87.76794459775088, 41.8557885290831],\n",
" [-88.1070127, 41.866140300000005],\n",
" [-88.1070127, 41.8661403],\n",
" [-88.11350115850259, 41.77330300067117],\n",
" [-88.11997089653805, 41.68046433234409],\n",
" [-88.12642202864761, 41.587624297606226],\n",
" [-88.13285466852236, 41.49478289903914],\n",
" [-88.13926892901168, 41.40194013921853],\n",
" [-88.14566492213126, 41.30909602071451],\n",
" [-88.152042759071, 41.216250546091686],\n",
" [-88.15840255020282, 41.12340371790927],\n",
" [-88.16474440508867, 41.03055553872133],\n",
" [-88.1710684324881, 40.93770601107686],\n",
" [-88.1773747403659, 40.84485513751996],\n",
" [-88.1836634358996, 40.752002920589916],\n",
" [-88.18993462548694, 40.659149362821495],\n",
" [-88.19618841475331, 40.56629446674486],\n",
" [-88.20242490855894, 40.47343823488591],\n",
" [-88.20864421100607, 40.38058066976633],\n",
" [-88.21484642544628, 40.287721773903684],\n",
" [-88.22103165448728, 40.194861549811634],\n",
" [-88.2272, 40.102000000000004]]},\n",
" 'Samuel Hurh': {'path': [[-87.80284019999999, 42.0189191],\n",
" [-87.81071906751338, 42.03282732955622],\n",
" [-87.81860137743004, 42.04673499550887],\n",
" [-87.82648713279873, 42.060642097359185],\n",
" [-87.83437633667131, 42.07454863460795],\n",
" [-87.84226899210273, 42.088454606755334],\n",
" [-87.85016510215107, 42.102360013300995],\n",
" [-87.85806466987745, 42.11626485374404],\n",
" [-87.86596769834615, 42.13016912758309],\n",
" [-87.87387419062458, 42.14407283431614],\n",
" [-87.88178414978321, 42.15797597344073],\n",
" [-87.88969757889566, 42.171878544453804],\n",
" [-87.89761448103869, 42.185780546851795],\n",
" [-87.90553485929215, 42.19968198013054],\n",
" [-87.91345871673904, 42.21358284378542],\n",
" [-87.92138605646552, 42.227483137311204],\n",
" [-87.92931688156087, 42.24138286020212],\n",
" [-87.93725119511748, 42.25528201195188],\n",
" [-87.94518900023095, 42.269180592053644],\n",
" [-87.9531303, 42.283078599999996],\n",
" [-87.9531303, 42.2830786],\n",
" [-87.96801937246646, 42.16831538879736],\n",
" [-87.98285461799236, 42.053548716328116],\n",
" [-87.99763644505657, 41.93877859775966],\n",
" [-88.012365258374, 41.8240050481495],\n",
" [-88.02704145894025, 41.70922808244696],\n",
" [-88.04166544407563, 41.59444771549468],\n",
" [-88.05623760746873, 41.47966396203016],\n",
" [-88.0707583392192, 41.36487683668736],\n",
" [-88.08522802587987, 41.250086353998135],\n",
" [-88.09964705049867, 41.13529252839379],\n",
" [-88.11401579265952, 41.020495374206504],\n",
" [-88.12833462852281, 40.90569490567076],\n",
" [-88.14260393086555, 40.7908911369248],\n",
" [-88.15682406912069, 40.676084082012075],\n",
" [-88.1709954094158, 40.5612737548825],\n",
" [-88.18511831461178, 40.44646016939397],\n",
" [-88.19919314434031, 40.331643339313594],\n",
" [-88.21322025504139, 40.216823278319076],\n",
" [-88.22720000000001, 40.102000000000004]]}}"
]
},
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"mapboxdict"
]
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
}
},
"nbformat": 4,
"nbformat_minor": 1
}