You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LABEL org.opencontainers.image.description="Jupyter Notebook with the latest version of the ArcGIS API for Python and its Linux dependencies preinstalled"
11
+
LABEL org.opencontainers.image.description="Jupyter environment preconfigured for ArcGIS API for Python"
Copy file name to clipboardExpand all lines: guide/01-getting-started/system-requirements.ipynb
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@
78
78
"> Note: if `arcpy` is found in the current python environment, it may be used in various locations. Otherwise, `gdal` or `pyshp` will be used. See [Spatially Enabled DataFrame](https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html?highlight=geoaccessor#arcgis.features.GeoAccessor) for more information.\n",
79
79
"\n",
80
80
"\n",
81
+
"\n",
81
82
"### Optional Dependencies\n",
82
83
"\n",
83
84
"There are some other python packages that may be required to use certain functionality in the API, but are __not__ automatically installed. To use that functionality, you must manually call `conda install {package_name}` or `pip install {package_name}` for such optional packages.\n",
Copy file name to clipboardExpand all lines: guide/02-api-overview/release_notes_240.ipynb
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@
7
7
"source": [
8
8
"# What's new in version 2.4.0\n",
9
9
"\n",
10
+
"> **Note:** The ArcGIS API for Python 2.4.0 release is supported with ArcGIS Pro 3.4 and later cloned environments for use with _arcpy_. The 2.4.0 _arcgis_ and _arcgis-mapping_ packages are incompatible with ArcGIS Pro 3.3.x and earlier cloned environments. The default ArcGIS Pro 3.3.x environment can be cloned and upgraded to _arcgis_ packages of 2.3.x.\n",
11
+
"\n",
10
12
"## New\n",
11
13
"Reorganized modules and refactored functionality into new classes to incorporate the new Jupyter Lab and Notebook 7 architectures.\n",
Copy file name to clipboardExpand all lines: guide/03-the-gis/accessing-and-creating-content.ipynb
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1425,7 +1425,7 @@
1425
1425
"source": [
1426
1426
"## Creating new content\n",
1427
1427
"\n",
1428
-
"To create new items on your GIS, use the [`add()`](/api-reference/arcgis.gis.toc.html#arcgis.gis._impl._content_manager.Folder.add) method on a [`Folder`](/python/api-reference/arcgis.gis.toc.html#folder) instance. You can get an individual _folder_ using the [`Folders.get()`](/python/api-reference/arcgis.gis.toc.html#arcgis.gis._impl._content_manager.Folders.get) method.\n",
1428
+
"To create new items on your GIS, use the [`add()`](https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#arcgis.gis._impl._content_manager.Folder.add) method on a [`Folder`](/python/api-reference/arcgis.gis.toc.html#folder) instance. You can get an individual _folder_ using the [`Folders.get()`](/python/api-reference/arcgis.gis.toc.html#arcgis.gis._impl._content_manager.Folders.get) method.\n",
1429
1429
"\n",
1430
1430
"The `add()` method accepts a dictionary containing the properties of the item to be created. The optional `file`, `text`, `url`, and `data_url` parameters accept input to add the actual content. \n",
1431
1431
"\n",
@@ -1472,7 +1472,7 @@
1472
1472
},
1473
1473
{
1474
1474
"cell_type": "code",
1475
-
"execution_count": 12,
1475
+
"execution_count": null,
1476
1476
"metadata": {},
1477
1477
"outputs": [],
1478
1478
"source": [
@@ -1485,7 +1485,7 @@
1485
1485
"root_folder = gis.content.folders.get()\n",
1486
1486
"earthquake_csv_item = root_folder.add(\n",
1487
1487
" item_properties=csv_properties, \n",
1488
-
" data=csv_path,\n",
1488
+
" file=csv_path,\n",
1489
1489
" thumbnail = thumbnail_path\n",
1490
1490
").result()"
1491
1491
]
@@ -2332,7 +2332,7 @@
2332
2332
"source": [
2333
2333
"**Note**: here, we used the `add()` method to add the `FeatureCollection` object in memory as an item on the GIS. Notice we used the `text` property to pass the JSON representation of the feature collection and the `type` property to indicate the item type. You can use the same method to publish web maps and web scenes.\n",
2334
2334
"\n",
2335
-
"The [sample notebooks for content publishers](https://developers.arcgis.com/python/sample-notebooks/publishing-web-maps-and-web-scenes/) show how the concepts discussed here can be used to publish web maps and scenes to your GIS"
2335
+
"The [sample notebooks for content publishers](/python/latest/samples/publishing-web-maps-and-web-scenes/) show how the concepts discussed here can be used to publish web maps and scenes to your GIS"
Copy file name to clipboardExpand all lines: guide/03-the-gis/cloning-content.ipynb
+4-18Lines changed: 4 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1388,28 +1388,14 @@
1388
1388
"cell_type": "markdown",
1389
1389
"metadata": {},
1390
1390
"source": [
1391
-
"### ArcGIS Dashboards"
1391
+
"### ArcGIS Dashboards and ArcGIS StoryMaps"
1392
1392
]
1393
1393
},
1394
1394
{
1395
1395
"cell_type": "markdown",
1396
1396
"metadata": {},
1397
1397
"source": [
1398
-
"See the [Cloning and Troubleshooting Complex Items](../cloning-complex-apps#dashboards-and-editing-item-data) guide for details on cloning ArcGIS Dashboards. "
1399
-
]
1400
-
},
1401
-
{
1402
-
"cell_type": "markdown",
1403
-
"metadata": {},
1404
-
"source": [
1405
-
"### Story Maps"
1406
-
]
1407
-
},
1408
-
{
1409
-
"cell_type": "markdown",
1410
-
"metadata": {},
1411
-
"source": [
1412
-
"See the [Cloning and Troubleshooting Complex Items](../cloning-complex-apps/#storymaps-web-scenes-and-item-remapping) guide for details on cloning ArcGIS StoryMaps. "
1398
+
"See the [Cloning and Troubleshooting Complex Items](../cloning-complex-apps#dashboards-and-editing-item-data) guide for details on cloning ArcGIS Dashboards and ArcGIS StoryMaps. "
Copy file name to clipboardExpand all lines: guide/04-feature-data-and-analysis/appending-features.ipynb
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,13 @@
13
13
"source": [
14
14
"Any Web GIS Administrator can attest to the fundamental importance of managing hosted feature layers in ArcGIS online. Traditionally, adding data en masse to existing hosted feature layers typically involved a three-step process of downloading the feature layer data, merging additional edits, and finally overwriting the original feature layer. While that workflow still suffices in many circumstances, the [`append()`](https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#arcgis.features.FeatureLayer.append) function greatly simplifies the process. It can save you a ton of time if your features layers are large, eliminating the time involved in overwriting the feature layer. \n",
15
15
"\n",
16
-
"Let's take a look at some example `append()` workflows below. This guide document refers to the feature layer you will append data into as the `target`, while the item you append data from is referred to as the `source`."
16
+
"Let's take a look at some example `append()` workflows below. This guide document refers to the feature layer you will append data into as the `target`, while the item you append data from is referred to as the `source`.\n",
17
+
"\n",
18
+
"> **Note:** Please see the [Append (Feature Service/Layer)](https://developers.arcgis.com/rest/services-reference/enterprise/append-feature-service-layer/) for technical reference details on the append operation.\n",
19
+
"\n",
20
+
"> **Note:** When appending features from files, important criteria must be met in order for the append to succeed, and only certain file formats may be supported for a given layer. Please see the documentation for your deployment before attempting to append data:\n",
21
+
"> * ArcGIS Online: _Manage hosted feature layers_ - [Add and update features from a file](https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-feature-layers.htm#APPEND)\n",
22
+
"> * ArcGIS Enteprise: _Manage hosted feature layers_ - [Add and update features from a file](https://enterprise.arcgis.com/en/portal/latest/use/manage-hosted-feature-layers.htm#APPEND)"
17
23
]
18
24
},
19
25
{
@@ -118,7 +124,7 @@
118
124
"source": [
119
125
"## Append New Features from a File Geodatabase\n",
120
126
"\n",
121
-
"This first example appends new features from a File Geodatabase into a hosted feature layer. For optimal performance and minimal chance of errors when using [`append()`](https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#arcgis.features.FeatureLayer.append), Esri strongly recommends the schema for the source file to upload (source) matches the schema of the hosted feature service layer (target). \n",
127
+
"This first example appends new features from a File Geodatabase into a hosted feature layer. For optimal performance and minimal chance of errors when using [`append()`](https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#arcgis.features.FeatureLayer.append), Esri strongly recommends the schema for the source file to upload (source) matches the schema of the hosted feature service layer (target). Please note that appending from a file geodatabase is only supported in ArcGIS Online.\n",
122
128
"\n",
123
129
"In this first section, you'll have matching schema between your File Geodatabase item (named `SubDiv_PB11_PG48_parcels`) and a hosted feature service layer you will publish."
124
130
]
@@ -414,7 +420,11 @@
414
420
"metadata": {},
415
421
"source": [
416
422
"### Get the source item for appending\n",
417
-
"In order for the append workflow to succeed, you need to add the source file containing the new features as an Item in your GIS. In this case, the data file is already uploaded as an Item for you. From there, get the item id value for this file geodatabase item containing features you want to append to the feature layer. In this case, the Schema from the file geodatabase you'll append matches that of the hosted feature layer."
423
+
"In order for the append workflow to succeed, you need to add the source file containing the new features as an Item in your GIS. In this case, the data file is already uploaded as an Item for you. From there, get the item id value for this file geodatabase item containing features you want to append to the feature layer. In this case, the Schema from the file geodatabase you'll append matches that of the hosted feature layer.\n",
424
+
"\n",
425
+
"> **Note:** It is important to verify the Feature Layer you use supports the operation you intend to run. Please query the feature layer for the following properties to confirm:\n",
426
+
"> * `FeatureLayer.properties.supportsAppend` - see [Supports append](https://developers.arcgis.com/rest/services-reference/enterprise/append-feature-service-layer/#supports-append) for details.\n",
427
+
"> * `FeatureLayer.properties.supportedAppendFormats` - see [Supported append formats](https://developers.arcgis.com/rest/services-reference/enterprise/append-feature-service-layer/#supported-append-formats) for details."
0 commit comments