|
1 | 1 | { |
2 | 2 | "cells": [ |
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "metadata": {}, |
| 6 | + "source": [ |
| 7 | + "# Import Data ArcGIS DevLab\n", |
| 8 | + "This is the completed solution for the [Import data](https://developers.arcgis.com/labs/data/python/import-data/) ArcGIS DevLab. [ArcGIS DevLabs](https://developers.arcgis.com/labs/) are short introductory tutorials to guide you through the three phases of building geospatial apps: Data, Design, Develop" |
| 9 | + ] |
| 10 | + }, |
3 | 11 | { |
4 | 12 | "cell_type": "markdown", |
5 | 13 | "metadata": {}, |
|
21 | 29 | }, |
22 | 30 | { |
23 | 31 | "cell_type": "code", |
24 | | - "execution_count": null, |
25 | | - "metadata": { |
26 | | - "collapsed": true |
27 | | - }, |
28 | | - "outputs": [], |
| 32 | + "execution_count": 7, |
| 33 | + "metadata": {}, |
| 34 | + "outputs": [ |
| 35 | + { |
| 36 | + "name": "stdout", |
| 37 | + "output_type": "stream", |
| 38 | + "text": [ |
| 39 | + "Enter password, please: ········\n" |
| 40 | + ] |
| 41 | + } |
| 42 | + ], |
29 | 43 | "source": [ |
30 | 44 | "import getpass\n", |
31 | 45 | "\n", |
32 | 46 | "password = getpass.getpass(\"Enter password, please: \")\n", |
33 | | - "dev_gis = GIS('https://arcgis.com', 'username', password)" |
| 47 | + "dev_gis = GIS('https://arcgis.com', 'johnnyDev', password)" |
34 | 48 | ] |
35 | 49 | }, |
36 | 50 | { |
37 | 51 | "cell_type": "code", |
38 | | - "execution_count": null, |
39 | | - "metadata": { |
40 | | - "collapsed": true |
41 | | - }, |
| 52 | + "execution_count": 8, |
| 53 | + "metadata": {}, |
42 | 54 | "outputs": [], |
43 | 55 | "source": [ |
44 | 56 | "parks_properties = {'title': 'Parks and Open Space',\n", |
|
50 | 62 | }, |
51 | 63 | { |
52 | 64 | "cell_type": "code", |
53 | | - "execution_count": null, |
54 | | - "metadata": { |
55 | | - "collapsed": true |
56 | | - }, |
57 | | - "outputs": [], |
| 65 | + "execution_count": 9, |
| 66 | + "metadata": {}, |
| 67 | + "outputs": [ |
| 68 | + { |
| 69 | + "data": { |
| 70 | + "text/html": [ |
| 71 | + "<div class=\"item_container\" style=\"height: auto; overflow: hidden; border: 1px solid #cfcfcf; border-radius: 2px; background: #f6fafa; line-height: 1.21429em; padding: 10px;\">\n", |
| 72 | + " <div class=\"item_left\" style=\"width: 210px; float: left;\">\n", |
| 73 | + " <a href='https://arcgis.com/home/item.html?id=21533c7b67e748b4bfb34a2bc5b0faa1' target='_blank'>\n", |
| 74 | + " <img src='http://static.arcgis.com/images/desktopapp.png' class=\"itemThumbnail\">\n", |
| 75 | + " </a>\n", |
| 76 | + " </div>\n", |
| 77 | + "\n", |
| 78 | + " <div class=\"item_right\" style=\"float: none; width: auto; overflow: hidden;\">\n", |
| 79 | + " <a href='https://arcgis.com/home/item.html?id=21533c7b67e748b4bfb34a2bc5b0faa1' target='_blank'><b>Parks and Open Space</b>\n", |
| 80 | + " </a>\n", |
| 81 | + " <br/><img src='https://arcgis.com/home/js/jsapi/esri/css/images/item_type_icons/datafiles16.png' style=\"vertical-align:middle;\">Shapefile by johnnyDev\n", |
| 82 | + " <br/>Last Modified: September 28, 2017\n", |
| 83 | + " <br/>0 comments, 0 views\n", |
| 84 | + " </div>\n", |
| 85 | + " </div>\n", |
| 86 | + " " |
| 87 | + ], |
| 88 | + "text/plain": [ |
| 89 | + "<Item title:\"Parks and Open Space\" type:Shapefile owner:johnnyDev>" |
| 90 | + ] |
| 91 | + }, |
| 92 | + "execution_count": 9, |
| 93 | + "metadata": {}, |
| 94 | + "output_type": "execute_result" |
| 95 | + } |
| 96 | + ], |
58 | 97 | "source": [ |
59 | 98 | "parks_shp" |
60 | 99 | ] |
|
0 commit comments