Skip to content

Commit 75922a7

Browse files
AtmaManirohitgeo
authored andcommitted
Guide 09 mapping (#67)
* Fix wrong location in comment * Merge dev branch into master for 0.2 Beta and Holistic Testing (#24) * Updated publishing samples to reflect changes made to source code * Updated Publihing SDs, shp, csv samples to reflect latest API changes * Publisher sample updates - added samples for web maps and web scene (#3) * Updated notebook title to match filename * Added a new sample to showcase publishing web maps and web scenes * Fixed credentials * Updated sample titled "Using and updating GIS content" (#4) * Updated notebook title to match filename * Added a new sample to showcase publishing web maps and web scenes * Fixed credentials * Updated the sample with additional examples * Fixed credentials * Added an example for line featuers. Added some text explaining what smart mapping is * Additional widgets to minimize scrolling. Fixed geocoder usage following API update * Updated geocoder usage to match API updates * Updated the sample to match gp service update. Added a bit more text explaining the usage of gp tools (#12) * Minor - updated sample to search for desired item to add instead of a fixed index (#13) * GIS analysts - sample illustrating spatial analysis using ArcGIS Python API (#14) * Initial commit * Furnished the sample with spatial analysis examples * Fixes for API changes. Added summary text and elaborated a few steps (#15) * new sample to showcase big data anlaysis using NYC taxi example (#16) * Updated hurricane tracks sample to match API changes (#17) * Updated hurricane tracks sample to match API changes and added descriptive text * updated credentials * Updated sample to match API changes, added explanatory text (#19) * clean up sample (#18) * clean up sample (#20) * Remove usage statistics notebook as the API isnt available This requires work on the portal backend as well as it does not yet support ASM. * bug fixes and added descriptive text (#22) * synced raster product sample in 05 Content Publishers folder to match that in 04 GIS Analysts and Data Scientists (#21) Thanks, @AtmaMani * Updated Overview page - updated sample TOC (#23) * doc updates * apidoc update for 0.2 beta release * updated install instructions * Updated samples download link to point to v0.2-beta release (#25) * fixed wrong import * fixed execution count * removed geometry and moved up mapping to 09 * guide - finished 09 mapping module
1 parent 4ed0686 commit 75922a7

File tree

5 files changed

+653
-988
lines changed

5 files changed

+653
-988
lines changed

guide/10 Mapping and visualization/Smart Mapping.ipynb renamed to guide/09 Mapping and visualization/Smart Mapping.ipynb

Lines changed: 39 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
{
22
"cells": [
3-
{
4-
"cell_type": "markdown",
5-
"metadata": {},
6-
"source": [
7-
"<div class=\"alert alert-info\">\n",
8-
"\n",
9-
"**Note:** Refer here for instructions to <a href=\"https://developers.arcgis.com/python/sample-notebooks/#Download-and-run-the-sample-notebooks\">download and run this sample locally</a> on your computer\n",
10-
"\n",
11-
"</div>"
12-
]
13-
},
143
{
154
"cell_type": "markdown",
165
"metadata": {},
@@ -26,14 +15,14 @@
2615
"metadata": {},
2716
"source": [
2817
"## Visualizing line features\n",
29-
"The first sample shows some ideas to visualize linear features using streets data. When you add an item to your map, the map widget visualizes using the default symbology of the item. In this sample, you will see how you can use **smart mapping** to better visualize the same layer.\n",
18+
"The first example shows some ideas to visualize linear features using streets data. When you add an item to your map, the map widget visualizes using the default symbology of the item. In this sample, you will see how you can use **smart mapping** to better visualize the same layer.\n",
3019
"\n",
3120
"You can add the layer back to the map by passing the URL to the layer and specifying how you want the layer rendered. In this sample we will use **ClassSizeRenderer** to emphasize differences in value by varying the thickness of line features."
3221
]
3322
},
3423
{
3524
"cell_type": "code",
36-
"execution_count": 1,
25+
"execution_count": null,
3726
"metadata": {
3827
"collapsed": true
3928
},
@@ -45,7 +34,7 @@
4534
},
4635
{
4736
"cell_type": "code",
48-
"execution_count": 11,
37+
"execution_count": null,
4938
"metadata": {
5039
"collapsed": true
5140
},
@@ -55,6 +44,13 @@
5544
"map1"
5645
]
5746
},
47+
{
48+
"cell_type": "markdown",
49+
"metadata": {},
50+
"source": [
51+
"![line features](http://esri.github.io/arcgis-python-api/notebooks/nbimages/02_SmartMapping_01.PNG)"
52+
]
53+
},
5854
{
5955
"cell_type": "markdown",
6056
"metadata": {},
@@ -64,7 +60,7 @@
6460
},
6561
{
6662
"cell_type": "code",
67-
"execution_count": 3,
63+
"execution_count": null,
6864
"metadata": {
6965
"collapsed": false
7066
},
@@ -75,7 +71,7 @@
7571
"[<Item title:\"USA Freeway System\" type:Feature Service owner:esri>]"
7672
]
7773
},
78-
"execution_count": 3,
74+
"execution_count": null,
7975
"metadata": {},
8076
"output_type": "execute_result"
8177
}
@@ -88,7 +84,7 @@
8884
},
8985
{
9086
"cell_type": "code",
91-
"execution_count": 4,
87+
"execution_count": null,
9288
"metadata": {
9389
"collapsed": true
9490
},
@@ -107,7 +103,7 @@
107103
},
108104
{
109105
"cell_type": "code",
110-
"execution_count": 5,
106+
"execution_count": null,
111107
"metadata": {
112108
"collapsed": false
113109
},
@@ -146,7 +142,7 @@
146142
},
147143
{
148144
"cell_type": "code",
149-
"execution_count": 13,
145+
"execution_count": null,
150146
"metadata": {
151147
"collapsed": false
152148
},
@@ -157,7 +153,7 @@
157153
},
158154
{
159155
"cell_type": "code",
160-
"execution_count": 14,
156+
"execution_count": null,
161157
"metadata": {
162158
"collapsed": true
163159
},
@@ -169,7 +165,7 @@
169165
},
170166
{
171167
"cell_type": "code",
172-
"execution_count": 15,
168+
"execution_count": null,
173169
"metadata": {
174170
"collapsed": true
175171
},
@@ -199,7 +195,7 @@
199195
},
200196
{
201197
"cell_type": "code",
202-
"execution_count": 16,
198+
"execution_count": null,
203199
"metadata": {
204200
"collapsed": false
205201
},
@@ -210,7 +206,7 @@
210206
},
211207
{
212208
"cell_type": "code",
213-
"execution_count": 17,
209+
"execution_count": null,
214210
"metadata": {
215211
"collapsed": true
216212
},
@@ -219,6 +215,13 @@
219215
"map2"
220216
]
221217
},
218+
{
219+
"cell_type": "markdown",
220+
"metadata": {},
221+
"source": [
222+
"![area features](http://esri.github.io/arcgis-python-api/notebooks/nbimages/02_SmartMapping_02.PNG)"
223+
]
224+
},
222225
{
223226
"cell_type": "markdown",
224227
"metadata": {},
@@ -228,7 +231,7 @@
228231
},
229232
{
230233
"cell_type": "code",
231-
"execution_count": 18,
234+
"execution_count": null,
232235
"metadata": {
233236
"collapsed": false
234237
},
@@ -250,12 +253,12 @@
250253
"## Visualizing location data\n",
251254
"Point features are the most common type of location data. Smart mapping provides a special visualization technique called **heatmap**. The heatmap renderer is useful when representing the spatial distribution or clustering of points as it represents the relative density of points on a map as smoothly varying sets of colors ranging from cool (low density) to hot (many points).\n",
252255
"\n",
253-
"Thus the sample below visualizes earthquake occurrences in Southern California, using the heatmap renderer"
256+
"Thus, the sample below visualizes earthquake occurrences in Southern California, using the heatmap renderer"
254257
]
255258
},
256259
{
257260
"cell_type": "code",
258-
"execution_count": 19,
261+
"execution_count": null,
259262
"metadata": {
260263
"collapsed": true
261264
},
@@ -266,7 +269,7 @@
266269
},
267270
{
268271
"cell_type": "code",
269-
"execution_count": 20,
272+
"execution_count": null,
270273
"metadata": {
271274
"collapsed": true
272275
},
@@ -275,9 +278,16 @@
275278
"map3"
276279
]
277280
},
281+
{
282+
"cell_type": "markdown",
283+
"metadata": {},
284+
"source": [
285+
"![location data](http://esri.github.io/arcgis-python-api/notebooks/nbimages/02_SmartMapping_03.PNG)"
286+
]
287+
},
278288
{
279289
"cell_type": "code",
280-
"execution_count": 21,
290+
"execution_count": null,
281291
"metadata": {
282292
"collapsed": false
283293
},
@@ -288,22 +298,13 @@
288298
" \"renderer\":\"HeatmapRenderer\",\n",
289299
" \"opacity\":0.75})"
290300
]
291-
},
292-
{
293-
"cell_type": "code",
294-
"execution_count": null,
295-
"metadata": {
296-
"collapsed": true
297-
},
298-
"outputs": [],
299-
"source": []
300301
}
301302
],
302303
"metadata": {
303304
"anaconda-cloud": {},
304305
"celltoolbar": "Raw Cell Format",
305306
"kernelspec": {
306-
"display_name": "Python [default]",
307+
"display_name": "Python 3",
307308
"language": "python",
308309
"name": "python3"
309310
},
@@ -318,32 +319,6 @@
318319
"nbconvert_exporter": "python",
319320
"pygments_lexer": "ipython3",
320321
"version": "3.5.2"
321-
},
322-
"widgets": {
323-
"state": {
324-
"42c2c3056381461a9c7df3e8e5b2603e": {
325-
"views": [
326-
{
327-
"cell_index": 22
328-
}
329-
]
330-
},
331-
"e242b6af8d804b6997c532749dc1495b": {
332-
"views": [
333-
{
334-
"cell_index": 17
335-
}
336-
]
337-
},
338-
"f101f5f5dde0416f83e7fca8d9878055": {
339-
"views": [
340-
{
341-
"cell_index": 4
342-
}
343-
]
344-
}
345-
},
346-
"version": "1.2.0"
347322
}
348323
},
349324
"nbformat": 4,

0 commit comments

Comments
 (0)