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
1answer
15 views

Intersect shapefile with raster, then determine proportion of each raster value?

Using the arcpy module in Python, I want to find the proportion of each pixel value within the boundary of an overlaying polygon. (The polygon is in a shapefile.) For example, there are 10 possible ...
1
vote
1answer
31 views

Overwrite option on a standalone ZonalStatisticsAsTable using ArcPy

How can I code an "overwrite option" on a standalone ZonalStatisticsAsTable using ArcPy? I don't see any overwrite option from a Esri example. # Execute ZonalStatisticsAsTable outZSaT = ...
4
votes
1answer
302 views

QGis Zonal Statistics Plugin NoData included in Calculations

I have been trying to use the QGIS zonal statistics plugin. My raster has a nodata value of -99999 and all other values are positive. After computing the mean zonal statistics there are a number of ...
1
vote
1answer
47 views

Export “Zonal Statistics As Table” output in Modelbuilder

I have an extremely simple model that takes as input a shapefile for zones along with a value raster. All the model does is produce a table of my desired zonal statistic for each zone (the mean). ...
2
votes
3answers
65 views

Zonal Statistics as Table Tool

I have a slope dataset. I have a polygon shapefile with territory within the extent of the slope map. I have to calculate the real surface area of this shapefile using the zonal statistics as table ...
1
vote
1answer
82 views

Calculating real surface area using Zonal Statistics as Table Tool?

I have a slope dataset. I have a polygon shapefile with territory within the extent of the slope map. how do I calculate the real surface area of this shapefile using the zonal statistics as table ...
0
votes
2answers
36 views

Calculating Centroids with Zonal Geometry in ArcGIS

I have a shapefile containing polygons. Each polygon is defined by its postal code. I want to calculate the centroid of each polygon using Zonal Geometry. Sadly, for some polygons there are no ...
3
votes
1answer
103 views

Getting Zonal Statistics of Overlapping Circles?

I have a Buildings (polygon) shp file and a DSM. what I wanted to do was to get the pixel values for all the vertices of those buildings, and find another pixel value just around those vertices (say ...
0
votes
1answer
51 views

ArcGIS10 Highest point via polygon features

I am using ArcGIS 10.0 with 3D Analyst, Spatial Analyst and Military Analyst. I feel like I am halfway to solving a problem but do not seem able to completely solve it. I have a polygon shapefile ...
0
votes
0answers
24 views

Overlaying Line (Vector) Layer on Raster Zones?

I will make my best attempt to clearly explain my problem. I am using ArcGIS 10 I have a raster layer with 3 values that make up zones. For the purpose of this example, lets say these zones are ...
0
votes
0answers
27 views

Zonal statistics vs. random points?

Using ArcGIS 10.1 for Desktop, I wish to model the relation between soil productivity (SP) and a number of independent variables such as, e.g., terrain elevation and slope. For this purpose, I am ...
1
vote
0answers
66 views

Batch Zonal Statistics to Spreadsheets?

I have a pretty immense amount of Zonal Statistics as Table computations to do, and would love to find a way to grab mean and variance values from the little .dbf tables ArcGIS creates and put them ...
2
votes
0answers
42 views

Does converting polygon to raster generate more accurate results from the Zonal Statistics in Arcgis 10.2

I have heard the following for Arcgis 9.1 and wonder whether it is still an issue in Arcgis 10.2. If so, should I convert the polygon into raster before dissolve or convert the dissolved polygon ...
2
votes
2answers
255 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 ...
0
votes
0answers
44 views

What does “unsupported bin funcion type” error in ERDAS mean?

I want to open a set of .img files in ERDAS which are output files of zonal statistic function in ARCGIS. Before running the function, all images can be opened in ERDAS. After calculating zonal mean, ...
1
vote
0answers
77 views

Problem with polygon overlay in raster stats using gdal

I am using the raster_stats module in python to calculate the mean carbon value for different sets of polygons. Here is the code that I am using: africa_sat = ...
7
votes
3answers
495 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. ...
1
vote
1answer
48 views

How to loop qgis:zonalstatistics using Python?

I'm looking for some Python + QGIS foo for the following: import processing for i in range (1,20): processing.runalg("qgis:zonalstatistics", "/folder/input/raster.tif",%i, ...
1
vote
0answers
47 views

I want to determine the average rainfall for a cumulative watershed, where I only have the sub-watersheds defined

I have a polygon layer with sub-catchments (sub-watersheds) and a grid of rainfall. I have used the Zonal Stats as a table to calculate the average rainfall for each sub-catchment, but I now need to ...
1
vote
1answer
101 views

How to create graph out of two layers using ArcGIS 10.1 for Desktop?

I would like to create a graph of two layers I have. on one hand its the land price of a certain area and on the other a layer with a crime rate. first of all, the layer with the land prices doesnt ...
2
votes
0answers
62 views

Zonal Statistics Freezing QGIS 2.2

Running on Windows; 8gb memory, 500gb HD, i5 cpu; Raster file: 250mb I am having a problem with zonal statistics advancing past 17%. I am trying to run statistics on a crop grown in certain counties. ...
1
vote
1answer
129 views

What do “count”, “mean”, and “sum” in QgsZonalStatistics mean?

I am working with Qgis and making some analytics of lightdata. I've used these commands: rasterfile = qgis.utils.iface.mapCanvas().currentLayer().source() vectorlayer = ...
0
votes
0answers
42 views

Why does it take so long to run zonal statistics?

QGIS 2.0 Windows 7 I have pulled agricultural data from NASS CDL in tiff format. I want to track where a certain crop has grown over the years. My intention was to use a county shapefile overlaid ...
3
votes
2answers
581 views

Issue Trying to create Zonal Statistics using Gdal and Python.

I am trying to create zonal statistics using Python and Gdal. I have a polygon shapefile and a raster file, and in order to do so, I am using a piece of code I found in StackExchange. The raster and ...
0
votes
0answers
35 views

Convert raster_stats list output to array / csv file

I usually program in R, but recently I have started to use python for most of my spatial programming. My python skills are still limited, and please excuse the simplicity of the question. I am ...
1
vote
2answers
53 views

How to calculate raster class metrics by polygon zone?

I have a raster of morphology data where each bin has a code. I want to count the number of each code that fall under a polygon from another file. Zonal stats as table only gives me the min/max ...
1
vote
0answers
125 views

Multiple polygons and rasters for Zonal Statistics as table in ModelBuilder

I have a large number (>17,000) of raster image files that I am creating by iteration. I also have clipped out corresponding polygon files with identical names in a separate folder (maybe not ...
3
votes
1answer
71 views

Any way to perform zonal statistics on column other than value or do reclass faster?

I have to perform ArcGIS zonal statistics on a raster, but the column I am interested in is not the 'value' column. Now, I can reclass the raster so that the column of interest becomes the 'value' ...
0
votes
0answers
41 views

Zonal statistics won't work after re-projecting vector layer

I have qgis 2.0. I want to analyze raster information within a buffer of 30 miles around a vector layer of cities across the world. However, both the raster and the vector are in WGS84. I have no ...
0
votes
0answers
41 views

Zonal statistics returns wrong values in QGIS

I used zonal statistics for a simple task: to transmit raster pixel values to vectormap which contains squares as big as the pixel size is. The problem is that the values of the outcome are not ...
2
votes
0answers
99 views

Zonal Statistics using Gdal and Python

I recently came across a loop_zonal_stats function by @ustroetz found here: Issue Trying to create Zonal Statistics using Gdal and Python.. I am using a (single) polygon shapefile and a raster file to ...
2
votes
3answers
384 views

How to get count of non-NA raster cells within polygon using R

I've been running into all sorts of issues using ArcGIS ZonalStats and thought R could be a great way. Saying that I'm fairly new to R, but got a coding background. The situation is that I have ...
1
vote
2answers
580 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
2answers
548 views

Iterate through multiple Raster files and compute statistics using Zonal Statistics

I have a large number of raster images. What I'd like to do is to compute statistics on different sections of these raster files using a polygon. I think everyone is suggesting Zonal statistics. ...
0
votes
0answers
90 views

Creating Cluster “Zones”

I've looked at the "Questions that may already have my answer" and it didn't appear that the questions were specific to my questions. Although I am sure I am not uncovering some brand new quetsion ...
0
votes
1answer
48 views

How to use the local macro to do ZonalStatisticsAsTable in batch

I have a series of files named as 'rawfile200101', 'rawfiles200102',...,'rawfile201104'. I want to do ZonalStatisticsAsTable for each of them with names corresponding to the time of the raw files, ...
2
votes
2answers
184 views

How to Calculate Custom Zonal Statistics?

I have a vector polygon shapefile outlining counties for which I have a raster of nighttime-luminosity data. I've been able to compute Zonal Statistics in ArcGIS 10.0 using Zonal Statistics as Table ...
0
votes
0answers
16 views

Get Descriptive Statistic by Geometry from ArcGIS Server Image Service

Image Services have a method called Compute Histogram which is akin to Tabulate Area in ArcGIS Desktop. Is there a method or raster function template method an Image Service can use to get ...
0
votes
0answers
59 views

Zonal statistic on recoded raster layer. Information about class value and quantity

i have a raster layer, with 15 different classes. In the raster layer are differrent classes, which stand for windspeed. Then i have a shp-file, where polygons represent urban regions or just free ...
1
vote
0answers
101 views

How to Iterate ModelBuilder for Zonal Statistics?

I want to use ModelBuilder to split a DEM into multiple tiles, then run the iterator on each tile made for the Zonal Statistics tool to find the highest point(s) in each tile and give these as an ...
2
votes
0answers
42 views

Wrong pixel sums within buffers in Esri ArcGIS 10.0

I have a raster of Zambia, 100m² resolution (about 650mb). Buffers (single) at 1,2,3,4,5,10,15,20,25,30,50 km. I'm running "zonal statistics as table" in the model builder for all buffers (actually, ...
1
vote
1answer
170 views

ArcGIS TabulateArea() :: Recommend Ratio of Zone Area to Value Raster Cell Size?

Any recommended ratio of zone area / raster cell size when running small input zones with ArcGIS Tabulate Area Tools? Esri mentions: If the zone input is a feature dataset with relatively small ...
1
vote
1answer
134 views

How to use a polygon grid to calculate statistics on line and point features

What seems a simple task but I can't find the right tool to do it. I have a polygon grid cells and say a point feature class. I want to be able to create a table that contains the grid cell ID and for ...
3
votes
0answers
249 views

Extract values from raster based on weighted average area using polygon grid

EDIT: I am using Armap 10 sp 5 I have found similar questions but they were either unanswered or somewhat different to what I am asking. I have a raster with cell values 1-5 and a polygon shape file ...
0
votes
0answers
227 views

Tabulate area - Spatial Analyse

I am trying to calculate the amount (sqm) of land cover types (forest, water ect.) in 1045 buffer zones, all the same size (500m in diameter).. The buffer zones are polygons and the land cover is a ...
2
votes
0answers
63 views

Tabulate Area using GDAL and Numpy

How could I perform a Tabulate Area using GDAL and Numpy? I am trying to summarize how many pixels of each class in a Landcover raster are within each polygon of a Census Blocks shapefile. I've ...
1
vote
1answer
365 views

identify percentage of raster cells within a polygon

As per the title I want to determine the population inside multiple polygons according to different land use zoning (High Residential, Low Residential, National Parks etc) that's in raster format. ...
2
votes
0answers
345 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
1answer
113 views

Right raster zonal statistics for NDVI at county scale?

I am currently doing a modeling project at county scale in which I have disease rate as dependent variable and environment variables (such as temperature, NDVI and evapo-transpiration) as the ...
2
votes
4answers
1k 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 ...