[gdal-dev] calculate raster values within a vector

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Aug 25 04:46:02 EDT 2009


You can use the GDAL Python bindings for this. Refer to
You can also use any other language you like shown at

On Thu, Aug 20, 2009 at 5:44 PM, questions anon <questions.anon at gmail.com>wrote:

> Can anyone get me started on a script that can -
>  -Open a shapefile
>  -Open many rasters
>  -Calculate the mean and standard deviation of those rasters within the
> shapefile region, but is able to ignore areas of zeros or NoData
>  -Output the mean and standard deviation to a table
>  Otherwise any tutorials or books that I could follow to work this out
> would be greatly appreciated! Thanks!
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

Best regards,
Chaitanya kumar CH.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090825/2acf13ff/attachment.html

More information about the gdal-dev mailing list