Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How to convert raster gray values into attribute values and participate in statistics in ArcGIS?
How to convert raster gray values into attribute values and participate in statistics in ArcGIS?
1. Open vector data and raster data in ArcGIS 10.0. In this paper, vector data is called partition statistics. Shp, the raster data is named cq.img

2. Open the partition statistics tool in ArcToolBox, and the path is: spatial analyst Tool-Area-Area Statistics as Table.

3. Double-click to open the regional statistics tool to complete the parameter setting, as shown in the figure below.

4. The statistical results of partition will be generated in tabular form, as shown in the figure below. Three fields, Count, Area and Mean, are automatically added to the attribute table of the vector layer, representing the number, area and average elevation of grids in each partition.

5. Add the Average Altitude field to the partition statistics. Shp, and then right-click on the layer to find the tool of connection and association, and associate the partition statistics results with the vector layer, that is, complete the partition statistics of vector and raster.