Clip raster image with a polygon mask

634
1
06-23-2010 04:09 AM
ArthurVrechi
New Contributor
Hello,

I need to clip a raster image based on a polygon shape.

I used the "Extract by mask" tool, but I need to clip only the pixels wich are completely inside the polygon (and not the pixels wich have just the centroid inside the polygon).

Also, I tried to convert the raster into polygon, to select the interested informations by location (using "Select by location" tool).
But the "Raster to polygon" tool merges pixels with the same information, and it merges pixels that are inside and outside the polygon mask.
If the conversion tool could make one polygon for each pixel, I could solve my problem, but I don't know how to do it.

Any ideia?

Thanks!
0 Kudos
1 Reply
ArthurVrechi
New Contributor
Thanks a lot Bill,

The second option (internally buffering the polygon) worked very well. Actualy, I adjusted the number 0.71 cellsizes for my accuracy necessity.


Regards,

Arthur Vrechi
0 Kudos