Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [zonal-statistics]

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

0
votes
0answers
12 views

XML to TIFF raster and zonal statistics in QGIS

I was sent several XML files of a flood model's peak extent that works fine in ArcGIS, I need to use zonal statistics, and I don't have that available in my workplace's ArcGIS subscription, so I need ...
1
vote
2answers
42 views

Determining NDVI of polygon using ArcGIS Desktop?

I have calculated the NDVI of a city. Now I want to know how "green" every street segment in that city is. I therefore buffered 7.5m on every street segment. I then used the Zonal Statistics as a ...
0
votes
0answers
14 views

Weighted averages: accounting for cell size

I'm a non-geographer using ArcMap 10.6. I have a similar question to the two asked here: Weighted averages: accounting for grid cell surface variation in proportion to the cosine of its latitude I ...
0
votes
0answers
28 views

Build measure of state change

I want to be able to build a measure in ArcGIS (ArcMap). (1) I have some shapefiles of sovereign states by centuries. These are polygons with the name of the state as ID. (2) Moreover, I have a ...
2
votes
1answer
24 views

Counting .tif value in polygon in QGIS

I am trying to count raster values (from a .tif file) in polygons. In previous posts that people suggested using the 'zonal statistics' plugin in QGIS. However, I couldn't find it in my plugin manager ...
0
votes
1answer
34 views

Different area values from Zonal Geometry and Tabulate area

I am working on Landcover map for Ghana. I calculated the area of each landcover type with Zonal Geometry in ArcMap. Then I wanted to know the area of landcover in each region (as in location). But ...
0
votes
0answers
25 views

Getting gridded population to resolution of land cover?

I have a population data at census tracts level and an impervious land cover. Impervious land cover is of 30 m resolution and census tracts data stored as a vector. Is there any way that I can ...
0
votes
1answer
21 views

Every geoprocess with merged raster produces 999999 (ArcMap 10.6)

I have a county where there is some LiDAR (1 meter) coverage. For the rest of the county I downloaded 10 meter DEM from USGS. Both rasters are in same projection and units. I resampled the 10 meter to ...
1
vote
0answers
47 views

R process: Zonal Stat Raster has No Data Values vs Arc output

I am trying to re-create my ArcGIS Zonal Stat model with R All my files will be 30m pixels; 18000 x 18000. I have used R two different ways to create the output and both create NoData values in the ...
0
votes
1answer
23 views

Performing overlapping zonal statistics in ArcGIS?

I have buffer lines overlapping and within these lines I want to know the type of land use. However, overlapping is not allowed with Zonal statistics. How do I do this in ArcGIS because I want all ...
1
vote
1answer
40 views

Zonal statistics error - Algorithm Zonal Statistics starting… DatasetReadAsArray() got an unexpected keyword argument 'interleave'

After updating QGIS to 2.18.28 I cannot use Zonal Statistics. As soon as I use it (Raster EPSG 25830 and Polygon 25830), I get the following error message "Algorithm Zonal Statistics starting... ...
1
vote
0answers
41 views

How to extract land cover type data (%) from raster file using Zonal Stats from overlaid polygon grid, QGIS

I have a very large raster file of land use types for a landscape. I am trying to run an occupancy model of large carnivores and need to test the weight as a covariate, of human settlements. Human ...
0
votes
1answer
74 views

Accessing Zonal Statistics for QGIS on Mac?

I've just updated to QGIS 3.4 for my MacOS (10.12). I'm trying to run some occupancy analyses and am looking to extract attribute data for a polygon grid from an underlaying raster file. ZonalStats ...
0
votes
1answer
61 views

Using Zonal Statistics to determine percent forest cover in grid cells?

The basis of what I am trying to do is determine what percent of forest cover is within a set of 1x1 km grid cells in arcmap. I originally attempted to do this using fishnet, tabulate area tool, and a ...
4
votes
2answers
119 views

Clustering 30m pixels into 120m pixels, fishnet using QGIS?

I have a raster file representing tree cover loss made of 30m*30m pixels taking the value 0 or 1. 0 means no loss and 1 means tree cover loss. I want to cluster these pixels into bigger pixels of the ...
0
votes
2answers
72 views

Top percentile in zonal statistics - ArcGIS

This is quite a simple question and I'm sure it's possible as I've seen it referenced in research articles (e.g. here, p.38). I have a raster with continuous values (0-1), and a vector dataset of a ...
1
vote
1answer
18 views

Calculate mean of raster excluding values in ArcMap?

I want to calculate the mean value of a specific region a raster data layer (being a GeoTIFF file), using the Zonal Statistics as Table tool in ArcMap. However, some of the values are faulty and ...
1
vote
1answer
43 views

Clipping multi-band Sentinel-2 composites in ArcMap?

I am using Sentinel-2 images and I want to clip the image with a shapefile I made. (The shapefile was smoothed with Smooth polygon with a 10m PAEK tolerance). I have tried the Raster clip tool and ...
1
vote
0answers
51 views

Model Builder iteration process problem: could not create the output tables invalid extension

I encountered problems with my Model Builder in Arcmap 10.4: I want to perform some statistics on my rasters using the same polygon (buffer). I use the Raster Iteretor and I did check if the extent ...
0
votes
1answer
24 views

Looping a function over a sequence of parameters with iterate()

I built a function landcov(area, date) to calculate the share of land types 0 to 3 in year "date" from MODIS12Q1 within the polygons of the "area" parameter. I want to use iterate() in a loop-like ...
2
votes
1answer
41 views

Zonal statistics on raster layers that intersect line

I have a line feature class of routes and a raster file with 12 unique values. I want to know how much cells of each value in the raster has that intersect with lines. I've tried zonal statistics (...
1
vote
0answers
24 views

Zonal Statistics as Table: Generic 99999 Error on Some Features [closed]

I'm running Zonal Statistics as Table on three separate feature classes. These feature classes represent travel walk bands from various locations. These travel bands are my zone data, I have a regular ...
1
vote
1answer
38 views

Reducing tree cover area from Hansen in GEE yields me areas larger than the feature itself

I am trying to calculate the tree cover in Maine (by county) using the reduceRegions() tool. I based my code on this thread. I am interested in areas in square km. The output of my code yields, though,...
2
votes
1answer
149 views

Zonal Statistics of Unique Patches (Clusters)

How do you calculate the number of occurrences of a category that occur in each cluster using Google Earth Engine? My goal is to figure out the percentage (or # of pixels) of each landcover type that ...
2
votes
1answer
439 views

Calculating NDVI per region, month & year with Google Earth Engine?

I want to calculate the mean NDVI per region (admin level 3, also called woreda), month and year. So my end result would look something like this: regions year month NDVI ------------------...
1
vote
0answers
47 views

Can't select vector layer QGIS Zonal Statistics

I'm running QGIS 3.4.0 on Ubuntu 18.04.1. I have a raster layer and a vector layer from a .shp file in the same CRS. When The window pops up for zonal statistics, I can select my raster layer but ...
3
votes
0answers
63 views

Memory errors when doing Zonal Statistics on a multi polygon shapefile in Python

I want to calculate the mean NDVI with the EthNdvi.tif file for each zone (there are around 650 admin zones) in the the woreda shapefile. I'm having some issues with running the following lines of ...
1
vote
1answer
540 views

Using ZonalStats in QGIS 3.0.2

I'm using the above mentioned QGIS version, and it somehow does not include ZonalStats plugin. I installed ZonalStats 0.0.4, but plugins now says this is designed for QGIS 1.7.2-1.99 and does not work ...
1
vote
2answers
249 views

Getting a masked raster with no NAs and sum pixels within overlaying polygon?

I have done an IDW interpolation in R for precipitation data following the routine of Manny Gimond (https://mgimond.github.io/Spatial/interpolation-in-r.html) to get precipitation inside a catchment. ...
2
votes
1answer
119 views

Statistics of NDVI mean by shapefile using GEE [closed]

I am new researcher using GEE and want to use a shapefile (e.g.,Provincial boundaries) to achieve NDVI mean of each province using GEE, how should we do it? code: // Create a mosaic of Landsat 5 ...
1
vote
0answers
33 views

PyQGIS: Zonal statistics not being written due to too many digits

I am using Python in QGIS to calculate zonal (sum) statistics for an array of raster layers using the following code: polygonLayer = QgsVectorLayer('E:/folder/' + 'gadm0.shp','','ogr') ...
1
vote
0answers
39 views

Obtaining Non-Summary Zonal Statistics from Raster Data

I am using ArcMap 10.5.1. The data I am looking for are zonal statistics from a raster using polygon-defined zones. I can use the Zonal tools to calculate summary statistics, but I am looking for the ...
0
votes
1answer
62 views

Add a common property to all sub-features of a feature collection in Earth Engine

I am new to earth engine and am struggling with a very simple task. I want to calculate the average NDVI for the counties of Maine for the month of January 2018. I manage to do so but, before ...
3
votes
1answer
173 views

Standard deviation for percentiles interval in Google Earth Engine

I'm working on a GEE script aiming to extract DEM-based elevation statistics for regions defined by polygons. Specifically, I want to obtain the mean, median, standard deviation, and min/max values of ...
0
votes
1answer
71 views

Combining zonal statistics of multiple rasters into a single table ArcGIS Pro

I have a collection of 22 raster images from which I need to find the min, max, and mean, and put the results from each image into a single combined table. This question is very similar to what I am ...
1
vote
2answers
330 views

Calculating statistics per area for categorical raster using R?

I am working with the area of New York City (NYC) in ArcGIS 10.1. I have a landcover raster map with several different land cover categories. What I am trying to do is to build up a table in which, ...
3
votes
2answers
177 views

“Zonal” Statistics Using Line Features

I would like to find the minimum, maximum and (weighted?) average value of the raster cells intersected by a line (vector) layer. This is similar to what common "Zonal Statistics" tools do, but they ...
2
votes
2answers
145 views

Calculate average value from netcdf

I have precipitation data from NOAA in a NetCDF format. I imported that into ArcGIS as a raster layer. Now I see that I can only get the precipitation value for one year at a time. I need to ...
3
votes
0answers
79 views

Perform zonal statics with the Rcaller in FME-desktop

I am trying to use the Rcaller in FME to perform zonal statistics. input: shapefile and a Geotiff I read that the Rcaller reads the input data as a dataframe when it is imported into the Rcaller (R)...
3
votes
2answers
405 views

Plotting and analyzing extracted elevation data in R?

I have a shapefile of county boundaries for New York state and elevation data downloaded through the elevatr package. library(elevatr) library(raster) library(sf) library(USAboundaries) counties <...
1
vote
2answers
46 views

Calculating Zonal Statistics outside of polygon using ArcGIS Desktop?

Is there a way to calculate zonal statistics outside of polygon? I want to extract the mean values outside of the polygon. In this case, instead of calculating for the land, I want to use the ocean. ...
1
vote
0answers
96 views

Zonal statistics multiple band raster [closed]

I have a raster which is a yearly time series, it is created with 30 raster. It is saved then as a raster with multiple bands. I am trying to calculate the zonal statistics of all the bands at once. ...
0
votes
0answers
62 views

Zonal Statistics As Table with Very Small Polygon

I was given one single band NDVI raster and a shapefile with multiple very small polygons. The raster has a resolution of 3m. On the other hand, the small polygons on the shapefile are square shaped ...
3
votes
2answers
225 views

QGIS Zonal Statistics returns empty?

Does anyone familiar with the QGIS Zonal Statistics tool know why stats calculations might return empty? Inputs DEM for South Carolina: http://dnr.sc.gov/GIS/descdem.html A vector shapefile: https://...
3
votes
1answer
168 views

Zonal stats for complete pixels qgis

I am trying to extract zonal statistics from raster imagery using polygons in QGIS 3.2.1, but I only want to use values from those pixels that are completely included in the polygons, ¿how to do this? ...
0
votes
0answers
187 views

Getting statistics for all features in shape in Google Earth Engine?

I try to get zonal statistics fro several polygons that I have in a shapefile. I am using this code mostly from Earth Engine Examples: var table = ee.FeatureCollection("users/digdgeografo/areas"),...
0
votes
0answers
42 views

Putting raster values in polygons ArcGIS

I'm trying to extract values from a raster file dataset (called land_use) to polygons (in a file called Hydro_buff) that I have created. I read a few questions on that topic but some other issues come ...
0
votes
0answers
37 views

Calculating area of pixles for certain Aspect value per specific area?

I am using ArcGIS 10.6. I have the aspect (raster file) for the roof of buildings at the city scale. Now I want to calculate the area of each aspect group per building. I tied zonal statistics, zonal ...
0
votes
0answers
35 views

Zonal statistics tool excluding some features in ArcMap? [duplicate]

In Arcmap 10.6, while using Zonal Statistics as Table tool, some of my feature zone data is being excluded from my output table. Here is the scenario. I'm using a polygon layer of buildings, with a ...
1
vote
1answer
180 views

Getting data on area where shapefile overlaps raster file using QGIS?

I have attached an image to help explain what I am asking. I want to get the average value of where the heat map crosses over each municipality in the shapefile and export those values into a ...