|
POST
|
Hello, Try with the mapping version set to 5.0.0. conda create -n arcgis_latest -c esri arcgis=2.4.3 arcgis-mapping=5.0.0 You should see the following: Let me know if that helps.
... View more
3 weeks ago
|
0
|
1
|
198
|
|
BLOG
|
@Kepa The PyPi release will be sometime around 4/14/26. As soon as the Conda builds are finalized.
... View more
a month ago
|
1
|
0
|
180
|
|
BLOG
|
With the release of ArcGIS API for Python 2.4.3, we want to extend a huge thank you to our community. Your feedback and active participation are what truly shape the evolution of this product. For those new to the ecosystem, our public GitHub repository is your go-to hub for samples, tutorials, and documentation. Your feedback through Technical Support and our public repository are where your voice matters most—we actively monitor the issues and enhancement requests logged there, integrating your ideas into every release cycle. Here are a few of the submissions from you that made it into the 2.4.3 release from both the public repository and through your Tech Support feedback. Enhancements: ENH-000179291 Enhance the clone_items() function in ArcGIS API for Python to support passing identical Item IDs across source and destination ArcGIS Enterprise portals. ENH-000145456 Return Z and M values using the arcgis.features.elevation.profile method in the Python API Bug Fixes: Map.content.update_layer() cannot apply labeling to FeatureCollection/FeatureSet layers https://github.com/Esri/arcgis-python-api/issues/2465 Getting the dependencies of web map doesn't work depending on the arcgis active environment https://github.com/Esri/arcgis-python-api/issues/2436 arcgis.apps.itemgraph module : create_dependency_graph picking up id of layer within webmap instead of the portal item id of that layer https://github.com/Esri/arcgis-python-api/issues/2429 Unable to retrieve Enterprise Portal Licenses https://github.com/Esri/arcgis-python-api/issues/2447 BUG-000181596 Cloning Story Maps does not preserve the Item ID on Enterprise BUG-000181653 Malformed StoryMap URL property for Enterprise BUG-000181260 Unable to create join view layer using ArcGIS API for Python View Manager Class BUG-000179186 Query outfield map image layer returns different ObjectID than infield when using ArcGIS API for Python. BUG-000179671 The ArcGIS API for Python buffer method on a geometry object returns a polygon with an incorrectly formatted geometry definition BUG-000176517 ArcGIS API for Python folder.add() function does not honour the item_id parameter, When the item is added to the folder the items id is different from the item_id specified in the function parameter. BUG-000176001 When using the ArcGIS API for Python's item.update() method to update a file, the file in the data path does not require the replacement file to have the same name as the item in ArcGIS Online. Thanks again and we look forward to your feedback as we begin work on the iteration of the ArcGIS API for Python! Take a look at the new features for version 2.4.3: https://www.esri.com/arcgis-blog/products/api-python/announcements/whats-new-in-arcgis-api-for-python-2-4-3
... View more
04-03-2026
04:46 PM
|
4
|
2
|
424
|
|
POST
|
What are you passing in as the input_database argument? It should be an .sde file connected with a user that is able to rebuild indexes. Rebuild Indexes (Data Management)—ArcGIS Pro | Documentation
... View more
04-03-2026
03:47 PM
|
0
|
1
|
257
|
|
POST
|
In my test case, the trick is to set the spatial reference of the FeatureSet before running to_featureclass. feature_set = FeatureSet.from_dict({"features": edits[op]})
feature_set.spatial_reference = {"wkid": 3857}
sdf = feature_set.sdf
fc = sdf.spatial.to_featureclass("path/to/gdb")
... View more
03-23-2026
02:22 PM
|
2
|
1
|
428
|
|
POST
|
@SerjStol Are you able to use the result() method instead of done()? I am not sure why we're seeing a wide range of discrepancies with Folder.add. I tested with ArcGIS Pro 3.5 which has version 2.4.1 of the Python API and get expected results: from arcgis.gis import GIS
import uuid
portal = GIS(profile="your_enterprise_profile", verify_cert=False
)
portal_folder = portal.content.folders.get()
item_props = {
"servicePassword": "abc123",
"serviceUsername": "arcgis_python",
"tags": "Tool, Service, ArcGIS Server",
"title": f"test_async_folder_issue_{uuid.uuid4()}",
"type": "Geoprocessing Service",
"url": "https://elevation.arcgis.com/arcgis/rest/services/Tools/Elevation/GPServer",
}
svc_item = portal_folder.add(item_props)
print(type(svc_item))
print(svc_item.done())
print(svc_item.result())
svc_item.result().delete(permanent=True) Type: <class 'concurrent.futures._base.Future'>
Done: True
Result: <Item title:"test_async_folder_issue_329d7c52-fa01-4683-9bfa-2b212a18f387" type:Geoprocessing Toolbox owner:arcgis_python>
... View more
03-20-2026
09:58 AM
|
0
|
1
|
400
|
|
BLOG
|
"The frequency illusion (also known as the Baader–Meinhof phenomenon) is a cognitive bias in which a person notices a specific concept, word, or product more frequently after recently becoming aware of it." The frequency illusion is happening to me. I have a friend taking a GIS class and he asked me what the difference was between a feature class and a feature layer. Cut to a week later, I received some user feedback describing their bewilderment regarding terms prefixed with "feature". Not to mention that I see the word "feature" everywhere! Upon explaining to my friend what it is in my brain regarding "feature class" and "feature layer", I realized that my definitions were specific to where I have spent my GIS career. This means some context around where "feature" is being used is needed. Let's break down some of the more common places among the Esri stack that rely on this root word. Before we jump in, let's define "feature" in the general geographic sense: Feature: Any part of the earth's surface, or anything found on the earth's surface, that can be represented on a map. Features can represent various types of geographic entities, such as points, lines, polygons, or more complex objects like networks or surfaces. Feature Definition | GIS Dictionary Or, to be GIS specific: Feature data: Geographic entities (or features) represented as points, lines, and polygons. Feature Data Definition | GIS Dictionary Now that we understand the root word, let's look at its different variations and combinations. Geodatabase: This includes file geodatabases, enterprise geodatabases, data warehouses, SQLite, MS Access (personal gdb) and the like. Here are the common terms prefixed by "feature": Feature Class: A collection of geographic features of the same type of geometry (point, line, polygon), the same attributes and the same spatial reference. Feature Class Definition | GIS Dictionary Feature Dataset: A collection of feature classes maintained within a single data structure. Think of a feature dataset as a container of feature classes with the same spatial reference. Feature Dataset Definition | GIS Dictionary Notice that the feature class definition from the GIS Dictionary does not mention any type of data storage. There are other data storage types that are not found in a geodatabase. Shapefiles are also considered feature classes. Other types of GIS storage formats may or may not be officially classified as feature classes but items such as KML, GML, GeoJson could also be labeled as such. Enterprise: In this discussion, ArcGIS Enterprise means ArcGIS Server and ArcGIS Portal. These technologies are from where spatial data is typically accessed. That could be from ArcGIS Pro, some Web GIS application or their web interfaces. The GIS Dictionary says a feature layer is a "layer that references a set of feature data". This is true but we are working within the context of ArcGIS Enterprise. This context pushes us to expand the word to denote its data storage. Feature Layer: The ArcGIS Enterprise documentation splits off into two basic types. Hosted feature layers are created when you publish a feature layer to ArcGIS Enterprise from ArcGIS Pro or from files in the portal. These layers are backed by data that is copied to a system-maintained data store. If Feature Layer is the abstract term for "layer that references a set of feature data" then what are the specific types? These include - Tile Layer, Scene Layer, 3D Tile Layer, Video Layer, Imagery Layer, Group Layer etc. And, to make matters more confusing, a Feature Layer is a type of Feature Layer. Think of the non-abstract Feature Layer as a feature class published to an enterprise. Feature layers—Portal for ArcGIS | Documentation for ArcGIS Enterprise Feature Service: Feature services allow you to serve feature data and nonspatial tables over the internet or your intranet. Think of a feature service as its REST components from ArcGIS Server or through the Portal's data store. A feature service is also defined as an ArcGIS Server feature layer mentioned above. Feature services—ArcGIS Server | Documentation for ArcGIS Enterprise Python API: The ArcGIS Python API allows one to access GIS data from ArcGIS Enterprise, file-based data such as file geodatabase feature classes and shapefiles. One can also work with OGC data, GeoJson and spatially enabled files like CSV and Excel sheets. When discussing the "feature" terms in the ArcGIS Python API context, we're dealing with Pythonic object types. When accessing data from ArcGIS Enterprise, there are typically three types of objects representing feature data. FeatureLayerCollection: A Feature Layer Collection is a representation of a Feature Service. A feature layer collection can have one or more feature layers within. FeatureLayerCollection: arcgis.features module | ArcGIS API for Python | Esri Developer FeatureLayer: Consider a feature layer a single item in a feature layer collection. A feature layer can also be accessed directly but it will only represent one GIS entity. FeatureLayer: arcgis.features module | ArcGIS API for Python | Esri Developer FeatureCollection: Ugh, I know. A FeatureCollection object is an in-memory collection of features. It is an object that has a layer definition and a FeatureSet. FeatureCollection: arcgis.features module | ArcGIS API for Python | Esri Developer FeatureSet / Feature: A feature set is collection of features. Think of a FeatureSet as a query with multiple results returned. A single result would be a feature. FeatureSet: arcgis.features module | ArcGIS API for Python | Esri Developer Feature: arcgis.features module | ArcGIS API for Python | Esri Developer So it looks like context matters. There are many concepts wrapped up in very similar sounding terms and many of those terms are used interchangeably. In my experience, it boils down to a feature is one entity, feature classes and feature layers are collections of similar features and collections are many feature layers in one collection. What are your thoughts? Have you ever run into confusing terminology in the GIS world?
... View more
12-03-2025
10:28 AM
|
6
|
2
|
836
|
|
POST
|
I can reproduce this issue when calling snap_to_line on the point with the line as the second geometry. The reverse is successful. Try snapping the point to the line. point_geom(line_geom) = GP error line_geom(point_geom) = Success (point geometry is returned) It looks like this is expected although the Python API documentation is somewhat confusing. The snapToLine method doc states that a point feature should be argument passed. """Geometry.snapToLine(in_point) Returns a new point based on in_point snapped to this geometry. in_point(PointGeometry): A point ( PointGeometry or Point ) to be snapped to the line."""
... View more
11-06-2025
09:02 AM
|
0
|
1
|
655
|
|
IDEA
|
According to the /extractChanges parameter list, the returnIdsOnly parameter is what triggers the sync/async response. The function does not have a dedicated async parameter like most other functions. Extract Changes (Feature Service) | ArcGIS REST APIs | Esri Developer Using return_ids_only should work when using the Python API as well. I will look into the reasoning behind adding the "async": True option in the Python API. I believe this is misleading and causing confusion.
... View more
11-03-2025
01:09 PM
|
0
|
0
|
428
|
|
POST
|
Can you try with the latest version of the Python API (2.4.2)? The `folder.add` method returns a `Job` object. The `Job` object has the `done` method to allow for polling of the upload status and the `result()` method to retrieve the `Item`. arcgis.gis module | ArcGIS API for Python | Esri Developer
... View more
10-27-2025
11:33 AM
|
1
|
6
|
1071
|
|
POST
|
Adding to the response from @Clubdebambos : This was fixed to allow for long url strings to be properly decoded in a GET request. The fix can be found in the 2.4.1.3 patch and the latest 2.4.2 release.
... View more
10-20-2025
06:25 PM
|
1
|
0
|
954
|
|
POST
|
@IsakL The documentation page will be updated with samples. The `ContentManger.folder.core.Job` class will have a result method. # Usage Example: Getting item resulting from a job
from arcgis.gis import GIS, ItemTypeEnum, ItemProperties
gis = GIS(profile="your_online_profile")
csv_file_path = "/path/to/your/data.csv"
new_data_item_job = gis_folder.add(
item_properties=ItemProperties(
title="new_source_csv_item",
item_type=ItemTypeEnum.CSV,
snippet="A new csv item.",
description="CSV data item added through a folder add.",
tags=["csv_item", "gis_data"]
),
file=csv_file_path
)
if not new_data_item_job.done():
print("... job processing...")
else:
csv_item = new_data_item_job.result()
csv_item
<Item title:"new_source_csv_item" type:CSV owner:online_data_owner>
... View more
08-25-2025
11:24 AM
|
0
|
1
|
2382
|
|
POST
|
Hi @IsakL You're right, the documentation is not accurate. This has been addressed and will be available in the next release. The server is returning a job and the Python API has begun taking advantage of that. The `folder.core.Job` object that is now being returned has the `result` method which will return the added `Item`. item_props = ItemProperties(
title="new_shapefile_item",
item_type=ItemTypeEnum.SHAPEFILE.value,
tags=["tag1"],
snippet="Demo item added from Python API",
)
add_job = folder.add(
item_properties=item_props, file=r"E:\data\some_lines.zip"
)
print(type(add_job))
print(add_job.result())
# >>> <class 'arcgis.gis._impl._content_manager.folder.core.Job'>
# >>> <Item title:"new_shapefile_item" type:Shapefile owner:my_username>
... View more
08-15-2025
10:35 AM
|
1
|
4
|
2660
|
|
POST
|
What version of Pro and Python API are you using? Some changes went in last August that help the API better manage version locking.
... View more
01-31-2025
03:32 PM
|
0
|
1
|
2810
|
|
POST
|
Give one or both of these a try: When using the Version object, use the context manager with the "read" argument, then set the mode to "edit" inside. This will help manage the starting and stopping of the edit session automatically. The initial "read" session will acquire shared locks on the version and "edit" will apply the exclusive locks. with version_mgr.get(version_name, "read") as version:
version.mode = "edit"
res = version.edit(fl, updates=edit_feature)
print(res) Usually (not always) the error "Object has no schema locks" means the edit session either didn't start or there is an old edit session still open. You are using purgeLock to fix that which is correct. The error "Cannot acquire a lock" means there is an open edit session. This is where the context manager should help. Upon exiting, it should stop any open read and/or edit sessions with that session ID. Alternatively, try using the edit_features method in the FeatureLayer object by passing in the version name string. fl.edit_features(updates=[edit_feature], gdb_version="owner.version_name") Editing Features | ArcGIS API for Python
... View more
01-31-2025
09:31 AM
|
0
|
1
|
2824
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 4 | 04-03-2026 04:46 PM | |
| 2 | 03-23-2026 02:22 PM | |
| 6 | 12-03-2025 10:28 AM | |
| 1 | 10-27-2025 11:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|