Tagged Questions
2
votes
1answer
51 views
Clipping buffers to census tracts
I have donut buffers generated to protect anonymity of household locations. They need to be clipped so that they are only inside the census tract that the original point was in. The code takes about 8 ...
4
votes
1answer
39 views
Arcpy error message: 'Layer' object is not subscriptable?
What the code does successfully so far, is gets a list of the layers in the first data frame of the current map. What it doesn't succeed in doing is, joining the layer names to the gdb location using ...
0
votes
0answers
39 views
Why does Clip analysis generate (some) empty output?
I am running a script that is working (see below) - it pulls a file from a folder, clips from that file based on an intersection with another file, and creates a new shapefile in a new folder. It has ...
3
votes
1answer
76 views
shapefile batch clip and merge combined
I have two shapefiles, one is polyline, the other polygon. For each polygon I would like to clip the polyline vectors inside. Using arcpy I already found part of a possible solution: ...
2
votes
1answer
125 views
ModelBuilder: Multiple Iterators and Clipping
I have two separate polygon layers. One layer consists of voronoi polygons. The second layer consists of buffers, many of which overlap.
I need to do is iterate through each voronoi, clip only the ...
1
vote
0answers
94 views
Clipping .mdb in place and schema locks
I have an .mdb with a feature class that I want to clip in place - that is, I want to clip it with another polygon, and then store the results back in the original .mdb. I am doing this with arcpy. My ...
2
votes
2answers
211 views
How to get an extent for Raster using python
I have to get an extent of a given raster so that I can save it and use the same to clip another raster with that extracted extent. As of now I am stuck in the extent part.
import arcpy
from arcpy ...
3
votes
1answer
451 views
How do I correctly use 'MultiValue' in Python script parameters?
Good evening
My script works fine with a single feature class selected for clip_fc = arcpy.GetParameter(0) .
However when I set clip_fc to MultiValue in the script properties and then select several ...
0
votes
1answer
313 views
Testing if shapefiles intersect from a list using intersect: ArcGIS
I am new to programming and scripting in general, so please bear with me. I have generated a list of the location of all the shapefiles for my workplace. The files are all placed in folders, no ...
4
votes
2answers
1k views
ArcGIS 10 Python script to search directories and subdirectories for intersects and clip them
I'm trying to develop a tool that queries our company's data stores for any data that intersects a feature. So when we acquire a new property we can run this tool and it will find all of the data we ...
4
votes
2answers
1k views
How to clip a vector feature to the extent of an existing raster dataset using arcpy
I have a clipped raster dataset with polylines (from the contour tool) overlayed (see attached). I am trying to clip the polylines to the extent of the raster dataset, which seems simple enough, but ...

