Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 188327

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
0 answers
50 views

Getting negative values after a zonal_stats in Python

I have a shapefile with overlapping polygons and raster data about suitability, both of them have the same CRS. I would like to summarize some statistics on my polygons, using the "all touched" raster …
OgeiD's user avatar
  • 618
1 vote
1 answer
224 views

Warning using zonal_stats: RuntimeWarning: overflow encountered in reduce return

I have a grid of cells (100km x 100km) around the African continent (shapefile) . I am doing a zonal_stats with the population of each cell. It is a raster data (geotiff) with resolution 1kmx1km. This …
OgeiD's user avatar
  • 618
0 votes
0 answers
77 views

When to use an equal area projection using zonal statistics

I have a shapefile called "Africa" with cells around all the African continent. I also have a raster file of population around the world, called "population". I would like to do a zonal stats with my …
OgeiD's user avatar
  • 618
0 votes
1 answer
308 views

Memory error: unable to allocate using zonal statistics

I am doing a zonal statistics between a shapefile of cells around the African continent and a raster of population around the world. Both of them are in an equal area projection: World Cylindrical Equ …
OgeiD's user avatar
  • 618
1 vote
1 answer
145 views

Performing a zonal statistics looping over rasters and over polygons

I have a shapefile with overlapping polygons and a set of rasters. I would like to summarize some statistics on my polygons. However, as my polygons are overlapping, to avoid issues with zonal_stats, …
OgeiD's user avatar
  • 618