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).
Replacing ArcPy with ArcGIS API for Python?
Today I found out about the ArcGIS API for Python. I was wondering if you could use this to (eventually) replace ArcPy? Recently I have been doing analyses that require cloud based solutions. When ...
Copying feature service to local geodatabase using ArcPy and ArcGIS API for Python?
I am trying to export/copy a feature service to a local geodatabase where I can work on it locally. I have provided the code below. I keep getting an "Object: Error in executing tool" for the last ...
Using Geometry.distance_to() in ArcGIS API for Python
I'm calculating distances between points in arcpy or ArcGIS API for Python, and am probably doing something wrong. Hopefully, someone can show me what. Take this as an interactive session with ...
How to update a hosted feature service on ArcGIS Online using the Python API for ArcGIS Pro?
I'm trying to follow the steps in the Esri blog post Updating your hosted feature services with ArcGIS Pro and the ArcGIS API for Python but am running into an error. To test this I published a ...
Installing ArcGIS Python API with ArcGIS Pro
I am new to the world of ArcGIS and I come from a data science background. I recently installed ArcGIS Pro with a Single User license from my organization. I would like to use it with the Python API ...
Using ArcPy and ArcGIS API for Python together?
I am having trouble with how I am supposed to use both ArcPy and ArcGIS API for Python. ArcPy is only in Python 2 and ArcGIS API for Python is in ArcGIS Pro and is Python 3. I don't know how to set my ...
TypeError: cannot unpack non-iterable NoneType object on Spatial Join
I'm working with two spatial dataframes and am trying to do a spatial join on the two. parcels_sdf -- a frame with around ~370,000 real estate parcels. subdivisions_sdf -- a frame with all ...
Adding data using Python from ArcGIS Online/ArcGIS REST Services directory to a ArcMap MXD
I want to update over 100 MXDs by adding 4/5 ArcGIS Online/ArcGIS REST Services directory layers. I am unsure whether this is possible using Python and can only find documentation on how to access ...
Using 3rd party PASCAL_VOC in arcgis.learn prepare_data() method
Has anyone had luck using the prepare_data method with data not exported from the Export Training Data tool in ArcGIS Pro? The documentation suggests prepare_data will take PASCAL_VOC_rectangles from ...
Does ArcGIS API for Python use ArcPy internally?
Today I read a GIS SE user opinion in Using Geometry.distance_to() in ArcGIS API for Python that: it appears that ArcGIS API for Python uses ArcPy internally This surprised me because I do not ...
Publish CSV to Enterprise Portal as table
I'm following this help doc. https://geosaurus.maps.arcgis.com/home/item.html?id=a1db6db172bc49a8932daacc2ed3d3ac#preview I'm able to add the CSV to the Portal, but I cannot get it to publish. I need ...