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

0
votes
1answer
7 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
19 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
17 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
37 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
24 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
77 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
28 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
27 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
31 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
30 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
22 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
17 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
88 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
44 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
47 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
55 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
61 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
71 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
61 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
103 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
53 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
110 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
37 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
206 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
134 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
201 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
90 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
77 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
119 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
48 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
678 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
182 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
93 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
58 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
168 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
149 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
260 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
98 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
90 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
38 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
117 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
59 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
114 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
148 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 = ...
2
votes
1answer
90 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
237 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
96 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
287 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 ...