
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 - 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 - 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 …
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, …
arcpy - Listing all feature classes in File Geodatabase, including ...
From python how can I build a list of all feature classes in a file geodatabase (*.gdb), including inside feature datasets? The standard example only lists feature classes at the top level of the
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 …
arcpy - Turning off layer visibility in ArcGIS Pro with Python ...
Nov 30, 2023 · Start asking to get answers Find the answer to your question by asking. Ask question arcpy arcgis-pro layers visibility
What is proper way to get multiple fields from da.SearchCursor?
Jun 2, 2020 · Ultimately trying to avoid stringing arcpy functions and saving features by compiling an idx/OBJECTID list for selecting features from feature layer when all is done.
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 = …