How to work with zonal statistics in Arcview GIS using special script.
Обсудить в форуме Комментариев 0
Zonal statistics is the calculation of one or many common statistics for data (pixels) inside the certain zone(s).
Zones boundaries are usually defined by polygonal shape file. It can contain any number of polygons. Value of selected parameter will be calculated for each polygon from zone-theme.
Following parameters can be calculated (per operation, only one parameter can be calculated, to get several parameters it is nessessary to save obtained table in a separate file):
Statistics are calculated for raster files in GRID format loaded in table of contents of the view (TOC). Number of GRIDs is not limited, while loading hundred of them in TOC can make Arcview hang. If more than 50 rasters are needed to be loaded in TOC - split them in portions by 10-20 files.
In process of calculation, selected parameter will be derived for each polygon in the shapefile (each zone), for each raster theme in TOC, for example sum of all cell values inside polygon. During calculation, NODATA pixels are ignored.
If all pixels in the zone have NODATA value - extension will produce an error and stop working. If this happened, it is possible to select remaining records after the one, which lie in NODATA zone and produce an error in the table and repeat calculation. The calculation will be repeated for all selected records/polygons.
If the polygon doesn't fall into extent of the current GRID, parameter is not calculated and no error produced.
For each raster theme in the attributive table of the zones shape file new field will be created automatically, the name of the field will be equal to the name of the raster theme. If you have 6 polygons and 100 raster themes in the view, there will be 600 calculation carried out by the extension and 100 new fields created and populated with the values of the selected parameter. The ability to get values for multiple rasters is the unique feature of this extension. This ability is especially useful for extracting data from any kind of time-series (for example - NDVI (rus)).
Notes:
To start using it, you need:
Обсудить в форуме Комментариев 0
Последнее обновление: September 09 2021
Дата создания: 08.08.2006
Автор(ы): Максим Дубинин
© GIS-Lab и авторы, 2002-2021. При использовании материалов сайта, ссылка на GIS-Lab и авторов обязательна. Содержание материалов - ответственность авторов. (подробнее).