Skip to main content

Questions tagged [arcpy]

ArcPy is a Python module for interacting with ArcGIS tools. The module was developed by Esri, the company that makes ArcGIS. ArcPy offers a high-level implementation of Esri's ArcObjects programming library. The best place to ask about ArcPy is the Geographic Information Systems sister site.

-1 votes
0 answers
43 views

I have the following ArcPy code, which I need to run on very large datasets. Are there any suggestions for making it run faster? It's taking upwards of an hour and half to run the section I posted ...
bskaf's user avatar
  • 1
2 votes
1 answer
38 views

I am using Python 3.8 with ArcGIS Pro 2.5. This code creates a joined table where I match values for plant greenness in the current month with rainfall X number of months into the past. Each loop ...
user5858's user avatar
  • 121
6 votes
1 answer
206 views

I have created a wrapper for displaying messages with ArcPy and IDLE (as that is all I have available to myself due to certain circumstances) as I frequently use both to test and develop new tools. ...
user avatar
2 votes
0 answers
153 views

I have the following function and code snippet to extract cell values for multiple years, format it, and save to a list. Each raster has 365 bands — one for each day. A separate operation is performed ...
Ibe's user avatar
  • 121
3 votes
0 answers
136 views

I am running a script to identify polygons that overlap with other polygons within the same layer. I have managed to do this with the code below but the problem is that it is very slow (about 3 ...
Bhekani Khumalo's user avatar
5 votes
3 answers
443 views

The script below uses an ArcPy package which helps to create buffer of the impact around a location where a blast occurs(user entered), intersects with building footprint which is the point of ...
Viv's user avatar
  • 173
5 votes
1 answer
186 views

Background My project is a Python toolbox. This is my first bigger coding project and it took me quite some time to code this toolbox. I learned a lot from the start point to this day. I changed this ...
JuniorPythonNewbie's user avatar
3 votes
1 answer
423 views

I have written code using Python for Fully Constrained Least Squares (FCLS) Linear Spectral Mixture Analysis which could be applied for unmixing multispectral image successfully. However, the ...
qiangqiang sun's user avatar
2 votes
1 answer
148 views

I'm working to produce a lookup table using the Arcpy module that contains descriptive statistics for US National Parks. The original data, found in tbl, has 12 ...
Jason Matney's user avatar
2 votes
1 answer
147 views

This script creates a an Access table that my boss uses for making a report in Access. The data comes from a comparison of data in more than a few tables in Arcmaps. Right now this script works in an ...
user avatar
1 vote
1 answer
404 views

I have files in subfolders on a network drive. I want to create a list of files, and insert that list into an Oracle table. I can successfully iterate through the files in the subfolders and do the ...
User1974's user avatar
  • 218
2 votes
1 answer
132 views

I wrote some code that uses the arcpy module to read from some tables and checks to see if those values are in another table then if they aren't it writes them to a txt document. I made a change so I ...
user avatar
4 votes
0 answers
374 views

I've written the following using Python Dictionaries and Pathlib Module. I'd like to improve the first function: list_landsat_bands. I've created a list of file patterns to match, which I then use ...
Peter Wilson's user avatar
7 votes
1 answer
273 views

I am working on a project on how climate change may affect the development of spruce budworm larvae throughout each year (historical and projected) using different climate change models and emission ...
bobby12345's user avatar
2 votes
1 answer
443 views

My script goes through sub folders in my main directory and based on a wildcard checks if a tiff file exists or not, if it exists then the file path is appended to the corresponding list. For example, ...
cpt_python's user avatar

15 30 50 per page