500 Internal Server Error


nginx/1.18.0 (Ubuntu)
GIS-Lab: Calculation of zonal statistics in Arcview GIS 500 Internal Server Error

500 Internal Server Error


nginx/1.18.0 (Ubuntu)

Calculation of zonal statistics in Arcview GIS

How to work with zonal statistics in Arcview GIS using special script.

500 Internal Server Error

500 Internal Server Error


nginx/1.18.0 (Ubuntu)

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.

Zones and rasters Example of data obtained

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:

  1. Switch on Spatial Analyst (File\Extensions\Spatial Analyst)
  2. Download, copy to extensions folder and switch on the extension zonalstats.avx (File\Extensions\Zonalstats)
  3. Add polygonal theme and raster layers, for which you want to get statistics, for example NDVI matrices (rus).
  4. Make polygonal theme active and press z.
  5. Select type of statistics to calculate.
  6. It is also possible to perform calculations for subset of a theme, to do this select records/object which you'd like to use as zones and press z.

500 Internal Server Error

500 Internal Server Error


nginx/1.18.0 (Ubuntu)

500 Internal Server Error

500 Internal Server Error


nginx/1.18.0 (Ubuntu)

Дата создания: 08.08.2006
Автор(ы): Максим Дубинин

500 Internal Server Error

500 Internal Server Error


nginx/1.18.0 (Ubuntu)