|
265 | 265 | { |
266 | 266 | "cell_type": "code", |
267 | 267 | "execution_count": null, |
268 | | - "metadata": { |
269 | | - "scrolled": false |
270 | | - }, |
| 268 | + "metadata": {}, |
271 | 269 | "outputs": [], |
272 | 270 | "source": [ |
273 | 271 | "m1 = gis.map('oregon')\n", |
|
382 | 380 | }, |
383 | 381 | { |
384 | 382 | "cell_type": "code", |
385 | | - "execution_count": 12, |
| 383 | + "execution_count": null, |
386 | 384 | "metadata": {}, |
387 | | - "outputs": [ |
388 | | - { |
389 | | - "data": { |
390 | | - "application/vnd.jupyter.widget-view+json": { |
391 | | - "model_id": "ab5623576bb841dab4e73c4cc286581d", |
392 | | - "version_major": 2, |
393 | | - "version_minor": 0 |
394 | | - }, |
395 | | - "text/plain": [ |
396 | | - "MapView(layout=Layout(height='400px', width='100%'))" |
397 | | - ] |
398 | | - }, |
399 | | - "metadata": {}, |
400 | | - "output_type": "display_data" |
401 | | - }, |
402 | | - { |
403 | | - "data": { |
404 | | - "text/html": [ |
405 | | - "<div class=\"map-static-img-preview-c07ea64f-45b8-4af7-b221-92c88131d277\"><img src=\"\"></img></div>" |
406 | | - ], |
407 | | - "text/plain": [ |
408 | | - "<IPython.core.display.HTML object>" |
409 | | - ] |
410 | | - }, |
411 | | - "metadata": {}, |
412 | | - "output_type": "display_data" |
413 | | - }, |
414 | | - { |
415 | | - "data": { |
416 | | - "text/html": [ |
417 | | - "<div class=\"map-html-embed-preview-c07ea64f-45b8-4af7-b221-92c88131d277\"></div>" |
418 | | - ], |
419 | | - "text/plain": [ |
420 | | - "<IPython.core.display.HTML object>" |
421 | | - ] |
422 | | - }, |
423 | | - "metadata": {}, |
424 | | - "output_type": "display_data" |
425 | | - } |
426 | | - ], |
| 385 | + "outputs": [], |
427 | 386 | "source": [ |
428 | 387 | "m2 = gis.map('oregon')\n", |
429 | 388 | "m2.basemap.basemap = 'gray-vector'\n", |
|
444 | 403 | "metadata": {}, |
445 | 404 | "outputs": [], |
446 | 405 | "source": [ |
447 | | - "m2.zoom_to_layer(buffer_park.layers[0])\n", |
448 | | - "m2.content.add(buffer_park.layers[0])" |
| 406 | + "m2.content.add(buffer_park.layers[0])\n", |
| 407 | + "m2.zoom_to_layer(buffer_park.layers[0])" |
449 | 408 | ] |
450 | 409 | }, |
451 | 410 | { |
|
544 | 503 | { |
545 | 504 | "cell_type": "code", |
546 | 505 | "execution_count": null, |
547 | | - "metadata": { |
548 | | - "scrolled": false |
549 | | - }, |
| 506 | + "metadata": {}, |
550 | 507 | "outputs": [], |
551 | 508 | "source": [ |
552 | 509 | "m3 = gis.map('oregon')\n", |
|
568 | 525 | "metadata": {}, |
569 | 526 | "outputs": [], |
570 | 527 | "source": [ |
571 | | - "m3.zoom_to_layer(state_area_boundary.layers[0])\n", |
572 | | - "m3.content.add(state_area_boundary.layers[0])" |
| 528 | + "m3.content.add(state_area_boundary.layers[0])\n", |
| 529 | + "m3.zoom_to_layer(state_area_boundary.layers[0])" |
573 | 530 | ] |
574 | 531 | }, |
575 | 532 | { |
|
709 | 666 | }, |
710 | 667 | { |
711 | 668 | "cell_type": "code", |
712 | | - "execution_count": 23, |
| 669 | + "execution_count": null, |
713 | 670 | "metadata": {}, |
714 | | - "outputs": [ |
715 | | - { |
716 | | - "data": { |
717 | | - "application/vnd.jupyter.widget-view+json": { |
718 | | - "model_id": "7947391c8446406c806e03ebb063dcdf", |
719 | | - "version_major": 2, |
720 | | - "version_minor": 0 |
721 | | - }, |
722 | | - "text/plain": [ |
723 | | - "MapView(layout=Layout(height='400px', width='100%'))" |
724 | | - ] |
725 | | - }, |
726 | | - "metadata": {}, |
727 | | - "output_type": "display_data" |
728 | | - }, |
729 | | - { |
730 | | - "data": { |
731 | | - "text/html": [ |
732 | | - "<div class=\"map-static-img-preview-8adb4aaa-5113-437e-8618-642d2b43b10d\"><img src=\"\"></img></div>" |
733 | | - ], |
734 | | - "text/plain": [ |
735 | | - "<IPython.core.display.HTML object>" |
736 | | - ] |
737 | | - }, |
738 | | - "metadata": {}, |
739 | | - "output_type": "display_data" |
740 | | - }, |
741 | | - { |
742 | | - "data": { |
743 | | - "text/html": [ |
744 | | - "<div class=\"map-html-embed-preview-8adb4aaa-5113-437e-8618-642d2b43b10d\"></div>" |
745 | | - ], |
746 | | - "text/plain": [ |
747 | | - "<IPython.core.display.HTML object>" |
748 | | - ] |
749 | | - }, |
750 | | - "metadata": {}, |
751 | | - "output_type": "display_data" |
752 | | - } |
753 | | - ], |
| 671 | + "outputs": [], |
754 | 672 | "source": [ |
755 | 673 | "m4 = gis.map('oregon')\n", |
756 | 674 | "m4.basemap.basemap = 'gray-vector'\n", |
|
770 | 688 | "metadata": {}, |
771 | 689 | "outputs": [], |
772 | 690 | "source": [ |
773 | | - "m4.zoom_to_layer(clipped_highway_lyr)\n", |
774 | 691 | "m4.content.add(state_area_boundary)\n", |
775 | | - "m4.content.add(clipped_highway_lyr)" |
| 692 | + "m4.content.add(clipped_highway_lyr)\n", |
| 693 | + "m4.zoom_to_layer(clipped_highway_lyr)" |
776 | 694 | ] |
777 | 695 | }, |
778 | 696 | { |
|
876 | 794 | }, |
877 | 795 | { |
878 | 796 | "cell_type": "code", |
879 | | - "execution_count": 27, |
| 797 | + "execution_count": null, |
880 | 798 | "metadata": {}, |
881 | | - "outputs": [ |
882 | | - { |
883 | | - "data": { |
884 | | - "application/vnd.jupyter.widget-view+json": { |
885 | | - "model_id": "04b4c981fb1344ff96a6876c0cf2653f", |
886 | | - "version_major": 2, |
887 | | - "version_minor": 0 |
888 | | - }, |
889 | | - "text/plain": [ |
890 | | - "MapView(layout=Layout(height='400px', width='100%'))" |
891 | | - ] |
892 | | - }, |
893 | | - "metadata": {}, |
894 | | - "output_type": "display_data" |
895 | | - }, |
896 | | - { |
897 | | - "data": { |
898 | | - "text/html": [ |
899 | | - "<div class=\"map-static-img-preview-58a1e602-af97-418d-96e9-68443b14e4e2\"><img src=\"\"></img></div>" |
900 | | - ], |
901 | | - "text/plain": [ |
902 | | - "<IPython.core.display.HTML object>" |
903 | | - ] |
904 | | - }, |
905 | | - "metadata": {}, |
906 | | - "output_type": "display_data" |
907 | | - }, |
908 | | - { |
909 | | - "data": { |
910 | | - "text/html": [ |
911 | | - "<div class=\"map-html-embed-preview-58a1e602-af97-418d-96e9-68443b14e4e2\"></div>" |
912 | | - ], |
913 | | - "text/plain": [ |
914 | | - "<IPython.core.display.HTML object>" |
915 | | - ] |
916 | | - }, |
917 | | - "metadata": {}, |
918 | | - "output_type": "display_data" |
919 | | - } |
920 | | - ], |
| 799 | + "outputs": [], |
921 | 800 | "source": [ |
922 | 801 | "m5 = gis.map('oregon')\n", |
923 | 802 | "m5.basemap.basemap = 'gray-vector'\n", |
|
938 | 817 | "metadata": {}, |
939 | 818 | "outputs": [], |
940 | 819 | "source": [ |
941 | | - "m5.zoom_to_layer(potential_cougar_habitat_A.layers[0])\n", |
942 | | - "m5.content.add(potential_cougar_habitat_A)" |
| 820 | + "m5.content.add(potential_cougar_habitat_A)\n", |
| 821 | + "m5.zoom_to_layer(potential_cougar_habitat_A.layers[0])" |
943 | 822 | ] |
944 | 823 | }, |
945 | 824 | { |
|
1000 | 879 | }, |
1001 | 880 | { |
1002 | 881 | "cell_type": "code", |
1003 | | - "execution_count": 31, |
| 882 | + "execution_count": null, |
1004 | 883 | "metadata": {}, |
1005 | | - "outputs": [ |
1006 | | - { |
1007 | | - "data": { |
1008 | | - "application/vnd.jupyter.widget-view+json": { |
1009 | | - "model_id": "8491e423247f49b9ab6e0c5cf9b9d98e", |
1010 | | - "version_major": 2, |
1011 | | - "version_minor": 0 |
1012 | | - }, |
1013 | | - "text/plain": [ |
1014 | | - "MapView(layout=Layout(height='400px', width='100%'))" |
1015 | | - ] |
1016 | | - }, |
1017 | | - "metadata": {}, |
1018 | | - "output_type": "display_data" |
1019 | | - }, |
1020 | | - { |
1021 | | - "data": { |
1022 | | - "text/html": [ |
1023 | | - "<div class=\"map-static-img-preview-87b5446a-dec6-4d5f-b0a6-7c8e02458db6\"><img src=\"\"></img></div>" |
1024 | | - ], |
1025 | | - "text/plain": [ |
1026 | | - "<IPython.core.display.HTML object>" |
1027 | | - ] |
1028 | | - }, |
1029 | | - "metadata": {}, |
1030 | | - "output_type": "display_data" |
1031 | | - }, |
1032 | | - { |
1033 | | - "data": { |
1034 | | - "text/html": [ |
1035 | | - "<div class=\"map-html-embed-preview-87b5446a-dec6-4d5f-b0a6-7c8e02458db6\"></div>" |
1036 | | - ], |
1037 | | - "text/plain": [ |
1038 | | - "<IPython.core.display.HTML object>" |
1039 | | - ] |
1040 | | - }, |
1041 | | - "metadata": {}, |
1042 | | - "output_type": "display_data" |
1043 | | - } |
1044 | | - ], |
| 884 | + "outputs": [], |
1045 | 885 | "source": [ |
1046 | 886 | "m6 = gis.map('oregon')\n", |
1047 | 887 | "m6.basemap.basemap = 'gray-vector'\n", |
|
1062 | 902 | "metadata": {}, |
1063 | 903 | "outputs": [], |
1064 | 904 | "source": [ |
1065 | | - "m6.zoom_to_layer(potential_cougar_habitat_B.layers[0])\n", |
1066 | | - "m6.content.add(potential_cougar_habitat_B)" |
| 905 | + "m6.content.add(potential_cougar_habitat_B)\n", |
| 906 | + "m6.zoom_to_layer(potential_cougar_habitat_B.layers[0])" |
1067 | 907 | ] |
1068 | 908 | }, |
1069 | 909 | { |
|
1081 | 921 | "\n", |
1082 | 922 | "Thus, scientists from DFW and the national forest decide to work together to field check the results, looking for evidence of cougars inside, as well as outside, the potential habitat areas. " |
1083 | 923 | ] |
1084 | | - }, |
1085 | | - { |
1086 | | - "cell_type": "code", |
1087 | | - "execution_count": null, |
1088 | | - "metadata": {}, |
1089 | | - "outputs": [], |
1090 | | - "source": [] |
1091 | 924 | } |
1092 | 925 | ], |
1093 | 926 | "metadata": { |
|
1110 | 943 | "name": "python", |
1111 | 944 | "nbconvert_exporter": "python", |
1112 | 945 | "pygments_lexer": "ipython3", |
1113 | | - "version": "3.9.11" |
| 946 | + "version": "3.11.0" |
1114 | 947 | } |
1115 | 948 | }, |
1116 | 949 | "nbformat": 4, |
1117 | | - "nbformat_minor": 2 |
| 950 | + "nbformat_minor": 4 |
1118 | 951 | } |
0 commit comments