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)

1
vote
0answers
34 views

Weighted averages: accounting for grid cell surface variation in proportion to the cosine of its latitude

Non-geographer learning GIS here. I'm using ArcGIS Desktop v. 10.2.2. I have a 30-arc second Terrain Ruggedness Index (TRI) raster file, and I want to measure the average ruggedness within each ...
0
votes
0answers
13 views

Linking Statistics Type with Calculate Field after Table Join using ModelBuilder?

I am attempting to build a model using ModelBuilder in which there is a zone statistics tool being run iteratively for a set of rasters. The input is a blank template table that contains the number ...
16
votes
3answers
316 views

Major bug in ArcGIS Zonal statistics?

I am using ArcGIS 10.2.2 to determine zonal statistics for a number of zones. If there is any NoData in the value raster, I want the zone results to be "NoData", precisely as advertised by the tools ...
0
votes
0answers
24 views

Using zonal statistics in ArcGIS for Desktop?

I have a set of temporal images of a given State with 23 districts. When I used ArcGIS for Desktop to generate zonal statistics using the vector file of the State, the pixel counts were tabulated ...
0
votes
0answers
18 views

How can I work out the percentage of different raster parcels in a polygon

I have a raster layer (LCM2007) that contains 24 classes of landcover and a shapefile, polygon, which represents areas in a survey. I want the area, or percentage, of each class in each area. For ...
2
votes
3answers
34 views

Zonal average weighted by distance from point

I am using ArcGIS 10.2. I have a vector layer with points, which represent houses and a raster layer with values of 0 or 1, according to a certain threshold. In a buffer of 5 km around each of these ...
0
votes
0answers
11 views

NLCD data-dividing it into counties so they can be compared

I have a state wide NLCD raster data set. I would like it to be separated into counties, so I can use something like Zonal stats for each county to make calculations and compare counties. This would ...
5
votes
1answer
69 views

Zonal maximum at a specific location

I have 50,000 polygon shapefile, each polygon is a small community. I have a flow accumulation raster. I need to extract just the maximum cell (max flow accumulation) for each polygon. Now if I run ...
2
votes
0answers
35 views

Zonal statistics error: 0-d arrays can't be indexed

How can I fix the error 0-d arrays can't be indexed? This message appears after the tentative to use the algorithm Qgis Zonal Statistics. Detail: the algorithm worked very well several times and then ...
1
vote
1answer
34 views

zonal statistics sum on raster with same values

I was wondering if anyone knows what exactly zonal statistics sum does if all my input value raster have the same values. For e.g. Lets say I have a finer resolution raster with 10 pixel each having ...
2
votes
0answers
20 views

Remote sensing Classification and texture analysis compared with QGIS zonal statistics

Some back round: Using Geomatica to analyse suburban spectral signature in Las Vegas. Ran a texture analysis on all band images. Combined texture bands with original image bands to run an unsupervised ...
2
votes
1answer
56 views

Can I use TIFF files for zonal statistics in QGIS or ARCGIS?

I am completing a remote sensing paper and am doing most of the work in PCI Geomatica, where I have 2 separate files. One from running a texture analysis algorithm containing 6 band layers from a ...
1
vote
0answers
17 views

Rasterstats throwing error: Cannot open as GDAL raster

I'm using the rasterstats zonal_stats function (pip installed), and running it on a .vrt file. Everything runs perfectly in my Ipython notebook, but when I try to run it in my regular python ...
1
vote
0answers
43 views

Zonal Statistics for multiple rasters

I'm trying to create a timeseries of raster data (one layer per year) by polygon (Administrative regions). Is there any way in QGIS to perform Zonal Statistics for multiple years (without having to ...
0
votes
2answers
91 views

ArcGIS 10.3 Build Raster Attribute Table fails for large rasters

I am looking at forest loss in Central and South America within protected and unprotected areas. So I have a binary raster (0 or 1) for forest in 2000 and another raster for forest in 2013. I want to ...
0
votes
0answers
27 views

Zonal statistics as table failed

I'm using ArcGIS 10 to perform "Zonal statistics as table" for my raster data (temperature). I would like to know that for each 50m level (for example, 0-50m), what is the average temperature. ...
2
votes
0answers
77 views

Zonal computations: computing raster pixel counts within polygons using GDAL versus rasterstats

I'm computing some zonal statistics, and was comparing the results obtained using the GDAL cookbook example code here with the rasterstats zonal_stats function. I want to compute the mean value per ...
1
vote
1answer
76 views

Accessing bands in .pix (PCIDSK) file in python/arcpy

I am trying to perform zonal statistics on a single band from a multi-band raster in .pix format. I have things working great with a tiff file. I am able to access the bands using this code: desc = ...
0
votes
1answer
53 views

Zonal Statistics as Table output is missing some polygons ONLY when run from Python script

I have a raster file from which I am attempting to calculate mean values for polygons defined in a shapefile. Using the Zonal Statistics as Table tool from within ArcGIS works great. My shapefile ...
0
votes
0answers
34 views

RuntimeError opening rasterio array in GDAL

I've opened a GeoTiff with rasterio: import rasterio with rasterio.open('Africa.tif') as src: transform = src.meta['transform'] array = src.read(1) array([[203, 203, 203, ..., 0, 0, ...
1
vote
2answers
119 views

How to define PROJ.4 string for GDAL projection

I'm doing some zonal computations in GDAL using the code posted in the solution here: Issue Trying to create Zonal Statistics using Gdal and Python. It runs fine for me using the example data posted ...
0
votes
0answers
39 views

Zonal Statistics as Table having problems with Mosaic Dataset

I have a mosaic dataset of forest cover around the globe for the year 2000 (each cell's number contains the percent of forest cover in that area). I have randomly selected a large number of points ...
3
votes
4answers
98 views

Calculate minimum area where x% of raster value total is concentrated within polygons

I have a raster layer (chlorophyll concentration) and a layer of non-overlapping polygons (regions of the ocean). For each polygon, I'd like to calculate the area where the majority of chlorophyll is ...
1
vote
0answers
56 views

Zonal statistics (and other tools) will not output all records in ArcGIS for Desktop? [closed]

Using ArcGIS 10.3 for Desktop, whenever I use zonal statistics, only about 90-95% of the records actually show up in the results. The remainders are blank though, if I navigate to that polygon, there ...
0
votes
0answers
49 views

How to expand a floating point raster by one pixel

In ArcGIS 10.2.2, I have a floating point raster of oceanographic data that boarders a coastline. Due to the jagged edge of the coast, the raster edge only sometimes overlaps the coastline and leaves ...
1
vote
0answers
38 views

Zonal geometry output in ArcGIS

Is there a way to specify the coordinate type in Zonal geometry output in ArcGIS? I am trying to perform zonal geometry on a raster and in the resulting output, the XCENTROID and YCENTROID are in ...
0
votes
0answers
43 views

Trouble interpreting zonal statistics as table output

Consider this a follow-up to this question. I transformed a census block group vector map (decided to use this instead of census tracts) into a raster map and generated a kernel density map using ...
1
vote
1answer
29 views

Querying Raster Dataset by Location to Study Area

I have downloaded a very handy raster dataset generated by the Nature Conservancy for identifying terrestrial habitat cover types in the north east. Link to the project info and a link containing a ...
1
vote
0answers
27 views

Clarification on a previous Utilization Distribution Overlap Index (UDOI) answer

I'm really struggling to calculate the Utilization Distribution Overlap Index (UDOI) and could really use some clarification on a previous answer. There is a comprehensive guide to what i am trying ...
2
votes
1answer
125 views

Monthly weather averages using NCEP/NCAR Reanalysis data

I'm a political science grad student and I've recently (and probably foolishly) committed to dipping my feet into GIS. Right now I need to build a table that has monthly precipitation and temperature ...
0
votes
0answers
77 views

Zonal Statistics As A Table - Missing Features in Results

I have a point shapefile that includes parcel centroid features across a county in Pennsylvania. I am trying to get a sense of the percentage of forest land within half-mile and mile buffers around ...
0
votes
0answers
62 views

Proper size of buffer to represent village boundary using Geonames populated places

I am trying to estimate population for each Geonames populated place (PPL) in Tanzania. There are about 8000 PPL, represented by point features, however population data is missing. I used ArcGIS to ...
2
votes
1answer
75 views

Memory issues with zonal statistics

I have got a memory issue due to the use of the zonal statistics command into a loop. It seems that after using the ZS command QGIS stores some information in the RAM (cache memory?). It is not ...
2
votes
1answer
113 views

Issues with PyQGIS while running a QgsZonalStatistics script

I have experienced a very bizarre issue with my PyQgis code. I simply want to load a raster and a vector layer to do zonal statistics, the first part works perfectly but for the zonal statistic I have ...
0
votes
2answers
121 views

Mean values of points within a polygon layer

I have 2 shape files (1x points and 1x polygons). The points have different values (soil sampling results). What I want to do is to calculate the mean values of the points inside the different ...
0
votes
0answers
83 views

Zonal Statistics as a Table does not calculate statistics for all features in the dataset

I want to compute the mean elevation (slope, aspect) within an area of 800m around the nodes of a vector grid I have applied, using "Create Fishnet". Because my buffers overlap, I cannot use "Zonal ...
1
vote
2answers
149 views

Tabulate Area in ArcGIS for Desktop not creating correct output?

I have used the Tabulate Area zonal spatial analyst tool in ArcGIS many times, and am encountering a problem for the first time. I am using a polygon grid (fishnet) as my zone dataset, and tabulating ...
0
votes
0answers
77 views

Zonal Statistics “Invalid Output Extent”

I have an NDVI layer masked to a Corn layer. I have laid on top of it a 8x8m grid; from that grid I have taken just the grid cells that fall completely within the Corn NDVI raster. It looks like this: ...
2
votes
1answer
181 views

Find local maxima with variable window search using ArcGIS Desktop?

I would like to find local maxima in different zones of raster file. I got five zones (zone 1, 2,3,4,5) and would like to find local maxima with different window search for each zone in arcgis ...
0
votes
2answers
50 views

Creating new raster based on spatial extent and classes of one raster and average of another using ArcMap?

I have a raster that is split into classes and I wanted to make a new raster with this raster's spatial extent and classes but displaying the average values from a different raster. I am not really ...
0
votes
0answers
24 views

Looking to fine the average slope within a polygon [duplicate]

Question not a duplicate.. please help; I am using ArcGIS 10.2 (not open source software) and I have a high resolution DEM, 1.0m resolution, and I am looking to find the average slope and range of ...
0
votes
2answers
350 views

ArcMap Zonal Statistics not producing attribute table

I'm using the zonal statistics in spatial analyst ArcMap 10.2. The input zone is a feature (conterminous US states) and the raster (.tiff - signed integer) is biomass for the entire conterminous US. ...
0
votes
1answer
225 views

error invalid output extend in zonal statistic

i have a problem with arcmap10.2...i have a dtm(that now has dimension of the pixel 1000) and another raster whit the same resolution with the code of a specific area..what i want to do is calculate ...
3
votes
3answers
265 views

How can I determine which raster attribute covers the highest area of a polygon?

I'm relatively new to GIS and QGIS but I have a problem that I'm not certain how to solve. I searched here for relevant information but found none. (Or, I used incorrect search terms.) My problem ...
3
votes
0answers
116 views

Zonal Histogram Output Problems - No values associated with the habitat type

I have a outline of some islands (shapefile or raster) and GAP landcover data (raster). I am trying to use Zonal Histogram to create a file with a histogram of the habitat types in each island. Each ...
3
votes
1answer
81 views

How to make zonal statistics model more efficient?

I've made this model, to assess some 500-600 rasters for one area, and spit out one huge table. So far, when testing it with 20-30 rasters as inputs it works, but now that I put in the full amount its ...
4
votes
1answer
150 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
48 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
55 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 ...
4
votes
2answers
943 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 ...