#ArcPy
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
April 18, 2025 at 1:46 PM
tbh i like arcpy because it allows me to minimize exposure to the arcgis pro user interface
August 8, 2024 at 9:16 PM
October 17, 2024 at 8:01 PM
ArcGIS ArcPy used Python 2.7 which Python discontinued several years ago. Whenever I followed a traceback in Python to where my Python scripts failed, it was ALWAYS in ArcPy. Esri's ArcPy Python code would give Guido van Rossum nightmares. It always failed Pylint with NEGATIVE numbers. #GISchat
October 22, 2025 at 9:41 PM
God fucking damn it ArcPy, let me output multiple feature classes to the scratch geodatabase you fumble-fingered piece of garbage
April 15, 2025 at 2:26 AM
how did the algo connect me to folks talkin bout arcpy 👀
August 8, 2024 at 10:50 PM
May 14, 2026 at 1:33 PM
current meta at work is use Codex to create bespoke map applications for a task, simplified and specialized, don’t touch Arc Pro for editing, bundle operations in ArcPy scripts

Dozen edits/week —> 10k+/week
June 12, 2026 at 12:31 PM
The proper syntax for Search Cursors in arcpy.
December 4, 2024 at 6:32 PM
if you’re not producing user-friendly arcpy geoprocessing tools for public-facing web apps you’re a GIS fraud. you should also just give up now if you don’t know what strahler order is
June 30, 2026 at 9:35 PM
Using field mapping with ArcPy
I'm having trouble trying to understand how field mapping works in ArcPy. I'm relatively new to Python. In the below example, I want to take a shapefile and append it to a feature class but I want to use the field map parameter so the fields from the shapefile go to the correct field names in the feature class. I successfully built this out in ModelBuilder and exported the Python script (see below) but so much of it doesn't make sense. For example, what are all these different codes... -1, 0, #, true, false, etc? There seems to be no documentation anywhere online on the meaning behind these codes. I read that I can use the fieldmapping() class as a parameter in this script but have been unable to incorporate that? If you know a much easier way (via python) to field map then using the above methods, I'm open to those suggestions. The code below is only a simple test that I created, so I can hopefully understand field mapping better but in the long run I want to this to be able to handle a LOT of fields from many different shapefiles. Source shapefile schema: Name, Code, Date Target feature class schema: Description, Num, Date # Import arcpy module import arcpy # Local variables: New_Shapefile_shp = "C:\\New_Shapefile.shp" New_Featureclass__2_ = New_Shapefile_shp New_Featureclass = "C:\\Target.gdb\\New_Featureclass" # Process: Append arcpy.Append_management("C:\\New_Shapefile.shp", New_Featureclass, "NO_TEST", "DESCRIPTION \"DESCRIPTION\" true true false 150 Text 0 0 ,First,#,C:\\New_Shapefile.shp,Name,-1,-1;NUM \"NUM\" true true false 4 Long 0 0 ,First,#,C:\\New_Shapefile.shp,Code,-1,-1;DATE \"DATE\" true true false 8 Date 0 0 ,First,#,C:\\New_Shapefile.shp,Date,-1,-1", "")
gis.stackexchange.com
September 24, 2026 at 12:20 AM
היתרון היחיד של אסרי הוא יבוא של קבצי cad.
אני כותב קבוע סקריפטים עם arcpy וזה נוראי
April 29, 2025 at 6:36 AM
April 21, 2026 at 1:13 PM
Confirmed that you can in fact install arcpy with pixi, and I guarantee it's faster than conda.
July 20, 2026 at 12:39 AM
Arcpy 😬
December 30, 2024 at 5:33 PM
Use CC inside the ArcGIS conda env to give it access to arcpy etc. hook up to Postgres, oracle sde to query, etc
April 17, 2026 at 3:15 PM
What is up #Gischat I got 10 years in GEOINT with my last role in the USFS modernizing python scripts to pay/arcpy 3 among a bunch of other neat stuff such as fire fighting maps and canopy maps

I have a passion for accessibility and metadata and I treat legacy data and systems like a dungeon crawl.
November 27, 2024 at 3:29 PM
Boo ArcPy boo
August 8, 2024 at 9:12 PM
I always struggle with the ArcPy-python situation. Most arcpy resources I've found assume you have a certain level of programming knowledge and most python programs don't address Arcpy. I've tried Python programs but I only program for GIS so it doesn't always stick well. Idk if this is relatable
January 15, 2025 at 10:04 PM
Unless…

You are already using open-source. I've said that time and again to various audiences. The most committed Microsoft and Esri users will immediately balk, but it's easy to knock the objections down. Azure? Linux abounds. Esri? GDAL under the hood. And what does the "Py" in ArcPy stand for?…
Unless…
You are already using open-source. I've said that time and again to various audiences. The most committed Microsoft and Esri users will immediately balk, but it's easy to knock the objections down. Azure? Linux abounds. Esri? GDAL under the hood. And what does the "Py" in ArcPy stand for? Oh yeah, Python, the open-source programming language. You're already using open-source, even if you don't know it.
blog.geomusings.com
October 16, 2025 at 4:04 PM
I generated daily normals for each station based on their monthly averages using a cubic spine. Then I used a Python script using the arcpy library (ArcGIS) to create a daily surface and export each daily image.
November 11, 2024 at 8:16 PM
Writing ArcPy and realizing that having \n in a filepath creates a new line during parsing, which means you have to rename all files to not start with "n" because who decided filenames contained within quotes should be parsed that way???
October 7, 2025 at 2:14 AM