|
4 | 4 | "cell_type": "markdown",
|
5 | 5 | "metadata": {},
|
6 | 6 | "source": [
|
7 |
| - "# Find locations\n", |
| 7 | + "# Find Downstream Path from a Location\n", |
8 | 8 | "\n",
|
9 |
| - "The ArcGIS API for Python packs a set of tools to discover features that pass a number of criteria that you specify. These tools are typically used for site selection, view shed analysis, downstream analysis, where the objective is to find places that satisfy multiple criteria." |
| 9 | + "The ArcGIS API for Python packs a set of tools to discover features that pass a number of criteria that you specify. These tools are typically used for site selection, view shed analysis, and downstream analysis, where the objective is to find places that satisfy multiple criteria." |
10 | 10 | ]
|
11 | 11 | },
|
12 | 12 | {
|
13 | 13 | "cell_type": "markdown",
|
14 | 14 | "metadata": {},
|
15 | 15 | "source": [
|
16 | 16 | "## Trace downstream\n",
|
17 |
| - "The Trace Downstream tool determines the downstream flow paths from specified input locations. This tool uses the world elevation service to determine the downstream flow path of fluids (like drain or storm water) from a specified point of interest. This tool is particularly useful in predicting the course of flash floods, dispersion of water borne pollutants etc.\n", |
| 17 | + "The Trace Downstream tool determines the downstream flow paths from specified input locations. This tool uses the world elevation service to determine the downstream flow path of fluids (like drain or storm water) from a specified point of interest. This tool is particularly useful in predicting the course of flash floods, dispersion of water-borne pollutants, etc.\n", |
18 | 18 | "\n",
|
19 |
| - "In the example below, we observe how this tool can be used to calculate the flow path of snow melt in mountains of southern California." |
| 19 | + "In the example below, we observe how this tool can be used to calculate the flow path of snow melt in Southern California mountains." |
20 | 20 | ]
|
21 | 21 | },
|
22 | 22 | {
|
|
30 | 30 | "gis = GIS(profile=\"your_online_profile\")"
|
31 | 31 | ]
|
32 | 32 | },
|
| 33 | + { |
| 34 | + "cell_type": "markdown", |
| 35 | + "metadata": {}, |
| 36 | + "source": [ |
| 37 | + "## Map starting point location" |
| 38 | + ] |
| 39 | + }, |
33 | 40 | {
|
34 | 41 | "cell_type": "code",
|
35 | 42 | "execution_count": 4,
|
|
98 | 105 | "metadata": {},
|
99 | 106 | "outputs": [],
|
100 | 107 | "source": [
|
101 |
| - "map1.add_layer(bigbear_item)" |
| 108 | + "map1.content.add(bigbear_item)" |
| 109 | + ] |
| 110 | + }, |
| 111 | + { |
| 112 | + "cell_type": "markdown", |
| 113 | + "metadata": {}, |
| 114 | + "source": [ |
| 115 | + "## Run the Trace Analysis" |
102 | 116 | ]
|
103 | 117 | },
|
104 | 118 | {
|
|
131 | 145 | "trace1 = find_locations.trace_downstream(bigbear_fc)"
|
132 | 146 | ]
|
133 | 147 | },
|
| 148 | + { |
| 149 | + "cell_type": "markdown", |
| 150 | + "metadata": {}, |
| 151 | + "source": [ |
| 152 | + "## Add Trace to the Map" |
| 153 | + ] |
| 154 | + }, |
134 | 155 | {
|
135 | 156 | "cell_type": "code",
|
136 | 157 | "execution_count": 20,
|
137 | 158 | "metadata": {},
|
138 | 159 | "outputs": [],
|
139 | 160 | "source": [
|
140 |
| - "map1.add_layer(trace1)" |
| 161 | + "map1.content.add(trace1)" |
141 | 162 | ]
|
142 | 163 | }
|
143 | 164 | ],
|
|
157 | 178 | "name": "python",
|
158 | 179 | "nbconvert_exporter": "python",
|
159 | 180 | "pygments_lexer": "ipython3",
|
160 |
| - "version": "3.9.18" |
| 181 | + "version": "3.11.0" |
161 | 182 | },
|
162 | 183 | "toc": {
|
163 | 184 | "base_numbering": 1,
|
|
174 | 195 | }
|
175 | 196 | },
|
176 | 197 | "nbformat": 4,
|
177 |
| - "nbformat_minor": 1 |
| 198 | + "nbformat_minor": 4 |
178 | 199 | }
|
0 commit comments