Clip Raster based on Shp with same name

Discussion created by steven_3535 on Jul 18, 2016
Latest reply on Jul 19, 2016 by steven_3535

Does anyone know of a script that will iterate rasters and grab its associated shapefile (same name as raster) and clip using the two inputs?


Basically I have:


Raster1, Shapefile1

Raster2, Shapefile2

Raster3, Shapefile3


Raster250, Shapefile250


I've seen some basic clip scripts that use ListRasters to iterate through rasters.


Batch Clip in ModelBuilder of ArcGIS for Desktop? - Geographic Information Systems Stack Exchange


I figured this most likely can't be done in Model Builder or can it?