[gdal-dev] [Doc] gdal_calc.py extent option
Andrew C Aitchison
andrew at aitchison.me.uk
Mon Oct 17 01:25:23 PDT 2022
On Mon, 17 Oct 2022, Nicolas Godet wrote:
> 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?
I think this *is* the right way round;
"all" can be misunderstood but I can not think of a clearer phrasing,
although "every one of" might help.
> As I intend to add this option to QGIS gdal_calc window (very useful
> option), I must be sure.
--
Andrew C. Aitchison Kendal, UK
andrew at aitchison.me.uk
More information about the gdal-dev
mailing list