
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, 8 months ago Modified 4 years, 8 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 …
arcpy - ERROR 000732 - Dataset * does not exist or is not …
Dec 21, 2021 · My main goal is to export a layer from ArcMap as a shapefile and upload it to AGOL. However, I am stuck at this intersection. All my scripts work in the python console …
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 - Trying to use Python to copy feature datasets with many …
Sep 27, 2022 · I'm trying to write a basic script that will take all the feature classes in every feature dataset in an enterprise geodatabase and copy to a file geodatabase. import arcpy from arcpy …
arcpy - Use updateConnectionProperties to change to new data …
Jun 29, 2021 · Very nice workaround. However your function didn't work for me when I was changing feature class data source between different datasets in different gdbs (i.e. updating …
arcpy - Setting output raster bit depth using more efficient …
Aug 5, 2024 · I am looking to see if anyone has a more efficient method of setting bit depth for my output rasters than what I am currently doing. I am using ArcPy in ArcGIS Pro's notebook to …
arcpy - Is it possible select a field if it contains specific text in ...
Dec 22, 2023 · Regarding the question, "Is it possible [to] select a field if it contains specific text in ArcGIS?" The short answer is "yes," while the longer answer is to a slightly different question, …