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
19 views

How to Remove No Data from a NetCDF Raster Layers?

Question: How to remove no data from a NetCDF Raster Layer? I am trying to use the Zonal Statistics as Table tool in ArcGIS to calculate the mean. The problem is I am not getting the correct mean, ...
0
votes
1answer
40 views

calculating first quarter of a raster by zonal statistics

I want to calculate the 1th quarter of raster values (beneath polygons) by zonal statistics but it does not have quarter. Zonal statistics has :MIN, MAX, MEAN, MAJORITY,RANGE,.... and does not have ...
1
vote
0answers
26 views

Extract mean raster values by fishnet in ArcGIS [closed]

I have a raster of 0.25m resolution. I created a fishnet with 100*100 m in ArcGIS. I want to extract mean values of the raster from fishnet squares(100*100). I tried zonal statistics in ARC but does ...
0
votes
0answers
10 views

Trying to use Feature to Point in order to center means for individual municipalities, but output is a duplicate grid

I created a fishnet grid over a country (the Netherlands) with all the municipalities highlighted. Using the Feature to Point tool I want, instead of a grid, to have a single point centered on each of ...
1
vote
2answers
40 views

Wrong min value from ArcGIS 10.4 zonal statistics as table

I used the zonal statistics as table tool in ArcGIS10.4 to calculate SRTM, the in_zone is a gridded shapefile, the in_value_Raster is the SRTM extracted for the region as in the image (90m x90m). The ...
0
votes
0answers
11 views

Zonal statistics to polygonal grids

I used Fishnet to create a grid, and Zonal Statistics to produce a raster based on the Fishnet grid. Is there any way to produce polygons instead of raster from Zonal Statistics' similar tool? Or is ...
3
votes
0answers
28 views

Zonal Statistics calculator differences between QGIS Lyon and Wien

I am trying to implement a process that uses the Zonal Statistics menu function. In Lyon, the menu that pops up had a field with a list of calculations, each with a check box. Here you can select what ...
0
votes
0answers
53 views

Iterating through multiple polygons to produce a table with elevations using DEM?

My question is similar to Iterate through multiple Raster files and compute statistics using Zonal Statistics However, what I want to do is use ModelBuilder to use individual polygons to define the ...
1
vote
1answer
41 views

Writing geoJson from rasterstats

How would I write a proper geoJson, readable by a GIS, from the results of the rasterstats package? stats = zonal_stats("somePolygons.shp", "someTif.tif", ...
1
vote
1answer
40 views

Statistical properties of raster image

I want to calculate mean and standard deviation of a raster image. In QGIS zonal statistics, we can calculate it within a polygon or a vector. But I want to calculate for whole image. In Python I'm ...
0
votes
0answers
37 views

ArcGis 10.2.2. - Spatial Analyst - Zonal statistics as table fails on feature class with many polygons - within script for overlapping polygons

I am using a script to calculate zonal statistics as table for overlapping polygons. #------------------------------------------------------------------ # makeZones.py # Find zonal statistics as a ...
1
vote
1answer
44 views

Zonal Statistics ArcMap 10.4

I have a problem using Zonal statistics in python using ArcMap 10.4. This is a completely random error, and I have no idea what to do. Some back ground is that I have been running a script doing ...
0
votes
0answers
19 views

Focal statistics on polygon data

I am new to GIS and I am currently preparing/extracting my spatial data to prepare for analysis in R. At the moment, I am attempting to calculate 'summed cover of my predictor variable (i.e. ...
0
votes
1answer
26 views

Problems when Joining table to polygon

In ArcGIS 10, I have several maps describing both habitat characteristics and climate. I also have a raster map of presence/absence for a species that I wish to examine using my other maps. All my ...
0
votes
1answer
36 views

missing buffer values when using zonal statistics in ArcGis

I am using zonal statistics in ArcGis 10.2.2 to calculate the mean value of fire frequency within 1km buffers. However, I have noticed that this is not being calculated for all of my sites? There are ...
0
votes
1answer
24 views

Passing a number between feature classes in ModelBuilder

I am looking at two non-overlapping polygon feature classes (let's call them Counties and Somewhereland; the latter feature class has only one record). I need to sum a certain field (let's call it ...
2
votes
2answers
37 views

Zonal sum not working?

I have a raster file for India which is a cropland map with following information: Columns and rows: 7015, 6582 Cell size: 0.0041666667, 0.0041666667 Each grid of this cropland has a value of ...
1
vote
0answers
28 views

Zonal Statistic Tool

In ArcGIS, I have a grid 5x5km (I have it both in vector and raster formats) I want to calculate, based on this grid, the zonal statistic (MEAN) of a raster 30x30m pixel size. The raster overlaps ...
1
vote
0answers
25 views

Selecting cells with values from DEM those are above specific value corresponding to each polygon?

i have a shapefile with 2000 polygons and a DEM. i want to calculate zonal mean for each polygon considering values from DEM which are above a particular value for each polygon. i want to it with ...
2
votes
1answer
81 views

Calculating total area overlapping specific raster DEM color interval whose boundaries are confined by another vector?

I know this sounds quite difficult, but maybe it isn't for you or at least it shouldn't if I explain it correctly. (I'm using QGIS 2.14) I'd like to know to calculate total area overlapping a ...
1
vote
1answer
114 views

Writing result of PyQGIS to shapefile

I try to perform some zonal statistics on a shape- and rasterfile and write the output to a completely new shapefile! import sys # where is the module sys.path.append("/Applications/QGIS.app/Contents/...
1
vote
1answer
48 views

Extract results from zonal statistics [closed]

I am trying to calculate mean slope in given polygons. I first interpolate my (x,y,z) data to create a raster file and use the terrain analysis tool to calculate slope. Then I use the zonal ...
1
vote
0answers
21 views

Zonal statistics query

I have two rasters (Hyrdological Soil Group (HSG) and Land Cover) and i'm trying to find the average HSG for each land cover type. The HSG raster contains the values 2,3 and 4 and there are 23 ...
1
vote
0answers
19 views

Median and Mode estimations in the QGIS Modeler?

I would like to know if there is anyway in which I can combine the available tools in QGIS in the Modeler to estimate median and mode values from a raster (DEM) using polygons. I know the zonal ...
0
votes
0answers
27 views

Need to compute fragmentation indices within discrete zones

Running arcGIS 10.3 (also have the latest QGIS), win7 64, workstation 16g ram and an intel xeon processor. I'm preferably looking for a simple turnkey solution; very little python experience. Non-...
0
votes
1answer
75 views

What is (if there's any) difference between MAUP and Edge Effect

I heard both the term MAUP and Edge Correction in association with Spatial Statistics, zoning/quadrats, demographics etc. Is there a difference between the two? What is the difference then?
1
vote
0answers
50 views

Calculating the spatial variance of well density? [closed]

I have wells as a point shapefile and have calculated the spatial density of these wells in 400+ basins (polygons) by dividing the number of wells in each basin (found by doing a spatial join) by the ...
1
vote
2answers
36 views

Converting data in table created by Zonal Statistics as Table tool back into raster file?

In arcGIS 10 I have worked on a number of raster files, from which I have created one large table by using the Zonal statistics as Table Tool. I have a result as shown below (I have more than 70,000 ...
1
vote
0answers
36 views

Resampling netcdf file?

What is the best way to change the cell size of a netcdf file, keeping it as netcdf? I have looked into ArcGIS and GDAL and have not found anything yet. I prefer to use python if a solution is ...
2
votes
1answer
53 views

What is the most efficient way to get a table or attribute table of a float raster?

I'm starting with a stretch point raster. Ultimately I want to get a mean value of values with larger zones and then rate the zonal mean stretching from 0-1 and output rank/zone to a table or layer ...
2
votes
1answer
47 views

Using zonal_stats with python in QGIS to calculate statistics for each image

I work with Python in QGIS, I want to calculate statistics for each image that I have with a specify shapefile and save result after, I tried to do like this: from rasterstats import zonal_stats ...
1
vote
1answer
60 views

How does ArcGIS calculate zonal statistics with partially overlapping zones?

I am trying to get zonal statistics in ArcGIS. My zone raster is a world map with zones defined as "provinces (such as the US states)," and the value inputs are temperature data for each "longitude*...
0
votes
2answers
38 views

ArcGIS tells me 'raster' isn't defined

I am trying to get zonal statistics for a set of geographical units for several years and I would like to get the output in one dbf table, where the rows mark the geographical units and each column is ...
1
vote
1answer
46 views

How to change the default field Input Value Raster for Zonal Statistics as Table?

I have a raster in ArcGIS 10 with the following attribute table: When I try to use the tool Zonal Statistics as Table over some polygons, it calculates the statistics of the fields 'Value' and '...
0
votes
1answer
20 views

Calculate zonal statistics with two different types of zones (provinces and longitude*latitude grid boxes) in ArcGIS?

I am trying to get zonal statistics in ArcGIS with two different datasets. One is a world map with zones defined as "provinces (such as the US states)" and the other is a temperature dataset with ...
1
vote
1answer
45 views

Zonal Statistics with very large mosaic in ArcGIS

I have the complete National Elevation Dataset from USGS in over 3000 ArcGrid files (coming to almost 190 GB), and a polygon shapefile of Colorado counties. I'm trying to use ArcMap Zonal Statistics ...
3
votes
1answer
64 views

Zonal Statistics for millions of polygons

I have a shapfile with 31 million polygons and I want to extract statistics from a raster for each polygon. Whenever I use zonal statistics I get ERROR 999998: Unexpected Error. Failed to execute (...
0
votes
1answer
60 views

Full list of objects not showing up after using Zonal Statistics as Table tool?

I am using the Zonal Statistics as Table tool in ArcMap 10.1 to compute the sum of raster cell values (brown scale in below image) in a given set of polygons (red in below image). For an unknown ...
7
votes
1answer
89 views

Compute zonal statistics for portion of polygons

I am working with a shape file containing the district polygons of the political map of India and a raster file containing the elevation data of the same country. My goal is to compute the average and ...
2
votes
0answers
95 views

Zonal Statistics tool not working with 2.14

I wanted to try the QGIS zonal statistic tool but it doesn't work.The system says: "not a sequence See log for more details". The SAGA Zonal Statistic tool works fine. It also doesn't work with the ...
1
vote
0answers
31 views

Zonal sum gives incorrect results [closed]

I have two raster files: Raster 1 has 7974 grids (coarser resolution) with Rowid, Value and Count. Raster 2 is finer resolution and each grid has values either 1 or 0. What I want to do is to find ...
0
votes
2answers
94 views

ArcGIS Multiband Raster [duplicate]

I know this has been asked and answered here but since I don't have enough rep to ask a clarifying question to the person who answered it I am having to post a completely different question. I am ...
0
votes
1answer
114 views

Counting raster values using another raster as mask in R?

I would like to count the frequency of values in one raster, using another raster (different resolution) as the zonal condition. The premise is that the coarser resolution raster represents the area ...
3
votes
0answers
29 views

zonal statistics / join with two vector layers [duplicate]

I have a shapefile containing three polygons of river basins with different values. I want to know the average values per country. The country thus contains three river basins. When I use join in ...
3
votes
0answers
44 views

How to calculate average value of a raster, that is clipped by multiple polygons?

I am using QGIS 2.12.0. I have a raster of coherence value (SAR interferometry) and a land use shape. I wish to calculate mean coherence value for those areas with a specific land use. I split land ...
1
vote
1answer
74 views

QGIS Zonal Stats Plugin - Python Console - compute one specific statistic

I think this is more of a syntax problem that I have here. But I am absolutely not able to figure it out. On a different Linux machine I got the following working: zoneStat = QgsZonalStatistics (...
1
vote
1answer
54 views

Can I make my zonal analysis faster?

I created this python script which performs zonal analysis for the 100m, 200m, 300m, and 400m surrounding a list of points. It works but I have two main problems: A) The raster I am processing has ...
0
votes
0answers
32 views

Batch zonal statistics from overlapping buffers in ArcGIS for Desktop?

I am trying to come up with an isolation index for islands in a lake. I started by generating a binary water/land raster of the study area. I would like to know the proportion of land to water ...
2
votes
0answers
78 views

Geopandas and Zonal Statistic error

I'm trying to use Geopandas and zonal statistic from rasterstats together. I run this code import geopandas as gpd from rasterstats import zonal_stats geodf = gpd.read_file("SHP/shape.shp") ...
2
votes
1answer
128 views

How to compute zonal statistics fast?

I have 12000 circles with a radius of 50 miles on a raster with 0.05 degree resolution. Global analysis. The raster is 32 bit float and I have to calculate zonal statistics for 20 different rasters. ...