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

2
votes
0answers
9 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
35 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
votes
0answers
13 views

Calling function (Zonal attributes) inside Erdas Imagine 2014 Spatial Model Editor?

I am using the Spatial Model Editor of Erdas Imagine 2014. How do I call a function (Zonal attributes) inside the Spatial Model Editor so that I can process images in batch?
1
vote
0answers
9 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
26 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
40 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
24 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
49 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
49 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
31 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 ...
1
vote
0answers
26 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
75 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
28 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
84 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
39 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
37 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
37 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
33 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
24 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
20 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
106 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
60 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
53 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
67 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
79 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
80 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
69 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
128 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
63 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
139 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
41 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
258 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
161 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
224 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
101 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
79 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
131 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
43 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
51 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
781 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 ...
4
votes
1answer
195 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
103 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
60 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 = ...
2
votes
1answer
187 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
156 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
278 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
103 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
102 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
39 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 ...