|
102 | 102 | "gis = GIS()\n", |
103 | 103 | "\n", |
104 | 104 | "# search for the landsat multispectral imagery layer\n", |
105 | | - "landsat_item = gis.content.search(\"title:Multispectral Landsat owner:esri\", 'Imagery Layer')[0]\n", |
| 105 | + "landsat_item = gis.content.search(\"Landsat Multispectral tags:'Landsat on AWS','landsat 8'\", 'Imagery Layer', outside_org=True)[0]\n", |
106 | 106 | "landsat = landsat_item.layers[0]\n", |
107 | 107 | "df = None" |
108 | 108 | ] |
|
156 | 156 | { |
157 | 157 | "data": { |
158 | 158 | "application/vnd.jupyter.widget-view+json": { |
159 | | - "model_id": "656dfde1d361429a8c01db7128793365", |
| 159 | + "model_id": "1c12f7e1249a40ccb0d061918296b779", |
160 | 160 | "version_major": 2, |
161 | 161 | "version_minor": 0 |
162 | 162 | }, |
|
218 | 218 | { |
219 | 219 | "cell_type": "code", |
220 | 220 | "execution_count": 3, |
221 | | - "metadata": {}, |
222 | | - "outputs": [], |
| 221 | + "metadata": { |
| 222 | + "extensions": { |
| 223 | + "jupyter_dashboards": { |
| 224 | + "version": 1, |
| 225 | + "views": { |
| 226 | + "grid_default": { |
| 227 | + "col": 0, |
| 228 | + "height": 14, |
| 229 | + "hidden": false, |
| 230 | + "row": 8, |
| 231 | + "width": null |
| 232 | + }, |
| 233 | + "report_default": { |
| 234 | + "hidden": false |
| 235 | + } |
| 236 | + } |
| 237 | + } |
| 238 | + } |
| 239 | + }, |
| 240 | + "outputs": [ |
| 241 | + { |
| 242 | + "data": { |
| 243 | + "application/vnd.jupyter.widget-view+json": { |
| 244 | + "model_id": "b703afd120cf4910805d42ed7cd503fe", |
| 245 | + "version_major": 2, |
| 246 | + "version_minor": 0 |
| 247 | + }, |
| 248 | + "text/plain": [ |
| 249 | + "MapView(layout=Layout(height='400px', width='100%'))" |
| 250 | + ] |
| 251 | + }, |
| 252 | + "metadata": {}, |
| 253 | + "output_type": "display_data" |
| 254 | + }, |
| 255 | + { |
| 256 | + "data": { |
| 257 | + "text/html": [ |
| 258 | + "<div class=\"map-static-img-preview-b5b2064c-1892-41ba-858f-08ad61cabcc0\"><img src=\"\"></img></div>" |
| 259 | + ], |
| 260 | + "text/plain": [ |
| 261 | + "<IPython.core.display.HTML object>" |
| 262 | + ] |
| 263 | + }, |
| 264 | + "metadata": {}, |
| 265 | + "output_type": "display_data" |
| 266 | + } |
| 267 | + ], |
223 | 268 | "source": [ |
224 | 269 | "m = gis.map(location.value)\n", |
225 | 270 | "m.add_layer(landsat)\n", |
|
276 | 321 | { |
277 | 322 | "data": { |
278 | 323 | "application/vnd.jupyter.widget-view+json": { |
279 | | - "model_id": "efeb52e228414e2f9f4f2ff1331e361a", |
| 324 | + "model_id": "d7ee88266192439ea44340034518fa26", |
280 | 325 | "version_major": 2, |
281 | 326 | "version_minor": 0 |
282 | 327 | }, |
|
344 | 389 | { |
345 | 390 | "data": { |
346 | 391 | "application/vnd.jupyter.widget-view+json": { |
347 | | - "model_id": "d59edf6efedf4e7199ed9d9b8f9a84ed", |
| 392 | + "model_id": "b1047c76ff4c4f208287958888eafe8d", |
348 | 393 | "version_major": 2, |
349 | 394 | "version_minor": 0 |
350 | 395 | }, |
|
403 | 448 | }, |
404 | 449 | { |
405 | 450 | "cell_type": "code", |
406 | | - "execution_count": 8, |
| 451 | + "execution_count": 6, |
407 | 452 | "metadata": { |
408 | 453 | "code_folding": [ |
409 | 454 | 0 |
|
460 | 505 | " if len(tdf) > 1:\n", |
461 | 506 | " update_sliders(tdf)\n", |
462 | 507 | "\n", |
463 | | - " #m.draw(tdf.iloc[oldslider.value].SHAPE)\n", |
| 508 | + " # m.draw(tdf.iloc[oldslider.value].SHAPE)\n", |
464 | 509 | " \n", |
465 | 510 | " return tdf" |
466 | 511 | ] |
467 | 512 | }, |
468 | 513 | { |
469 | 514 | "cell_type": "code", |
470 | | - "execution_count": 9, |
| 515 | + "execution_count": 7, |
471 | 516 | "metadata": { |
472 | 517 | "extensions": { |
473 | 518 | "jupyter_dashboards": { |
|
537 | 582 | { |
538 | 583 | "data": { |
539 | 584 | "application/vnd.jupyter.widget-view+json": { |
540 | | - "model_id": "fb69da8c6f714ec49a9dcbb01f515aa1", |
| 585 | + "model_id": "769cc179c32344dd83ef566564efb402", |
541 | 586 | "version_major": 2, |
542 | 587 | "version_minor": 0 |
543 | 588 | }, |
|
0 commit comments