2

I'm trying to clip a raster in ArcMap using a polygon, and I'm wondering if there's any way to have the resulting raster not include any "no data" values (I apologize for the poor grammar). My process in pictures is as follows:

Input Raster:

enter image description here

Polygon as clipping extent:

enter image description here

Clip tool options:

enter image description here

Resulting raster with No Data shown in red:

enter image description here

I just want the resulting raster to consist of the cells that have values. Any hints or tips on how to do this?

P.S. I've tried the Extract by Mask tool and it doesn't help.

4

Sorry, by definition, rasters are square in extent. The best you can do is convert the NoData cells to a value using a Raster Calculator with the map algebra expression:

Con(IsNull("myraster"), 0, "myraster")

ArcGIS Help 10.2: NoData in Raster Datasets

  • Uh Oh we've got Mr. Price on here. There will be some good answers coming to GIS.SE! – jbchurchill Sep 26 '14 at 19:23
2

Your only options are NoData or Data. You can't have nothing. NoData is as close to nothing as you can get with a raster so unless you want to convert it to a vector format you are stuck with NoData or zeros, or any other number.

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.