[gdal-dev] [Doc] gdal_calc.py extent option

Nicolas Godet nicolas.godet at outlook.fr
Mon Oct 17 01:05:09 PDT 2022


Dear Devs,

In documentation<https://gdal.org/programs/gdal_calc.html#cmdoption-extent>, extent param description seems a bit odd to me.


union - the extent (bounds) of the output will be the minimal rectangle that contains all the input extents.

intersect - the extent (bounds) of the output will be the maximal rectangle that is contained in all the input extents.

Shouldn't it be the other way around?

As I intend to add this option to QGIS gdal_calc window (very useful option), I must be sure.

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221017/c3dfee2c/attachment.htm>


More information about the gdal-dev mailing list