
arcpy - Calculate area within Python script in ArcMap - Geographic ...
I am trying to calculate the area of a polygon within my Python script. I create a new polygon from merging two together, and I'd like to add the area of the resulting polygon to a field in the out...
Calculating distance between two points using ArcPy
Mar 24, 2021 · Calculating distance between two points using ArcPy Ask Question Asked 4 years, 7 months ago Modified 4 years, 7 months ago
arcpy - Clearing cache memory using python? - Geographic …
Mar 25, 2016 · A couple of tips that might help: Don't use the ArcGIS numpy module - it's rubbish to say the least. Instead use the open source netCDF4 library to read the data into numpy …
Finding if field has empty records using ArcPy
Sep 15, 2020 · I am trying to iterate all fields in a feature class/shape file to check for empty values. If there are empty records in any field, I would like to print that field. I know Python a …
editing - Using arcpy.da.Editor correctly? - Geographic Information ...
At the end of my script I have the code block below; I haven't implemented it yet, but would like to see if this is the correct way to use arcpy.da.Editor as the errors that I have been receiving are …
arcpy - Output not overwritten despite "overwriteOutput = True ...
Sep 10, 2016 · As I understand it, overwriteOutput is an environment setting that controls whether an output overwrites an existing file of a duplicate name. Just re-checked the help pages, …
arcpy - Exporting selected layouts in ArcGIS Pro - Geographic ...
Aug 9, 2021 · figFolder = arcpy.GetParameterAsText(0) lstValueObj= arcpy.GetParameter(1) # The parameter was set to Multiple Values of Layout so it returns a list for vo in lstValueObj:
arcpy - Ways to Speed Up Python Scripts Running As ArcGIS Tools ...
This is a pretty general question. I just wondering what tips and tricks GIS programmers have used to speed up arcpy scripts that you import into the toolbox and run. I work most everyday …
arcpy - Getting list of all data sources used in ArcGIS Pro project ...
Feb 10, 2023 · Is there a way to generate (or access) a list of all data sources used in a ArcGIS Pro project? I would like to avoid going through each layer's property dialog.
arcpy - How does one access a featurelayer in SDE via Python ...
I am trying to use Arcpy to run the CopyFeatures_management script so that I can copy a featurelayer in SDE. What do I use for the input (and output, for that matter, since I'll be …