Tagged Questions

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).

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 = ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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:
...

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 ...

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. ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...