Trending

#Arcpy

Latest posts tagged with #Arcpy on Bluesky

Latest Top
Trending

Posts tagged #Arcpy

ArcPy SaveToLayerFile Fails – ArcGIS Pro 3.5.2 / Python 3.11.11 I'm running a Python script on a local server that functions as a web service. The script receives a text file containing a list of parcel identifiers and uses ArcPy (Python 3.11.11) within ArcGIS Pro 3.5.2 to generate geospatial images for each parcel. The images are derived from raster datasets (R...

#python #arcpy

0 0 0 0
File lock on file geodatabase when running arcpy in command line Hi I am running a script in the command line with the hope of sending it to task scheduler at some point. I'm getting a lock error when I try to zip a file geodatabase. I don't get this error when I run the script directly within arcpro's notebook. Is there any solution for this and a explanation of...

#arcpro #arcpy

1 0 0 0
Preview
Enabling Sync via Arcgis python code I want to enable sync in the webmap ! My workflow is : 1. Create a zip of a gdb 2. Upload the zip 3. Extract and create the hosted feature layers 4. Enable Editor tracking on hosted feature layer 5. enable sync in the hosted feature layer 6. Create a Webmap 7. Add hosted layers to the webmap 5. enab...

#arcpy #arcgisapiforpython

0 0 0 0
PyCharm environment broke access to arcpy... help?! I seem to have broken arcpy by setting up an "environment" in a certain way in PyCharm.  Can anyone help me fix this, without having to uninstall and reinstall ArcGIS Pro?  (Reinstalling would mean I'd have to re-do a bunch of other settings on this machine.) I know this documentation exists about s...

#pycharm #arcpy

0 0 0 0
Delete and Update operations in sequence to be followed Hi,   I have been trying to select a number of features, delete some of them and update the rest. Like edit = arcpy.da.Editor(workspace)   edit.startEditing(with_undo=True, multiuser_mode=False) arcpy.AddMessage("Edit Session Started") logging.info(f"Edit Session Started in : {workspace}") try: fo...

#cursors #arcpy

0 0 0 0
Replica is being offset by 3.3 feet from Child to Parent Database when replicating using arcpy.management.SynchronizeChanges Replica is being offset by 3.3 feet from Child to Parent Database when replicating using arcpy.management.SynchronizeChanges (arcpy version 2.3.0) in a standalone python script running version 3.11.8.  We do not have an offset when running corresponding built-in geoprocessing tools from within ArcGI...

#replica #arcpy

0 0 0 0
Error 00068: Script contains broken project data source while publishing script tool as GP Service Hello Community,  We have a script tool which takes image service and a polygon id as input and takes a screenshot. The script works fine when we run in ArcGIS Pro however, when trying to share it as a webtool in the analyze following error is returned 000068 script contains broken project data sour...

#arcpy #arcgispro

0 0 0 0
ArcPy lacks the bookmark functionality of ArcObjects ArcGIS Pro (ArcPy) does not have the equivalent way to modify bookmarks dynamically that ArcObjects had. It gave us the ability to iterate through bookmarks and modify their extents, or create named bookmarks with a specific extent, for example. While you can manage something similar using a map ser...

#bookmarks #arcpy

0 0 0 0
"If not Null and not empty string" paradox - help me figure it out? Hello, I am adding something to a script I wrote a few years ago, and in the process, I happened to notice some logic in the script that I would think is wrong, yet it works as desired.  This is breaking my brain!  While it is apparently not an actual problem, I would love some help in understanding...

#cursor #arcpy

0 0 0 0
Map Automation - Seeking Scripting Solution for Opening an APRX from Python IDLE ArcGIS Pro 3.4.3 Hello! I am developing a Python script that is intended to be run outside of an ArcGIS Pro session (e.g., from Python IDLE). The script copies an APRX to a different folder & renames it. It contains seven template layouts, each of which are renamed by the script per customer require...

#pythonscripting #arcpy

0 0 0 0
Preview
Arcpy Condition on Green Band of Raster Dataset There is a multi-band raster dataset, IN_RASTER, split into four bands of RGB and an alpha band. A script tool is written to pull out the green band of IN_RASTER, and run Conditional on it to return a raster of 0 for all cells where the input is outside of a given range. A range of values for the gr...

#arcgispro #arcpy

0 0 0 0
Post image Post image Post image

I was adding the avg z to the hex map, but then I thought…I wonder what it would look like if I wrote an ArcPy script to randomly distribute random sized overlapping squares over the US and give each of those the z mean of the area they fall over.

#arcgispro #arcpy #b3d

23 4 2 1
Manipulating raster values in ESRI GRID files with ArcPy Hi GISers, I have an interpolated raster product stored in ESRI GRID format. The interpolation technique left some residual values below zero, but for the product in question (estimated abundance data) those values do not make sense. I want to convert them to zero. There are a bit fewer than 100 ras...

#Analysis #arcpy

0 0 0 0
Polyline in the wrong location with Arcpy and InsertCursor Hello, I experience issues in creating a polyline from the coordinates using arcpy. I am getting the data from the WFS server, truncating the table in my local geodatabase and inserting the data from the WFS server into the local geodatabase. We do not need to edit the data, just viewing and creatin...

#arcpy #polyline

0 0 0 0
Updating Features on a Versioned Feature Service Hello everyone, I’ve been trying to update some field values in a specific feature class accessed through a versioned feature service. However, despite being connected to my version, I’ve noticed that my updates always seem to affect the default version rather than my own. So far, the changes I’ve n...

#versioning #arcpy

0 0 0 0

It is incredible what sleeping on your code problems will do. Sure, I'm having #ArcPy loop dreams; but when I wake up I know exactly what to do. #ArcGIS

1 0 0 0
Post image

In 1 week, #Esri Training webinar: #Python 101 for #ArcGIS tinyurl.com/m9bu5vdv

#Arcpy #scripting #developers #esridev #geodev #GIS #mapping #maps #GISchat #geospatial #TheScienceOfWhere #spatial #analysis #geosky

8 4 0 0
Post image

In 1 week, #EsriUK webinar: Understanding what’s possible with #Python in #ArcGIS tinyurl.com/52yzxma7

#Arcpy #scripting #developers #esridev #geodev #GIS #esri #mapping #maps #GISchat #geospatial #geosky

10 2 0 0
Post image

In 1 week, #Esri Training webinar: #Python Tips & Tricks for #ArcGIS rb.gy/97u42y

#Arcpy #scripting #developers #esridev #geodev #bestpractices #WebGIS #GIS #mapping #maps #GISchat #geospatial #TheScienceOfWhere #geosky

1 0 1 0

Testing #ArcPy #python toolboxes is difficult. Certain objects can't have their dependencies injected if they depend on the data frame.

0 0 0 0

You know, if #arcpy had more useful error messages than "Error executing function", I might find the problem faster. Just a thought. #gis

0 0 0 0

Wrote a performance enhancement to an #ArcPy toolbox. Restarted ArcMap to prepare test run. All licenses are now in use. >_<

0 0 0 0

When you set .visible=False on an #arcpy layer object in a toolbox, it helpfully discards this info if the layer is an output param.

0 0 0 0

Attempting to use sane development patterns while writing toolboxes under #arcpy is arcpy.mapping.ListLayers('hell')[7].

0 0 0 0

It might be more fun to write #arcpy tools if `import arcpy` didn't spend twenty seconds verifying your license. Every. Single. Time.

0 0 0 0

I don't always spend two days debugging an #arcpy toolbox...Oh, wait, yes I do.

0 0 0 0

Good web meeting today. (Such a thing exists!) Demoed progress re-implementing an old #ArcObjects tool in #ArcPy. Stakeholders seem happy!

0 0 0 0
Esri Newsroom | Publications, Press Coverage & Videos Explore thought-provoking stories and articles about loca...

RT @esri Interested in map automation with #Python? Here are some resources to get you started: http://ow.ly/6M9Jy #Esri #ArcPy #GIS

0 0 0 0