I have a shp file with some rectangles and I want to extract statistics within these areas from a raster image. I prefer ArcMap 9.3.
|
Your task could be done easily by using Zonal Statistics tool of Spatial Analyst extension. |
|||||||
|
|
If you need more complex statistics or a free alternative (compared to spatial analyst), you can use raster package in R. From which you can extract pretty much any statistic you can imagine. |
|||
|
|
|
You can also use GRASS for zonal statistics. From doc page: r.statistics is a tool to analyse exploratory statistics of a "cover layer" according to how it intersects with objects in a "base layer". A variety of standard statistical measures are possible (called "zonal statistics" in some GIS). The available methods are the following:
|
|||
|
|
|
As a free alternative, SAGA GIS contains a module that may do what you want (Grid Statistics for Polygons). http://www.saga-gis.org/saga_modules_doc/shapes_grid/index.html |
|||||
|
