[gdal-dev] zonal statistics with gdal

jdmorgan jdmorgan at unca.edu
Sat Jun 23 12:19:57 PDT 2012


Anssim, Petteri and others,

Thanks for you great feedback on this topic.

Cheers,
Derek

On 6/20/2012 5:26 AM, anssi wrote:
> If you first rasterize your shapefile to the extent of your raster,
> you can compute some basic stats and/or full histogram for your
> polygons using Open Foris Geospatial Toolkit :
>
> http://km.fao.org/OFwiki/index.php/Open_Foris_Toolkit
>
> Installation instructions are under the "How to get it?" link.
>
> Hope you're a Linux user :)
>
> Best,
>
> Anssi
>
>
>
> On Wed, Jun 20, 2012 at 6:59 AM, Petteri Packalen
> <packalen at cs.joensuu.fi> wrote:
>> Derek,
>>
>> Look at the http://starspan.projects.atlas.ca.gov project.
>>
>> Petteri
>>
>>
>> On Tue, 19 Jun 2012, jdmorgan wrote:
>>
>>> Hello,
>>>
>>> Is there a way to do something along the lines of zonal statistics with
>>> gdal.Basically, I have a county shape file and a classified raster dataset.I
>>> would like to count the number of raster pixels/county (FIPS).Is this
>>> possible with GDAL/OGR?If so can someone point me in the right direction?
>>>   If so, awesome as I plan to do some automation with python.
>>>
>>> Thanks,
>>>
>>> Derek
>>>
>>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list