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.