I have a shapefile with rectangular cells that i created with the function "create fishnet" and clipped it with a contour layer.

what i want to do is to add field to the attribute table that takes average values from a raster based on the cells of my shapefiles.

I created a table with the function "extract values to table" and join it to the attribute table of my shapefile.

the problem is that i have some null values in some cells.

  • Could you please provide more detail on the type of raster data you are using? A screenshot would help illustrate the issue. – Aaron Feb 27 '14 at 15:15
  • the raster data is the result of the simple kriging interpolation from a set of 226 point, and when i check the raster i don't have null value. – Geographic Feb 27 '14 at 15:31
  • Is your shapefile extending beyond the extent of the raster data? – Aaron Feb 27 '14 at 15:35
  • No, it's inside the raster – Geographic Feb 27 '14 at 15:38
  • 1
    Have you tried calculating zonal statistics as table?: resources.arcgis.com/en/help/main/10.2/index.html#//… – Aaron Feb 27 '14 at 16:05

i generated the raster with "1" in cell size, so that when i execute "zonal statistics as table", arcgis can calculate the raster value that belongs to the same zone in my shapefile even the smallest polygon (with less than 1296 m² which correspond to 36 in default cell size)

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.