Indeed, this is right.
My bad..
________________________________
De : Andrew C Aitchison <and...@aitchison.me.uk>
Envoyé : lundi 17 octobre 2022 10:25
À : Nicolas Godet <nicolas.go...@outlook.fr>
Cc : gdal-dev@lists.osgeo.org <gdal-dev@lists.osgeo.org>
Objet : Re: [gdal-dev] [Doc] gdal_calc.py extent option

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
                    and...@aitchison.me.uk
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to