
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, 9 months ago Modified 4 years, 9 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 arrays and …
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, "how …
arcpy - Geographic Information Systems Stack Exchange
Dec 8, 2022 · arcpy.env.workspace=fgdb However, I am not sure how I can select one of the layers in the map, named "High Injury Network", and how to add a field and then create a score using other …
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, which …
arcgis desktop - Using field mapping with ArcPy - Geographic ...
The arcpy.Append_management() function with a 'NO_TEST' argument, will automatically map any fields with matching field names (where possible). PS: The field mappings object returned by this …
arcpy - ArcGIS Pro Runtime Error: the product license has not been ...
Sep 28, 2022 · The first thing that comes to mind is to check whether the user/account running the script still has a Named User license assigned in either AGOL or Enterprise.
arcpy - Listing all Feature datasets and feature classes from single ...
1 Code sample revisited below. Just move the arcpy.ListFeatureClasses out of the look and the code will run successfully. datasetList = arcpy.ListDatasets('*','Feature') fcList = arcpy.ListFeatureClasses() for …
arcpy - Verifying if field name in a feature class exists - Geographic ...
Dec 8, 2022 · I need to create a module to call to determine (true/false) if a field name in a feature class exists. My code works fine but returns a true or false for each field name, where I just need one true...