[gdal-dev] gdal_calc.py: produce median raster

Simen Langseth simlangen at gmail.com
Mon Nov 24 02:14:06 PST 2014


I have one GeoTiff file with 3 bands. I want to produce a raster file
computing pixel wise median value for the three raster bands. How can I do
that?

I tried as follows:

gdal_calc.py -A infile --allBands --outfile outfile --calc median(A)

But could not get any out file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141124/0bb087d5/attachment.html>


More information about the gdal-dev mailing list