Select to view content in your preferred language

raster processing, tiling

2550
5
07-07-2011 02:36 PM
ericcgrey
New Contributor
I have one big mosaic and many polygons(shapefile), each polygon is a rectangle 1000 by 1000m however there is an ovelap between them 100m.
How to create a raster for each polygon from my shapefile?

I have tested "split raster" but it doeasn't solve the problem
0 Kudos
5 Replies
EricRice
Esri Regular Contributor
Eric,

Split Raster is a viable tool but you would have to fill out the parameters so the output rasters aligned with your polygon records. If you prefer not to use this tool, you can make a very simple model using the Clip tool.  In the model, add an iterator for Feature Selection.  The iterator will loop through each polygon record and use its geometry to clip the raster.

Attached is a graphic of the model to do this.  Here are examples of using iterators in ModelBuilder .

Note, Iterators are only available in ArcGIS 10.0.

Regards,
Eric
0 Kudos
ericcgrey
New Contributor
Thank you for the answer, however output rasters will overwrite each other. I get only the last clipped raster!
I would like to assign the ID value from selected polygon (from my shapefile) to raster name (see the file attached: Value2 -> test)?

Is it possible?
0 Kudos
MarkChilcott
Frequent Contributor
Hi Eric,

Have you tried this method on real data?  I can't get it to work.

The clip values don't keep iterating and changing with the new tiles, and I can't see a way to change the name of the output raster file - so any output is over written each time.

What am I missing here?

Cheers,

mark
0 Kudos
MarkChilcott
Frequent Contributor
I see my error now.  Read the manual and use in-line variables as the output.

Cheers,

Mark
0 Kudos
NoahHuntington
Deactivated User
Thamks for this.  Adding in line variable worked liked a charm!
0 Kudos