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