2

I have a shapefile folder of property map and raster file of elevation. I want to clip those and generate attribute table.

I import both shapefile and raster file, then I click 'Full extent' and remove color to Hollow.

enter image description here

After clipping I can get a new clipped raster layer. But, I cannot generate the attribute table for the clipping. My key purpose is to get the elevation data from raster for each ID available in shapefile.

1
  • 1
    Only Integer rasters have attribute tables. So if the resulting clipped raster is of type float then there will be no raster attribute table.
    – Hornbydd
    Sep 9, 2021 at 9:45

1 Answer 1

2

Try Zonal Statistics as Table. Use your property shapefile as the input zone field, and your elevation layer as the input raster. The output will be a table with raster statistics (mean, min, max, etc.) for each input zone (i.e. ID in your shapefile). This table can then be joined back to your shapefile as additional attributes if that's useful.

1
  • Thank you very much!
    – Jui Sen
    Sep 10, 2021 at 8:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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