On Thursday 20 August 2015 18:18:28 aperi2007 wrote:
> Hi Even, thx for hint.
>
> Is this possible using the python API ?
Sure
ds.GetRasterBand(1).GetHistogram(approx_ok = 1)
Other keywords possible: min, max, buckets to define respectively the minimum
value of the histogram, the maximum, and
Hi Even, thx for hint.
Is this possible using the python API ?
Thx ,
A.
Il 20/08/2015 17:15, Even Rouault ha scritto:
Not directly. At the API level, it is possible to require for approximate
histogram (and this will select a overview level that is close to 1 / 50 th of
the original raster s
On Thursday 20 August 2015 16:47:16 Andrea Peri wrote:
> Hi,
>
> I need to retrieve the histogram of a set of rasters.
> To do this I use the
> gdalinfo for every raster using the parameter "-hist".
>
> But this process take a long time because the rasters are huge and
> have 11 bands each of the
Hi,
I need to retrieve the histogram of a set of rasters.
To do this I use the
gdalinfo for every raster using the parameter "-hist".
But this process take a long time because the rasters are huge and
have 11 bands each of them.
For my need the histogram informations should be sufficient at a
mi