Skip navigation
All Places >

ArcGIS API for Python

Log in to follow, share, and participate in this socialgroup.

Recent Activity

Hi,          I have an enterprise arcgis pro account. I am trying to create a map with few layers inside them using python. I followed this link: Is it possible to use the ArcGIS Online Python API if my organziation is using a federated login?  I was able to pass my enterprise_link, username, password and client id as a parameter. But is still… (Show more)
in ArcGIS API for Python
when I use this sharing_draft = m.getWebLayerSharingDraft("FEDERATED_SERVER", "MAP_IMAGE", service) I get an error missing target server.    I'e signed in using my /portal url and my federated server is on a /server GIS site url. There is no-where to tell it the name of the target sever or url   thoughts? Trying to publish a Pro project file as… (Show more)
in ArcGIS API for Python
Subject: setting and updating the symbology for a hosted feature layer created from a zipped FGDB.    Background: I uploaded a zipped FGDB to AGOL and created a hosted feature layer from it. In the visualization tab of that hosted feature layer, I can manually set the symbology and save the layer. When I look at the description or data for the… (Show more)
in ArcGIS API for Python
Hello,   I am trying to export a layer into a CSV file from a quertied ArcGIs Online layer, and then delete those same features afterwards. My code is as follows:   import arcgis from arcgis.gis import GIS gis = GIS("", "User", "Password") from arcgis.gis import * import os icy_conditions =… (Show more)
in ArcGIS API for Python
Click to view contentI'm trying to use python to create a custom pop-up attribute expression in an ArcGIS Online Web Map, but I'm running into some issues.  Here is the python code I am running in an ArcGIS Pro Notebook: import arcgis #Connect to ArcGIS Online using active portal in ArcGIS Pro gis = arcgis.gis.GIS("pro") #Get web map, and create a custom attribute… (Show more)
in ArcGIS API for Python
I am running into an issue when trying to publish our Geoprocessing tool as a Web Tool to our portal.   I created the simplest script, to recreate the issue:   from arcgis.gis import GIS import arcpy gis = GIS(url="", username='geop', password='****') fv = arcpy.GetParameterAsText(0) if fv=="":     fv = 'DEFAULT'… (Show more)
in ArcGIS API for Python
Jupyter kernel always restarts when training PointCNN model.Maybe cased by large IO requests,I don't know.Has anyone meets the same issue?   Platform (please complete the following information): OS: [centos] Browser [chrome] Python API Version [1.8]    
in ArcGIS API for Python
Morning All   I want to download the Covid19 Daily Cases data from here  I have tried this way.   1. ESRI DUMPER - Works but then I have difficulty converting the ESRI geojson to something that is usable in a DataBase.   Any… (Show more)
in ArcGIS API for Python
Click to view contentI am hoping to run a script that can hide certain fields from an ArcGIS Online web map.  In ArcGIS Online, I would accomplish this by opening a webmap, clicking the three dots of the layer I was interested in, selecting "configure pop-up" then selecting "Configure Attribute".  Finally from there I can edit the display options in the GUI shown… (Show more)
in ArcGIS API for Python
Click to view contentIm Having trouble adding my assignments from a feature class for ESRI workforce if anybody can give a little help i would appreciate it a lot. Here are the codes I am using I am still new to python so i am just using  tell me where I am going wrong i would love the help  The first part is working But when i go to add assignments I am getting… (Show more)
in ArcGIS API for Python
Load more items