1

I am using ArcMap 10.4.1.

I am using the Extract by Mask tool to clip a raster using a polygon shapefile. When the tool finishes running, the output raster does not fill the entire mask extent (see attached image). I have made sure that my raster and shapefile are using the same coordinate system.

Any idea what's going on?

enter image description here

  • 1
    Are your features multipolygons? Try to create new shapefile with a small square polygon and test again. – Mr. Che Nov 2 '18 at 12:53
  • @Mr.Che I created a square polygon to use as the mask and the tool worked perfectly. Could there be a problem with my shapefile? – R. E. Nov 2 '18 at 15:23
1

You need to use Clip tool to clip the raster data. You can find it from ArcToolbox -> Data Management Tools -> Raster -> Raster Processing -> Clip

enter image description here

  • Thanks for the response. I tried using the clip tool with the box checked that you suggested, but the output raster still does not fill the entire mask extent. – R. E. Nov 2 '18 at 15:19
  • If your polygon shapefile is multipolygon, you can split them by editing the shapefile. Use Start editing from the editor toolbar -> select the polygon shapefile -> go advanced editing toolbar and select explode feature, then save edits. After that select the polygon you want to use as clip feature and use the clip tool as explained in the answer. – ahmadhanb Nov 2 '18 at 19:12
1

The problem may be caused by (my guesses):

  1. Incorrect vector geometry, check and repair it with the Check Geometry tool.
  2. Singlepart nature of the features, try to use Multipart To Singlepart tool.
  3. Multipart nature of the features, try to create single file for every feature and try again (so you will get new raster for every polygon).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.