I'm trying to clip a raster to a vector feature class using Extract by Mask (although I've also tried Clip Raster, with the same resulting error). I'm licensed to use Spatial Analyst. Other similar questions on the forum led me to think it was a projection problem--I projected the vector to the same projection as the raster with the same resulting error.
Solved! Go to Solution.
What is the coordinate system? and what are the extents of the geometries to see if they overlap.
Can you record the error message number if there is any.
It's possible the polygon is corrupt, try checking it with Check Geometry tool. The other thing that comes to mind is your polygon may be too complex for these tools to handle (ie many vertices) in which case making a copy of the polygon feature class and running Generalize on the copy may help.
Check Geometry returned no problems, and after I Generalized the polygon, I'm still getting the same error message:
ERROR 002834: The geometry operation was canceled.
The polygon looks like it is multipart, e.g. the the islands off the cost. I have never tried extract by mask with a multipart polygon. What happens if you remove the islands? You could also simplify (reduce the number of vertexes) the mask polygon as @curtvprice suggested.
If this was me I would create a very simple test polygon with only three or four vertexes and test that. Then go from there.