arcgis-python-api
arcgis-python-api copied to clipboard
Documentation and samples for ArcGIS API for Python
I want to use notebook tasks to integrate ArcGIS Enterprise with other non-GIS systems, but I’m encountering challenges when they use security to determine access. A notebook task runs as...
The method survey123.SurveyManager.create() takes > 6 min to run. The issue is in the self._gis.content.folders.get() method. We have >500 folders and it does an API call for every folder. A...
The method `FeatureLayerCollectionManager.create_view()` crashes for `FeatureLayerCollections` with multiple layers in version 2.4.0. I checked this for a feature service with only one layer and then the function worked fine. The...
## Describe the bug Even after patching the known bugs in the `APIKey.update()` method (the "priveleges" typo and URL formatting issues noted in Issue #2232), item access privileges (`portal:app:access:item:*`) still...
## Describe the bug The `APIKeyManager.create()` method has two issues: 1. When attempting to create an API key with item access privileges (`portal:app:access:item:*`), the request fails with a server 500...
## Describe the bug The `APIKeyManager.get()` method and `keys` property don't correctly retrieve existing API keys, despite documentation suggesting these should return valid API keys. The API keys exist and...
`arcgis.geometry.Geometry.as_shapely` does not return expected `shapely` geometry for multipolygon
**Describe the bug** [`arcgis.geometry.Geometry.as_shapely`](https://developers.arcgis.com/python/latest/api-reference/arcgis.geometry.html#arcgis.geometry.Geometry.as_shapely) does not return expected `shapely` geometry for multipolygon. **To Reproduce** Steps to reproduce the behavior: ```python import shapely from arcgis.features FeatureSet # Multipolygon with hole GeoJSON...
**Describe the bug** When calling [remap_data](https://developers.arcgis.com/python/latest/guide/cloning-complex-apps/#remap_data) I get an error. Both the src and target IDs that are failing exist in the target portal. Example w failed IDs: `webmap[0].remap_data({'55e1aa9e034a41c5a7f05c6077ce14e5':'e6d17cef0f21497da6adccac3736bbec'}) `...
**Describe the bug** When using `.admin.license.all()` or `.admin.license.get()` the following warning is displayed before the API returns the requested information: ``` 'listing' not licensed by user (Error Code: 400) not...
**Describe the bug** Trying to clone a dashboard. Returns an error message: Dashboard is not versioned and cannot be cloned. What does this mean? How can a dashboard be versioned?...