Skip to content

Commit 1cf653c

Browse files
committed
text edits
1 parent 01f3ae8 commit 1cf653c

File tree

3 files changed

+32
-38
lines changed

3 files changed

+32
-38
lines changed

guide/04-feature-data-and-analysis/discovering-suitable-locations-in-feature-data.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
"source": [
77
"# Find locations\n",
88
"\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."
1010
]
1111
},
1212
{
1313
"cell_type": "markdown",
1414
"metadata": {},
1515
"source": [
1616
"## 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",
1818
"\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."
2020
]
2121
},
2222
{
@@ -157,7 +157,7 @@
157157
"name": "python",
158158
"nbconvert_exporter": "python",
159159
"pygments_lexer": "ipython3",
160-
"version": "3.9.18"
160+
"version": "3.10.14"
161161
},
162162
"toc": {
163163
"base_numbering": 1,
@@ -174,5 +174,5 @@
174174
}
175175
},
176176
"nbformat": 4,
177-
"nbformat_minor": 1
177+
"nbformat_minor": 4
178178
}

guide/04-feature-data-and-analysis/performing-proximity-analysis-on-feature-data.ipynb

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"\n",
99
"Proximity analysis tools help you answer one of the most common questions posed in spatial analysis: What is near what?\n",
1010
"\n",
11-
"Proximity tools are available under the sub module `use_proximity` in the `features` module of the API. This section of the guide talks about using two tools from this module - create buffers and plan routes"
11+
"Proximity tools are available under the sub module `use_proximity` in the `features` module of the API. This section of the guide talks about using two tools from this module - create buffers and plan routes."
1212
]
1313
},
1414
{
@@ -27,7 +27,7 @@
2727
"source": [
2828
"## Create buffers\n",
2929
"\n",
30-
"The Create Buffers tool creates areas around input point, line, or area features to a specified distance. Running this tool creates output polygon layers of a specified radius. This tool is often used with overlay analysis to answer questions such as 'What falls within 5 mile radius of this school?'. Refer [here](http://doc.arcgis.com/en/arcgis-online/use-maps/create-buffers.htm) for more details on this tool.\n",
30+
"The Create Buffers tool creates areas around input point, line, or area features to a specified distance. Running this tool creates output polygon layers of a specified radius. This tool is often used with overlay analysis to answer questions such as: 'What falls within 5 mile radius of this school?' Refer [here](http://doc.arcgis.com/en/arcgis-online/use-maps/create-buffers.htm) for more details on this tool.\n",
3131
"\n",
3232
"In the examaple below, let us create buffers of 50 mile radius around major ports along the West Coast of the USA."
3333
]
@@ -78,7 +78,7 @@
7878
"cell_type": "markdown",
7979
"metadata": {},
8080
"source": [
81-
"Let us render these ports on a map"
81+
"Let's render these ports on a map."
8282
]
8383
},
8484
{
@@ -185,7 +185,7 @@
185185
"cell_type": "markdown",
186186
"metadata": {},
187187
"source": [
188-
"A buffer of 50 miles around each of these ports has been created"
188+
"A buffer of 50 miles around each of these ports has been created."
189189
]
190190
},
191191
{
@@ -212,9 +212,9 @@
212212
"cell_type": "markdown",
213213
"metadata": {},
214214
"source": [
215-
"`ports_buffer50` is a new Feature Collection Item in portal. Had we not specified the `output_name` parameter while running the tool, `ports_buffer50` would be an in memory Feature Collection object and would not be saved as an item on the portal.\n",
215+
"`ports_buffer50` is a new Feature Collection Item in portal. If we didn't specify the `output_name` parameter while running the tool, `ports_buffer50` would instead be an in-memory Feature Collection object and would not be saved as an item in the portal.\n",
216216
"\n",
217-
"Let us add the result to a new map."
217+
"Let's add the result to a new map."
218218
]
219219
},
220220
{
@@ -265,15 +265,13 @@
265265
"source": [
266266
"### Buffer based on a numerical field\n",
267267
"Sometimes, it makes sense to vary the buffered distance by a field on the layer. For instance, when creating buffers around hazardous sites, you may want to vary the distance by the type or quantity of materials held in the facility.\n",
268-
"Such kinds of buffers can be created by specifying a numerical field to the `field` parameter. Let us query all the fields on this layer and determine which can be used"
268+
"Such kinds of buffers can be created by specifying a numerical field to the `field` parameter. Let us query all the fields on this layer and determine which can be used."
269269
]
270270
},
271271
{
272272
"cell_type": "code",
273273
"execution_count": 11,
274-
"metadata": {
275-
"scrolled": false
276-
},
274+
"metadata": {},
277275
"outputs": [
278276
{
279277
"data": {
@@ -546,11 +544,11 @@
546544
"metadata": {},
547545
"source": [
548546
"## Plan routes\n",
549-
"Plan Routes determines how a fleet of vehicles can visit a set of stops in the least amount of time. The plan routes tool is versatile and can be used to plan either a simple route direction or plan the travel of a fleet of vehicles. To learn more about this tool visit the [tool documentation](http://doc.arcgis.com/en/arcgis-online/use-maps/plan-routes.htm)\n",
547+
"Plan Routes determines how a fleet of vehicles can visit a set of stops in the least amount of time. The plan routes tool is versatile and can be used to plan either a simple route direction or plan the travel of a fleet of vehicles. To learn more about this tool visit the [tool documentation](http://doc.arcgis.com/en/arcgis-online/use-maps/plan-routes.htm).\n",
550548
"\n",
551549
"In the example below, we will observe how to plan a simple route for tourists when they visit major attractions in Los Angeles. Our stops would be [Universal studios](https://en.wikipedia.org/wiki/Universal_Studios_Hollywood), [Griffith observatory](https://en.wikipedia.org/wiki/Griffith_Observatory), [Disneyland amusement park](https://en.wikipedia.org/wiki/Disneyland), [Hollywood walk of fame](https://en.wikipedia.org/wiki/Hollywood_Walk_of_Fame) and back to [Los Angeles international airport](https://en.wikipedia.org/wiki/Los_Angeles_International_Airport).\n",
552550
"\n",
553-
"At a minimum the plan routes tool accepts a stop layer, start layer, route count and the maximum number of stops per route."
551+
"At a minimum, the plan routes tool accepts a stop layer, start layer, route count, and the maximum number of stops per route."
554552
]
555553
},
556554
{
@@ -568,7 +566,7 @@
568566
"cell_type": "markdown",
569567
"metadata": {},
570568
"source": [
571-
"Let us add the attractions and destination to a map"
569+
"Now, let's add the attractions and destination to a map."
572570
]
573571
},
574572
{
@@ -684,7 +682,7 @@
684682
"cell_type": "markdown",
685683
"metadata": {},
686684
"source": [
687-
"We have successfully calculated the route, let us add it back to the map"
685+
"We have successfully calculated the route- let's add it back to the map."
688686
]
689687
},
690688
{
@@ -709,13 +707,6 @@
709707
"map4.content.add(route1['routes_layer'])\n",
710708
"map4"
711709
]
712-
},
713-
{
714-
"cell_type": "code",
715-
"execution_count": null,
716-
"metadata": {},
717-
"outputs": [],
718-
"source": []
719710
}
720711
],
721712
"metadata": {
@@ -734,7 +725,7 @@
734725
"name": "python",
735726
"nbconvert_exporter": "python",
736727
"pygments_lexer": "ipython3",
737-
"version": "3.11.5"
728+
"version": "3.10.14"
738729
},
739730
"toc": {
740731
"base_numbering": 1,
@@ -751,5 +742,5 @@
751742
}
752743
},
753744
"nbformat": 4,
754-
"nbformat_minor": 1
745+
"nbformat_minor": 4
755746
}

guide/04-feature-data-and-analysis/summarizing-feature-data.ipynb

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
{
44
"cell_type": "markdown",
55
"metadata": {
6-
"collapsed": true
6+
"collapsed": true,
7+
"jupyter": {
8+
"outputs_hidden": true
9+
}
710
},
811
"source": [
912
"# Summarize Data\n",
@@ -26,7 +29,7 @@
2629
"metadata": {},
2730
"source": [
2831
"## Aggregate points\n",
29-
"In this example, let us observe how to use `aggregate_points` tool to summarize data from spot measurements by area. To learn more about this tool and the formula it uses, refer to the documentation [here](http://doc.arcgis.com/en/arcgis-online/use-maps/aggregate-points.htm)"
32+
"In this example, let us observe how to use `aggregate_points` tool to summarize data from spot measurements by area. To learn more about this tool and the formula it uses, refer to the documentation [here](http://doc.arcgis.com/en/arcgis-online/use-maps/aggregate-points.htm)."
3033
]
3134
},
3235
{
@@ -126,7 +129,7 @@
126129
"cell_type": "markdown",
127130
"metadata": {},
128131
"source": [
129-
"Lets draw the layers on a map and observe how they are distributed"
132+
"Let's draw the layers on a map and observe how they are distributed."
130133
]
131134
},
132135
{
@@ -189,7 +192,7 @@
189192
"\n",
190193
"The `aggregate_points` tool in the `summarize_data` sub module is a valid candidate for such analyses. The example below shows how to run this tool using ArcGIS API for Python.\n",
191194
"\n",
192-
"To start with, let us access the layers in the states and earthquakes items and view their attribute information to understand how the data can be summarized"
195+
"To start with, let us access the layers in the states and earthquakes items and view their attribute information to understand how the data can be summarized."
193196
]
194197
},
195198
{
@@ -206,7 +209,7 @@
206209
"cell_type": "markdown",
207210
"metadata": {},
208211
"source": [
209-
"We have accessed the layers in the items as `FeatureLayer` objects. We can query the `fields` property to understand what kind of attribute data is stored in the layers"
212+
"We have accessed the layers in the items as `FeatureLayer` objects. We can query the `fields` property to understand what kind of attribute data is stored in the layers."
210213
]
211214
},
212215
{
@@ -326,7 +329,7 @@
326329
"cell_type": "markdown",
327330
"metadata": {},
328331
"source": [
329-
"When running the tool above, we did not specify a name for the `output_name` parameter. Hence the analyses results were not stored on the portal, instead stored in the variable `eq_summary`."
332+
"When running the tool above, we did not specify a name for the `output_name` parameter. Consequently, the analyses results were not stored on the portal, and instead stored in the variable `eq_summary`."
330333
]
331334
},
332335
{
@@ -728,7 +731,7 @@
728731
"cell_type": "markdown",
729732
"metadata": {},
730733
"source": [
731-
"Let's narrow this data down further to only those states that have had more than 25 earthquakes over the span of this data (1900 - 2023)"
734+
"Let's narrow this data down further to only those states that have had more than 25 earthquakes over the span of this data (1900 - 2023)."
732735
]
733736
},
734737
{
@@ -764,7 +767,7 @@
764767
"cell_type": "markdown",
765768
"metadata": {},
766769
"source": [
767-
"Thus, over the time span of this data, only 15 of the 50 US States have had more than 25 earthquakes. Let us plot a bar chart to view which states had the most earthquakes"
770+
"As we can see, over the time span of this data, only 15 of the 50 US States have had more than 25 earthquakes. Let us plot a bar chart to view which states had the most earthquakes."
768771
]
769772
},
770773
{
@@ -855,7 +858,7 @@
855858
"name": "python",
856859
"nbconvert_exporter": "python",
857860
"pygments_lexer": "ipython3",
858-
"version": "3.9.17"
861+
"version": "3.10.14"
859862
},
860863
"toc": {
861864
"base_numbering": 1,
@@ -872,5 +875,5 @@
872875
}
873876
},
874877
"nbformat": 4,
875-
"nbformat_minor": 1
878+
"nbformat_minor": 4
876879
}

0 commit comments

Comments
 (0)