Changing processing extent with each iteration using ArcGIS10 Model Builder

المشرف العام

Administrator
طاقم الإدارة
I have a very large raster for which I am trying to compute zonal means using a shapefile that covers the same extent but has hundreds of thousands of individual polygons as zones. Trying to just use the large shapefile as the input feature zone and the raster as the value raster doesn't seem to work.

What I have done is split up the large shapefile into ~50 shapefiles containing a more manageable number of individual polygons in each. I am now trying to use Model Builder to iterate through those ~50 shapefiles and compute the zonal mean using their individual polygons and the large value raster.

What I am having trouble with is changing the processing extent to match that of the zone shapefile for each iteration. This seems necessary for this workflow to complete successfully (It worked for me when I tried it manually on one of the shapefiles, outside of Model Builder) - if I leave the extent as default, or set it to that of the large raster, the tool freezes or crashes.

It seems like I should change the processing extent in Model Builder to "Same as variable 'input shapefile'" - will this change the extent with each iteration? The few times I have tried this it crashes ArcMap and I get the message "ArcGIS Desktop has encountered a serious application error and is unable to continue".

Any ideas? Or am I approaching this problem entirely wrong?



أكثر...
 
أعلى