Select to view content in your preferred language

MODELBUILDER- Clip Raster from soon-to-be-created Shapefile

454
2
11-03-2010 08:30 AM
JamesSimard
Emerging Contributor
I have created a model in which a buffer is applied to several points and I would like the extents of that new buffer to be used at the rectangle extents for a 'clip raster'. When I choose the future object it gets selected fine but no xy coordinates show up because it does not know the extents yet since the model has not ran. The layer has the blue 'recycle' symbol in front.

How can I get the model to recognize the rectangular extent of this buffer shapefile? I do not want to manually add the buffer shapefile in after the fact as I want to replicate this model for other projects.

Thanks! James in Boston
0 Kudos
2 Replies
JamesSimard
Emerging Contributor
Anyone have any ideas? Been at a stand still for 4 days now.
0 Kudos
DaleHoneycutt
Deactivated User
The Clip tool honors the Extent environment setting.  Using the connect tool in MB, connect the shapefile to the Clip tool.  When connecting, a pop-up dialog appears and you can select "Environment > Extent".  When the tool runs, only those cells w/in the extent of the shapefile are used.

See http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Output_Extent/001w00000009000000/ for more info.
0 Kudos