|
|
|||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||
|
|
ID Value of Polygon, taken from the ID Field you select. |
|
|
Count of Cells within polygon. |
|
|
Planimetric area of cells within polygon. |
|
|
Minimum cell value within polygon. |
|
|
Maximum cell value within polygon. |
|
|
Range of cell values within polygon. |
|
|
Mean cell value within polygon. |
|
|
Standard Deviation of cell values within polygon. |
|
|
Sum of cell values within polygon. |
Integer grids will also get:
|
|
Minority (value with least number of occurrences) |
|
|
Majority (value with greatest number of occurrences) |
|
|
Median |
|
|
Variety (number of unique values) |
BASIC vs. MODIFIED ZonalStatsTable REQUEST: Spatial Analyst's 'ZonalStatsTable' request is a quick and simple way to derive statistics for polygons that overlay a grid.
Users can access this function by clicking the 'Analysis' menu item, then 'Summarize Zones...'. The 'Basic ZonalStatsTable Request' in this dialog does the exact same thing as the 'Summarize Zones' menu item.
However, the author has occasionally seen this request produce odd results, apparently using cells that were outside the polygon boundary (see
'Problems with ZonalStatsTable
Request' for details), so I offer an alternative, modified version of the 'ZonalStatsTable' request.
The Modified version takes each polygon in the theme and converts it into a grid with the same cell size as the Input Grid, producing a grid of "1" values in the shape of the polygon. It then multiplies that grid by the Input Grid, thereby converting all cells outside of the polygon into "No Data"
cells while retaining the original cell values inside the polygon. Finally, this extension uses the 'ZonalStatsTable' request on the modified input grid to generate statistics for that
single polygon. This process eliminates the possibility that the 'ZonalStatsTable' request will select cells outside of the polygon boundary by converting all cells outside of the polygon boundary into "No Data" values.
I believe this process produces more reliable results, but it does take considerably longer to calculate than the basic 'ZonalStatsTable' request.
IMPORTANT: An important difference between the Basic 'ZonalStatsTable' request and the modified version presented here is that the basic version will combine polygons with identical Field ID values and provide you with statistics representing the
combined areas, such that each record in the Statistics Table will represent a unique zone. The modified version will offer statistics on each polygon separately regardless of whether they have identical Field ID values.
Calculate Statistics for Polygons with 'No
Data' values: If you select this option, then this extension will generate statistics for all polygons that include at least 1 grid cell with data. Statistics will reflect ONLY those grid cells with data.
If a polygon has only one cell with actual data in it, then these
statistics will all be based on that single cell. If you do not select this option, then this extension will not generate statistics for any polygons that include any cells with "NO DATA" values.
Once you click the "OK" button, you will be prompted to specify the name and location to save your output table(s). These are standard ArcView Dialog Boxes and should be familiar to most users. The Statistics tables are permanent tables and will not be deleted when ArcView is shut down. These tables will also appear in your Project and in your project's List of Tables with the names:
|
|
Zonal Stats: 'Polygon theme name' by 'Grid theme name' |
|
|
Zonal Stats (modified): 'Polygon theme name' by 'Grid theme name' |


Enjoy! Please contact the author if you have problems or find bugs.
Jeff Jenness jeffj@jennessent.com
3020 N. Schevene Blvd.
Flagstaff, AZ 86004
USA
![]()
More Online Documentation for "Surface Areas and Ratios from Elevation Grid" extension....
![]()
REFERENCES
Beasom, S. L. 1983. A technique for assessing land surface ruggedness. Journal of Wildlife Management. 47: 1163–1166.
Berry, J. K. 2002. Use surface area for realistic calculations. Geoworld 15(9): 20–1.
Bowden, D. C., G. C. White, A. B. Franklin, and J. L. Ganey. 2003. Estimating population size with correlated sampling unit estimates. Journal of Wildlife Management 67: 1–10
Hobson, R. D. 1972. Chapter 8 - surface roughness in topography: quantitative approach. Pages 221-245 in R. J. Chorley, editor. Spatial analysis in geomorphology. Harper & Row, New York, New York, USA.
Hodgson, M. E. 1995. What cell size does the computed slope/aspect angle represent? Photogrammetric Engineering & Remote Sensing 61: 513-517.
Jenness, J. 2000. The effects of fire on Mexican spotted owls in Arizona and New Mexico. Thesis, Northern Arizona University, Flagstaff, Arizona, USA.
Lam, N. S. N., and L. DeCola. 1993. Fractals in Geography. PTR Prentice-Hall, Englewood Cliffs, New Jersey, USA.
Lorimer, N. D., R. G. Haight, and R. A. Leary. 1994. The fractal forest: fractal geometry and applications in forest science. United States Department of Agriculture Forest Service, North Central Forest Experiment Station, General Technical Report; NC-170. St. Paul, Minnesota, USA.
Mandelbrot, B. B. 1983. The fractal geometry of nature. W. H. Freeman and Company, New York, New York, USA.
Polidori, L., J. Chorowicz, and R. Guillande. 1991. Description of terrain as a fractal surface, and application to digital elevation model quality assessment. Photogrammetric Engineering & Remote Sensing 57: 1329–1332.
![]()
Please visit Jenness Enterprises ArcView Extensions site for more ArcView Extensions and other software by the author. We also offer customized ArcView-based GIS consultation services to help you meet your specific data analysis and application development needs.