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

3
votes
1answer
61 views

How are raster pixels determined whether they are in or out of a zone?

I just needed to confirm something that I think I already know the answer to because help pages are always unclear. I am running ArcGIS 10.2.2 and often use the Zonal Statistics and Tabulate Area ...
1
vote
1answer
19 views

Including NoData zones in zonal statistics table

I am running the zonal statistic tool on a raster with a shapefile that consists of several regional polygons. I would like the zonal statistic to include the regions that are completely NoData in the ...
4
votes
1answer
32 views

Zonal statistics discrepency between Arc 10 versions

I've discovered a weird phenomenon using zonal statistics with a colleague at another office. We are attempting to use the Zonal Statistics as Table tool to sum the value of raster cells within ...
2
votes
2answers
130 views

Zonal statistics for millions of overlapping polygons

I am running ArcGIS 10.1 with 64-bit GP on Windows 8.1 x64. I want to calculate the zonal statistics of buffer polygons based on parcels and a kernel density raster. The 4.7 million polygons overlap ...
3
votes
1answer
76 views

Is there an issue with Zonal Statistics calculating wrong mean values?

I tried to solve the following issue by myself but without success. On the one hand I have a raster file which is the result of the processing "shapes to grid" tool. On the other hand I have a ...
2
votes
1answer
38 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
41 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 = ...
1
vote
1answer
75 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
81 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
108 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
47 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 ...
0
votes
0answers
39 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
31 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
76 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
50 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 ...
0
votes
0answers
50 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
96 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 = ...
1
vote
1answer
56 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, ...
3
votes
1answer
141 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 ...
1
vote
0answers
57 views

Determining average rainfall for cumulative watershed, where only 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
140 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
65 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
136 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
45 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 ...
0
votes
0answers
48 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
59 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
194 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
80 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
45 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
44 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
129 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
528 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 ...
0
votes
0answers
101 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
51 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
229 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 ...
2
votes
2answers
719 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
68 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 ...
3
votes
2answers
691 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 ...
1
vote
0answers
117 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 ...
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 ...
2
votes
0answers
43 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
165 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
286 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
272 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 ...
3
votes
0answers
74 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
409 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. ...
1
vote
1answer
183 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 ...
4
votes
1answer
332 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
124 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 ...