Skip to main content

Questions tagged [arcgis-python-api]

ArcGIS API for Python is a Python library for working with maps and geospatial data, powered by web GIS (ArcGIS Online, ArcGIS Enterprise portal).

0 votes
0 answers
17 views

We have an Standalone ArcGIS Server 10.9.1 environment. The objective is to fetch layer list within all services using arcpy or python API. I did found some help articles and stack results, but can't ...
Yogesh Chavan's user avatar
3 votes
1 answer
83 views

I'm trying to delete all features in a layer hosted in ArcGIS Online. from arcgis.gis import GIS from arcgis.features import FeatureLayer #Login AGOL gis = GIS("https://www.arcgis.com", &...
Bera's user avatar
  • 82.4k
1 vote
0 answers
34 views

It seems I cannot clip my raster using the ArcGIS Python API. I am trying to read the Elevation Imagery Layer from the ArcGIS Living Atlas and clip it by a Watershed area. I first imported the USGS ...
sBoroushaki's user avatar
0 votes
0 answers
31 views

My ultimate goal is pretty simple: I need to create a Story Map, add a web map to it, then save and publish it all from a python notebook. The documentation is unclear to me about how to accomplish ...
MJay's user avatar
  • 1
0 votes
1 answer
68 views

I have been asked to create field map smartforms from the hosted feature layer & webmap. Any example would be helpful! My code seems to be not working, it does not create Form element. from arcgis....
Rpandia31's user avatar
  • 141
0 votes
1 answer
69 views

ArcGIS Pro 3.1, Python 3.9 I'm using the ArcGIS Python API to connect to Portal (11.1) and AGOL to filter for deprecated items. According this reference doc, Item Fields can be passed to the query ...
sushi's user avatar
  • 405
1 vote
0 answers
41 views

This tutorial shows how to easily download an item from an ESRI portal using the Python API. Can you open the item just downloaded in a different, offline, Python environment that doesn't have access ...
jgm_GIS's user avatar
  • 670
0 votes
0 answers
45 views

I'm trying to get labels working in my Jupyter notebook map, and I've tried everything I can think of. Here's my code: from arcgis.geometry import Point from arcgis.features import Feature, FeatureSet,...
Brian's user avatar
  • 1
0 votes
2 answers
116 views

ArcGIS Pro 3.1.4 Python 3.9 API version is 2.1.0.2 When I log into ArcGIS Online with an account that has a custom role with a few administrative privileges, I can share / unshare items owned by ...
sushi's user avatar
  • 405
1 vote
1 answer
59 views

I'm connecting to Portal via the GIS object. from arcgis.gis import GIS portal = GIS(<my portal>) print(portal.version) # gives [10,3] But my portal is at version 11.1. That's what the Portal ...
sushi's user avatar
  • 405
0 votes
1 answer
388 views

I am trying to use the REST API from ArcGIS Online to refresh or overwrite a feature service. I am using Python to upload an item using the addItem operation: upload_url = ( f"{portal}/...
pzman's user avatar
  • 154
0 votes
0 answers
38 views

I have a simple piece of code which I'm hoping I might be able to get a solution to. It specifically pulls usage for an item for the last 7 days or whatever desired date range. It appears to work fine ...
Ian's user avatar
  • 528
1 vote
1 answer
66 views

Python: 3.9 ArcGIS API for Python: 2.3.0.1 I am accessing a Feature Layer from the Living Atlas using the ArcGIS API for Python. I convert it to a sdf with the column 'SHAPE' as the geometry. How do I ...
ZephyrZ's user avatar
  • 113
0 votes
2 answers
152 views

We publish most of our ArcGIS Online (AGOL) content from ArcGIS Pro, with the original data stored in local file Geodatabases. However, we have some layers that exist only in AGOL (eg, Survey123 ...
Son of a Beach's user avatar
-1 votes
1 answer
194 views

I want to launch the Python tool, which is available here: https://github.com/Esri/field-maps-scripts but unfortunately there is no arcgis library I tried several ways of installing this script: ...
Geographos's user avatar
  • 3,061

15 30 50 per page
1
2 3 4 5
13