Zonal statistics summarize the values of one raster within the zones of another dataset (either raster or vector) and output the results as a raster (for a single statistic) or table (for multiple statistics).

learn more… | top users | synonyms

1
vote
0answers
236 views

How to use Zonal Stats as Table tool with in-line variable substitution

I have created a model to iterate a folder of 5 shapefiles to apply the Zonal Stats as Table tool to a raster. My output table is saved as table%i% so i'm expecting it produce 5 tables (table0, ...
1
vote
2answers
686 views

What to do when raster cell size is larger than zonal vector feature in order to collect statistics?

I am trying to extract the mean cell values for a raster dataset based on a survey grid polygon feature using ArcINFO 10.1. The cell size of the raster dataset is about 4 times the size of the survey ...
2
votes
0answers
384 views

How to Calculate Utilization Distribution Overlap Index (UDOI) in ArcGIS

I'm interested in calculating the overlap of home ranges (=utilization distributions in my case) of a bird species using sighting coordinates. This article introduced UDOI as the best index for such ...
1
vote
0answers
91 views

Reshape Matrix and perform Zonal Statistics in Matlab

I have 2 grids: 1) n by m - at 100m 2) n*10 by m *10 - at 10m. These grids cover the same area. I have to perform zonal statistics at scale of grid no.2. Cell value of grid no.1 is cumulative for ...
2
votes
2answers
275 views

Tabulate Area crashes Python and ArcGIS

I have a script that runs Tabulate Area on a single feature class multiple times with different rasters. In total Tabulate Area runs 5 times. 2 of the input rasters are provided as arguments to the ...
1
vote
0answers
189 views

Problems running zonal statistics - not all zones represented

I have been working on a Python script to automate the steps illustrated by whuber here:Create points around the edge of viewshed results I am trying to create a horizon graph illustrating the ...
1
vote
1answer
153 views

using ZonalStatisticsAsTable in python script

I use a python script in which the function ZonalStatisticsAsTable is called. In ArcGIS9.3 it all worked fine. Our company just went to ArcGIS 10.1 and now it doesn't work anymore. When looking ...
0
votes
0answers
20 views

Distance from rivers-Zonal Statistics [duplicate]

I am using arcgis 10.1 I am trying to calculate euclidean distance from each feature using this large rivers shapefile http://www.arcgis.com/home/item.html?id=44e8358cf83a4b43bc863646cd695945 . And ...
2
votes
4answers
2k views

How to read this data file and convert it to raster format for analysis?

I am trying to introduce the 5 degree dataset from here http://www.cru.uea.ac.uk/cru/data/precip/ (it is the first link). And once I introduce it to GIS to use it as a raster input to calculate zonal ...
2
votes
1answer
200 views

Zonal Statistics-Weighting

I have a raster file on precipitation and I want to create zonal statistics as a table using a shape file wiht boundaries of countries across the world. However it appears that I need to take into ...
2
votes
1answer
232 views

Error 010240 with ZonalStatistics

I have a code that calculates the sum of water recharge for a pixel for a 9 year period (This piece of code works fine, just thought I would show how it is made just in case. The values range from 0 ...
1
vote
1answer
233 views

Is there a way to perform zonal statistics-like operations with feature zone data without doing feature-to-raster transformation?

I want to use zonal statistics on Chinese counties (which can be very small) from a fairly coarse (0.5 degree) raster grid. The problem with zonal statistics is that it returns a much smaller number ...
7
votes
3answers
504 views

How to use ZonalStats plugin?

I am using QGIS 1.8.0 on a Windows Home Premium 7 machine. I have a single band TIFF that is 187 MB in size. My vector polygon shapefile represents a regular grid of a 147x112 36kmx36km grid cells. ...
5
votes
2answers
2k views

How to use QGIS Zonal Stats Plugin from Python Console?

I am using the Zonal Stats plugin in QGIS to extract raster statistics from overlaying polygons (I have shapefiles of species distribution and I want to extract environmental data from within each ...
2
votes
0answers
248 views

How to use GRIB data in ArcGIS? (Zonal Stat as Table)

I am trying to calculate zonal stats as table with a python script for 45 .grib files from the ERA-40 Monthly Mean of Daily Mean database (http://data-portal.ecmwf.int/data/d/era40_moda/) for certain ...
2
votes
1answer
265 views

joining a table from zonal statistics as table with a layer, problem with reserved names

I have a raster file (percentage of total forest killed) and a shapefile with polygons (municipalities). I thought as a first step I would like to find out which municipality shows the greatest ...
1
vote
0answers
166 views

zonal statistics in Python crashes

I have a python script that works (it's worked for several other projects in the past and it worked for my current project initially). But whenever I run it, Python crashes sporadically. It would go ...
1
vote
0answers
759 views

Raster grid for zonal statistics in R

I have two raster layer, the first one r is my zonal mask as a raster grid, and I created as: ext <-extent(Yraster) r <- raster(nrows=32,ncols=32,ext) r[] <-(1:ncell(r)) and project it ...