|
13 | 13 | "\n", |
14 | 14 | "## Installation\n", |
15 | 15 | "\n", |
16 | | - "1. Open Windows Registry Editor (`regedit.exe`) and navigate to `Computer\\HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\FileSystem`. Change the value of `LongPathsEnabled` to `1`. See [this screenshot](https://user-images.githubusercontent.com/46331011/225140182-df32dcfe-dca2-4e7f-9992-4c389af36184.png). This is a [known issue](https://github.com/Esri/deep-learning-frameworks/blob/master/README.md#known-issues) with the deep learning libraries for ArcGIS Pro 3.1. A future release might fix this issue.\n", |
17 | | - "2. Navigate to the **Start Menu** -> **All apps** -> **ArcGIS** folder, then open the **Python Command Prompt**.\n", |
18 | | - "3. Create a new conda environment and install [mamba](https://mamba.readthedocs.io/) and Python 3.9.x from the [Esri Anaconda channel](https://anaconda.org/Esri/repo). Mamba is a drop-in replacement for conda that is mach faster for installing Python packages and their dependencies. \n", |
19 | | - " \n", |
20 | | - " `conda create conda-forge::mamba esri::python --name geo`\n", |
| 16 | + "1. Navigate to the **Start Menu** -> **All apps** -> **ArcGIS** folder, then open the **Python Command Prompt**.\n", |
| 17 | + "2. Create a new conda environment and install dependencies.\n", |
21 | 18 | "\n", |
22 | | - "4. Activate the new conda environment.\n", |
| 19 | + " `conda create esri::python esri::arcpy conda-forge::segment-geospatial --name geo`\n", |
23 | 20 | "\n", |
24 | | - " `conda activate geo`\n", |
25 | | - "\n", |
26 | | - "5. This step is optional. If you get an error message saying that `Download error (60) SSL peer certificate or SSH remote key was not OK` when installing packages in the next step, run the following command to fix the issue.\n", |
27 | | - "\n", |
28 | | - " `conda config --set ssl_verify false`\n", |
29 | | - "\n", |
30 | | - "5. Install arcpy, deep-learning-essentials, segment-geospatial, and other dependencies (~4GB download).\n", |
31 | | - "\n", |
32 | | - " `mamba install arcpy deep-learning-essentials segment-geospatial pygis -c esri -c conda-forge`\n", |
33 | | - "\n", |
34 | | - "6. Activate the new environment in ArcGIS Pro.\n", |
| 21 | + "3. Activate the new environment in ArcGIS Pro.\n", |
35 | 22 | "\n", |
36 | 23 | " `proswap geo`\n", |
37 | 24 | "\n", |
38 | | - "7. Close the Python Command Prompt and open ArcGIS Pro.\n", |
39 | | - "8. [Download](https://samgeo.gishub.org/examples/arcgis/arcgis.ipynb) this notebook and run it in ArcGIS Pro." |
| 25 | + "4. Close the Python Command Prompt and open ArcGIS Pro.\n", |
| 26 | + "5. [Download](https://samgeo.gishub.org/examples/arcgis/arcgis.ipynb) this notebook and run it in ArcGIS Pro." |
40 | 27 | ] |
41 | 28 | }, |
42 | 29 | { |
|
65 | 52 | "source": [ |
66 | 53 | "## Download sample data\n", |
67 | 54 | "\n", |
68 | | - "In this example, we will use the high-resolution aerial imagery from the USDA National Agricultural Imagery Program ([NAIP](https://naip-usdaonline.hub.arcgis.com/)). You can download NAIP imagery using the [USDA Data Gateway](https://datagateway.nrcs.usda.gov/) or the [USDA NCRS Box Drive](https://nrcs.app.box.com/v/naip). I have downloaded some NAIP imagery and clipped them to a smaller area, which are available [here](https://github.com/opengeos/data/tree/main/naip). " |
| 55 | + "In this example, we will use the high-resolution aerial imagery from the USDA National Agricultural Imagery Program ([NAIP](https://naip-usdaonline.hub.arcgis.com/)). You can download NAIP imagery using the [USDA Data Gateway](https://datagateway.nrcs.usda.gov/) or the [USDA NCRS Box Drive](https://nrcs.app.box.com/v/naip). I have downloaded some NAIP imagery and clipped them to a smaller area, which are available [here](https://github.com/opengeos/data/tree/main/naip)." |
69 | 56 | ] |
70 | 57 | }, |
71 | 58 | { |
|
145 | 132 | "source": [ |
146 | 133 | "## Automatic mask generation\n", |
147 | 134 | "\n", |
148 | | - "Specify the file path to the image we downloaded earlier. " |
| 135 | + "Specify the file path to the image we downloaded earlier." |
149 | 136 | ] |
150 | 137 | }, |
151 | 138 | { |
|
177 | 164 | "cell_type": "markdown", |
178 | 165 | "metadata": {}, |
179 | 166 | "source": [ |
180 | | - "Segment the image and save the results to a GeoTIFF file. Set `unique=True` to assign a unique ID to each object. " |
| 167 | + "Segment the image and save the results to a GeoTIFF file. Set `unique=True` to assign a unique ID to each object." |
181 | 168 | ] |
182 | 169 | }, |
183 | 170 | { |
|
0 commit comments