Skip to content

Commit 4b72327

Browse files
committed
Merge remote-tracking branch 'upstream/dev_site_current'
2 parents 3e3ba2b + 971ecbe commit 4b72327

15 files changed

+557
-1794
lines changed

guide/02-api-overview/release-notes.ipynb

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,74 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# What's new in version 1.5"
8+
]
9+
},
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"#### New\n",
15+
"* Updated the **[`Map Widget`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.widgets.html#mapview)** to use the **[ArcGIS API for JavaScript 4x](https://developers.arcgis.com/javascript/)** release\n",
16+
" * Broader support for authorign and rendering `WebScenes`\n",
17+
" * Full support for [`JupyterLab`](http://jupyterlab.readthedocs.io/en/stable/getting_started/overview.html). See **[JupyterLab Guide](http://../using-the-jupyter-lab-environment)**.\n",
18+
" * Support for specfiying `autocast` JavaScript renderers from Python code\n",
19+
" * Support for exporting `Map Widgets` to standalone HTML pages\n",
20+
" * Support for using an external ArcGIS API for JavaScript CDN for disconnected environments\n",
21+
" * Miscellaneous bug fixes\n",
22+
"* Added the new **`Spatially Enabled Dataframe`** to eventually replace the [`SpatialDataFrame`()](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.features.toc.html#spatialdataframe) class\n",
23+
" * New implementation: **Accessor-based** `spatial` namespace accessible as the `sdf` property on a Pandas dataframe\n",
24+
" * Improvements to rendering, projections and support for Arcade expressions\n",
25+
"* Added `usage` property on [`Item`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#item) class to inspect individual statistics \n",
26+
"* Added attribute checks for geometries in environments where `ArcPy` is not available\n",
27+
"* Added `summary` property to [`arcgis.admin.ux`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.admin.html#ux) to add description of Portal or ArcGIS Online Organization instance\n",
28+
"* Added support for using server raster functions in raster analytics jobs using [`apply()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.raster.functions.html#apply)\n",
29+
"* Enhancements to support for [`mosaic_rules`](https://developers.arcgis.com/documentation/common-data-types/mosaic-rules.htm) on `ImageryLayers`, incdluding when using [`save()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.raster.toc.html#imagerylayer) and [`identity()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.raster.functions.html#arcgis.raster.functions.identity)\n",
30+
"* Added [`AssignmentIntegrationManager`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.apps.workforce.managers.html#arcgis.apps.workforce.managers.AssignmentIntergrationManager) class to [`Workforce`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.apps.workforce.html) module as the `integrations` property on a [`Project`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.apps.workforce.html#project)\n",
31+
"* Added url builder functions to the [`apps`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.apps.html) module\n",
32+
"* Enhanced numerous [`Global Raster functions`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.raster.functions.gbl.html#module-arcgis.raster.functions.gbl) with parameter validation checks, including [`cost_distance()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.raster.functions.gbl.html#cost-distance), [`cost_allocation()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.raster.functions.gbl.html#cost-allocation), [`flow_distance()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.raster.functions.gbl.html#flow-distance), [`zonal_statistics()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.raster.functions.gbl.html#zonal-statistics) and others\n",
33+
"* Added `cost_backlink()`, `euclidean_direction()`, `cost_path()`, `kernel_density()`, and `calculate_travel_cost()` to Global Raster Functions and `optimum_travel_cost_network()` to Raster Analytics\n",
34+
"* Added `category_filters` parameter to improve [`search()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.ContentManager.search) capabilities\n",
35+
"* Added `find_centroids` function to [`arcgis.features.find_locations`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.features.find_locations.html) submodule"
36+
]
37+
},
38+
{
39+
"cell_type": "markdown",
40+
"metadata": {},
41+
"source": [
42+
"#### Fixes\n",
43+
"* Fixed BUG-000114520 where assigning categories with a Python script removed previously assigned categories\n",
44+
"* Fixed issue when returning sharing properties on an `Item` if item is in a folder\n",
45+
"* Fixed issue when passing colors in as a list on the `Spatially Enabled Dataframe`\n",
46+
"* Fixed issue where [`arcgis.network.analysis.solve_vehicle_routing_problem`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.network.analysis.html#solve-vehicle-routing-problem) failed because of missing parameters\n",
47+
"* Fixed mis-matched parameters on the [`SyncMananger.synchronize()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.features.managers.html#arcgis.features.managers.SyncManager.synchronize) method\n",
48+
"* Fixed issue where `spatial_join`() failed if `ArcPy` was not available in the environment\n",
49+
"* Fixed issue when exporting to a feature class failed if `ArcPy` was not available in the environment\n",
50+
"* Fixed issue where creating a `FeatureSet` from a `Pandas dataframe` failed\n",
51+
"* Fixed issue on the `Spatially Enabled Dataframe plot` method using the unique values renderer\n",
52+
"* Fixed issue for ensuring valid values passed to the `rendering_rules` parameter of the [`ImageryLayer`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.raster.toc.html#imagerylayer) `identify()` and `computer_stats_and_histogrames()` functions\n",
53+
"* Added `item_rendering_rule` parameter to [`ImageryLayer.mosaic_by()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.raster.toc.html#arcgis.raster.ImageryLayer.mosaic_by) function\n",
54+
"* Corrected invalid internal key in [`ImageryLayer.mosaic_rule()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.raster.toc.html#arcgis.raster.ImageryLayer.mosaic_rule)\n",
55+
"* Updated parameters in the [`GeoAnalytics`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.geoanalytics.toc.html#module-arcgis.geoanalytics) [`summarize_data.summarize_within()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.geoanalytics.summarize_data.html#summarize-within), [`find_locations.detect_incidents()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.geoanalytics.find_locations.html#detect-incidents), and [`analyze_patters.find_hot_spots()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.geoanalytics.analyze_patterns.html#find-hot-spots) functions \n",
56+
"* Fixed [`GeoAnalytics.find_locations.geocode_locations()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.geoanalytics.find_locations.html#geocode-locations) function\n",
57+
"* Increased flexibility of the [`output_datastore`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.env.html#output-datastore) environment variable\n",
58+
"* Fixed issue where dates older than the Unix Epoch caused failures\n",
59+
"* Fixed issue where [`Item.protect()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.Item.protect) failed to repopulate the Item object\n",
60+
"* Fixed bug in [`gis.admin.SSLCertificates.get()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.admin.html#arcgis.gis.admin.SSLCertificates.get) method and improved documentation\n",
61+
"* Fixed issue where [`Item.comments`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.Item.comments) and [`Item.add_comment()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.Item.add_comment) returned invalid URL\n",
62+
"* Added [`LicenseManager`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.admin.html#license-manager) documentation to the [`arcgis.gis.admin`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.admin.html)\n",
63+
"* Fixed issue with [`clone_items()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items) function failing to update paths for Tiled Map Service Layers\n",
64+
"* Added [`create_thumbnail()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.Item.create-thumbnail) function to `Item` class\n",
65+
"* Fixed issue where [`arcgis.server.Server()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.server.html#server) did not read the `verify_cert` parameter\n",
66+
"* Fixed [`FeatureLayerCollectionManager.overwrite()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.features.managers.html#arcgis.features.managers.FeatureLayerCollectionManager.overwrite) method to work with Portal items\n",
67+
"\n",
68+
"\n",
69+
"* **Available at ArcGIS Enterprise 10.7:** Added [`arcgis.geonalytics.manage_data.clip_layer()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.geoanalytics.manage_data.html#calculate-fields) functionality"
70+
]
71+
},
372
{
473
"cell_type": "markdown",
574
"metadata": {},

guide/10-mapping-and-visualization/smart-mapping.ipynb

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@
55
"metadata": {},
66
"source": [
77
"# Smart Mapping\n",
8-
"Smart Mapping is a new capability built into ArcGIS Online and Portal for ArcGIS (10.3.1 and after) with which you can easily create beautiful and stunning maps. With smart mapping your GIS get the ability to quickly analyze your data and set smart defaults allowing you to easily create an illustrative map.\n",
8+
"Smart Mapping is a new capability built into ArcGIS Online and Portal for ArcGIS (10.3.1 and after) with which you can easily create beautiful and stunning maps. With smart mapping your GIS gets the ability to quickly analyze your data and set smart defaults allowing you to easily create an illustrative map.\n",
99
"\n",
10-
"To learn more about this exciting capability visit [the help page](http://www.esri.com/software/arcgis/smart-mapping) and [this blog article](https://blogs.esri.com/esri/arcgis/2015/03/02/introducing-smart-mapping/). Here is a [detailed help](http://doc.arcgis.com/en/arcgis-online/create-maps/change-style.htm) on various ways you can symbolize your data."
10+
"To learn more about this exciting capability visit [the help page](http://www.esri.com/software/arcgis/smart-mapping) and [this blog article](https://blogs.esri.com/esri/arcgis/2015/03/02/introducing-smart-mapping/). Here is a [detailed help](http://doc.arcgis.com/en/arcgis-online/create-maps/change-style.htm) on the various ways you can symbolize your data."
1111
]
1212
},
1313
{
1414
"cell_type": "markdown",
1515
"metadata": {},
1616
"source": [
1717
"## Visualizing line features\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",
19-
"\n",
20-
"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."
18+
"The first example shows some ideas on visualizing linear features using a streets layer. When you add an `Item` object to your map, the map widget renders it using the default symbology of the item. With smart mapping, you can customize this. In this example we will use **ClassSizeRenderer** to emphasize differences in value by varying the thickness of line features."
2119
]
2220
},
2321
{
@@ -61,9 +59,7 @@
6159
{
6260
"cell_type": "code",
6361
"execution_count": null,
64-
"metadata": {
65-
"collapsed": false
66-
},
62+
"metadata": {},
6763
"outputs": [
6864
{
6965
"data": {
@@ -104,9 +100,7 @@
104100
{
105101
"cell_type": "code",
106102
"execution_count": null,
107-
"metadata": {
108-
"collapsed": false
109-
},
103+
"metadata": {},
110104
"outputs": [
111105
{
112106
"name": "stdout",
@@ -144,7 +138,7 @@
144138
"cell_type": "code",
145139
"execution_count": null,
146140
"metadata": {
147-
"collapsed": false
141+
"collapsed": true
148142
},
149143
"outputs": [],
150144
"source": [
@@ -197,7 +191,7 @@
197191
"cell_type": "code",
198192
"execution_count": null,
199193
"metadata": {
200-
"collapsed": false
194+
"collapsed": true
201195
},
202196
"outputs": [],
203197
"source": [
@@ -233,7 +227,7 @@
233227
"cell_type": "code",
234228
"execution_count": null,
235229
"metadata": {
236-
"collapsed": false
230+
"collapsed": true
237231
},
238232
"outputs": [],
239233
"source": [
@@ -289,7 +283,7 @@
289283
"cell_type": "code",
290284
"execution_count": null,
291285
"metadata": {
292-
"collapsed": false
286+
"collapsed": true
293287
},
294288
"outputs": [],
295289
"source": [
@@ -322,5 +316,5 @@
322316
}
323317
},
324318
"nbformat": 4,
325-
"nbformat_minor": 0
319+
"nbformat_minor": 1
326320
}

samples/02_power_users_developers/building_a_change_detection_app_using_jupyter_dashboard.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
"oldslider = widgets.IntSlider(value=oldindex, min=0,max=10, #len(df) - 1,\n",
255255
" step=1, description='Older:', disabled=False,\n",
256256
" continuous_update=True, orientation='horizontal',\n",
257-
" readout=False, readout_format='i', slider_color='white')\n",
257+
" readout=False, readout_format='', slider_color='white')\n",
258258
"\n",
259259
"old_label = widgets.Label(value='')#str(df.Time.iloc[oldindex].date()))\n",
260260
"\n",
@@ -317,7 +317,7 @@
317317
"newslider = widgets.IntSlider(value=newindex, min=0, max=10, #len(df) - 1,\n",
318318
" step=1, description='Newer:', disabled=False,\n",
319319
" continuous_update=True, orientation='horizontal',\n",
320-
" readout=False, readout_format='i', slider_color='white')\n",
320+
" readout=False, readout_format='', slider_color='white')\n",
321321
"\n",
322322
"new_label = widgets.Label(value='') #str(df.Time.iloc[newindex].date()))\n",
323323
"\n",
@@ -557,7 +557,7 @@
557557
"name": "python",
558558
"nbconvert_exporter": "python",
559559
"pygments_lexer": "ipython3",
560-
"version": "3.5.3"
560+
"version": "3.6.5"
561561
},
562562
"widgets": {
563563
"state": {

samples/04_gis_analysts_data_scientists/calculating_cost_surfaces_using_weighted_overlay_analysis.ipynb

Lines changed: 107 additions & 119 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)