All Questions
90
questions
1
vote
1
answer
44
views
Check to make sure layers overlap before clipping - Python script
I'm trying to clip the above raster dataset to each of the ecoregions (outlined in black) in this state with a Python script. I have a function in my script that does this without a problem when the ...
0
votes
1
answer
221
views
Name output feature classes with feature names with ArcPy
I would like to have my output feature classes take on the name of the input features list that I am looping through. Example output FEMA_Clip_09302022
The code below is currently creating output ...
0
votes
1
answer
284
views
Using selection from multivalue input to perform clip with ArcPy
I am trying to build a script tool for my job that takes any vector feature (roads, rails, land cover, water polygons etc) and clips it to selected geocells. The geocells are one feature with a field (...
1
vote
1
answer
123
views
Grabbing SHAPE@ token with index for clipping raster using ArcPy with ArcGIS Pro
I have written code that selects rows of a buffer shapefile based on that file's intersection with a polygon that represents the extent of a raster. In the photo below, the code selects all of the red ...
-1
votes
1
answer
190
views
Using Clip function through ArcPy gives ERROR 000725 [closed]
I am having trouble running a clip function with arcpy based on this tutorial.
I run the code below and get an error message:
import arcpy
arcpy.env.workspace = "C:\\Users\\dresc\\Desktop\\...
0
votes
1
answer
328
views
Clipping multiple shapefiles using ArcPy
I am fairly new to Python.
I created a folder with 4999 bufferfiles. Specifically, there 5km radius buffer circles, and I am trying to use the clip function with the already made bufferfiles to clip ...
0
votes
1
answer
301
views
Batch clipping all files in folder and then save using ArcPy
I'm trying to use a script to batch clip all files in a folder, then saved with a _clipped.shp at the end of the original, I need a script that is something like this:
arcpy.env.workspace = "E:\\...
0
votes
0
answers
397
views
Making clip raster work faster in ArcPy
I am using ArcPy to clip from a huge raster (about 100.000km²) a smaller part (about 20.000m²) based on the extent of a input polygon.
Running the analysis takes forever and although I let it run for ...
0
votes
2
answers
173
views
Clipping using ArcPy gives ERROR 000732
I have 30 shapefiles, each of which I want to be clipped with another 3850 shapefiles (contain only one polygon). I know I need a loop in Python and use ArcPy. But I'm very new to Python.
Here's my ...
1
vote
1
answer
1k
views
Clipping by looping through list using ArcPy
I'm having trouble creating a looping function that looks through a geodatabase, clips each feature class to a "study_area" polygon, and puts the clipped files in a separate geodatabase. I ...
0
votes
0
answers
428
views
ERROR 000582 from clip processes in ArcPy
Durring execution of clip in arcpy, an error has occurred. It is showing ExecuteError: ERROR 000582: Error occurred during execution.
import arcpy
arcpy.env.workspace = (r"L:\\Arcpy\\Data\\...
1
vote
1
answer
314
views
Clip raster data by multiple shapefile in ArcPy using Clip data management tool
I have one raster data of a state and also I have 14 shapefile in same area. Now I want to clip 14 shapefile in arcpy using for loop. The issue is when I run the script its showing TypeError:'NoneType'...
0
votes
1
answer
1k
views
ArcPy Clip Raster ERROR 000964: Specified extent is invalid
I am trying to write an ArcGIS script, however, I can't seem to get Clip Raster to cooperate. This is what I have so far:
import arcpy, math
if __name__ == '__main__':
inDEM = arcpy....
0
votes
1
answer
427
views
ERROR 999999 during clip, Coordinates or Measures are out of bounds
The Code it occurs on each of the following interchangable lines that I have tried:
arcpy.Clip_analysis(dvof_input, feature_name, rwy_dvof_output_prefix + row['LOW_IDENT'] + rwy_dvof_output_suffix, ""...
0
votes
1
answer
284
views
Clipping raster in Python with ArcPy and GDAL using coordinates
I am having trouble clipping a raster with GDAL. I have the coordinates of the bounding box I would like to clip to. There is no error but also no output file is being saved. Could it have to do with ...